
kaisersoze
Avatar/Signature-
Posts
153 -
Joined
-
Last visited
Content Type
Profiles
Forums
Blogs
Events
Articles
Resources
Downloads
Gallery
Everything posted by kaisersoze
-
Hi all, I have a dropdown in one column of a datagrid. The dropdown is filled from database table. While adding the grid i have no problem, but when i click on edit to change and update, the value in the dropdown is defaulted to the first item in the dropdown. Is there a way i can select the previously selected item, and make the user to change if he wants to.
-
Hello I need to access (on client side using javascript) the value property of a asp:textbox, whose visible=false. I was able to access the textbox if visible=true, but when i change it to false then i get undefined. When i right click and see the code also i dont see the textbox. can some one help. even alternate approach of achieving this is appreciated.
-
I have a list of picture boxes. when user clicks on then then i need to get the physical path of the picture. How to do this?
-
My requirement is how can we create a single setup which will check dotnet framework and install if not installed on the client machine and then install my application in one stretch. steps: 1. It should check for dot net framework 2. if no dotnet then install 3. if dotnet found in client machine check version 4. install me application. please advice
-
how to check that. I am checking by the below line, let me know other wise.. If (Request.Browser.Cookies == false) { Response.Write("The browser does not support cookies. ...") Response.End() }
-
Derek Stone Derek Stone, 1. session works fine between pages and usercontrols 2. query string works fine between pages and usercontrols 3. with properties "NO" it is not working If you have a usercontrol in page1.aspx and you have to pass values from usercontrol (uc1.ascx) of page1.aspx to another usercontrol (uc2.ascx) in a second page (page2.aspx) then it fails.
-
My development machine hostname is "Devel11" I was developing an asp.net application and during development when i run the application it opens like "http://localhost/Appname/default.aspx" once user selectes few things and navigates to othe pages i write a cookie. Everything works fine it i use localhost. but once i try with http://Devel11/... then it is not writing the cookie and my application in not working as it should work. can any one tell me whats happening, cause it perfectly working when i use localhost and not working if i use hostname.... please...
-
Passing values from ASPX to ASPX, if the textboxes are placed in the aspx then passing to another aspx was easy (using properties, and using server.transfer). But, if I have a usercontrol and this user control has textboxes. in the codebehind i have properties to access these textbox.text. This user control is placed in one.aspx. How to pass values to two.aspx or another usercontrol in two.aspx.
-
I have a webservices and a function in the service. The function takes an input queue process the queue and return a string. i get an error when trying to consuming the web services. Note: when the same function accepts a string then no error is reported but when i change it to a queue or arraylist i get error. when queue: i get error when creating proxy itself when arraylist: i get error when consuming. error is arraylist cannot convert into object.
-
Is using auto increment number in a column a good practice? One of the table that i am working has no unique column. so, i crreated a column with datatype bigint and it has unique values. Approach was to have an auto increment number or in the stored procedure increment on to the max number and insert. Out of the 2 which one is good practice. Since the table is subjected to pyhsical deletes it is not adviced to have an auto increment number (based on my research). Justification for my research: scine it is an outo increment number and due to constant deletes there will be holes in the sequence of numbers. stop the server and strat the server (sql server) and try to insert few recordds. on version 7 i used to get errors. it did not happen on 2000 yet but i fear to use cause after development if an error occurs on production server it would take time to change. So, i want to find out how others are doing? Is using auto increment number in a column a good practice or in the SP increment and insert is good?
-
SQL Server 2000. Is using auto increment number in a column a good practice. The table which contains auto increment number would be subjected to severe stress of deletes, updates and inserts during production phase.
-
Hi I developed a web application. The application consists of web services and an application consuming the services both developed in asp.net environment. Well tested on the testing stage. Now I need to deploy the application in production server. In my case client the web services and web application both are going to be deployed in same server. problem: After installing the application on the production server, how can I point the application to go to the web services to consume the services?
-
Well my mistake. The client was not talking (not connecting) to the web service server. The error was not friendly to identify the problem. It took time but later after resolving the connection porblem then it worked. The problem for connection in my case was the web server was in DMZ zone and server which is hostig web services was inside firewall. Thanks for you replies. consider this as close and let me know if anyone need any further details about the query.
-
developing windows base app in vb.net I have a sub main in a module and sub main is activated first to do some initial settings, then it should load frmMainMenu. No run time errors but, during running the app. the form is loaded only for few seconds and the app. closes by itself. Here is the code: vdbAccess = New dbAccess If vdbAccess.TestDatabaseConnection(gblConStr) = False Then MsgBox("error in database connection") End End If Dim objMainMenu As New MainMenu objMainMenu.Show() objMainMenu.Activate() ----------------------------
-
Hi, I have a MDI Parent form. MDI Parent form contains menus and statusbar with 2 panels (p1, p2). When clicked on a menu i am loading a child inside MDI parent. while doing any database process on any child forms, I need to show a text "Processing..." in the status bar panel of mdiparent form. Can any one tell me how to access the statusbarpanel which is in the parent from child form?
-
how to deploy a asp.net application referencing a web service
kaisersoze replied to kaisersoze's topic in Deployment
[WebException: The request failed with HTTP status 404: Not Found.] System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) +1295 System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) +218 UCCSv2r1.wsContractors.Contractors.GetAllContractors() UCCSv2r1.Contractors.FillContractors() UCCSv2r1.Contractors.Page_Load(Object sender, EventArgs e) System.Web.UI.Control.OnLoad(EventArgs e) +67 System.Web.UI.Control.LoadRecursive() +35 System.Web.UI.Control.LoadRecursive() +98 System.Web.UI.Control.LoadRecursive() +98 System.Web.UI.Control.LoadRecursive() +98 System.Web.UI.Page.ProcessRequestMain() +731 -
hi, I developed a web services, and in a client (asp.net application) added the web reference and the application is working great on my development machine. I packaged my webservices and client application separately, deployed it on testing server. Web services are working great (when i call them directly) but, when the client application makes a call to the web service I get an error. I tought the call is going to my local machine. So, what I did is, I added web reference pointing to the service, complied and works fine (my local machine is connecting to testing server's web service). I rebuilt the application and deployed to the server. I still get an error. How to deploy an application which is refering to a service developed internally, and move the site to production with minimum changes.
-
hi, I developed a web services, and in a client (asp.net application) added the web reference and the application is working great on my development machine. I packaged my webservices and client application separately, deployed it on testing server. Web services are working great (when i call them directly) but, when the client application makes a call to the web service I get an error. I tought the call is going to my local machine. So, what I did is, I added web reference pointing to the service, complied and works fine (my local machine is connecting to testing server's web service). I rebuilt the application and deployed to the server. I still get an error. How to deploy an application which is refering to a service developed internally, and move the site to production with minimum changes.
-
for example: my user control is uc1 and text box id, inside uc1 is txt1. I am writing a javascript function in side uc1 control. uc1 is placed inside page1.aspx. function getMessage () { var v1 = document.getElementById("uc1_txt1").value; alert(v1); } is this correct if yes it still gives me error.
-
No. it is in a user control and the usercontrol is called in a .aspx page.
-
hi, I have a asp:textbox object in the page. I am loading a value into the textbox from server-side. When user clicks on a link, javascript should pick the value from the text box and should show an alert depending on the if stmt. I know i should do something lke this: var v = document.getElementById("txtPath").value; I get error of i do like that (object cannot be null something of that sort) I right clicked and said view source code, I see _ctl1_ is added to txtpath. If i use "_ctl1_txtPath" then it works. why is it happening like this.
-
I was not able to resolve your answer, but I can provide you with one. In order to make subfolders inside a mainsite act as its own application. 1. Open IIS, 2. expand the tree till you see your folder, 3. right click on the folder (in my case module1), and go to properties. 4. under application settings, click on create button 5. Under Execute permissions, select scripts and executables. 6. click on apply and ok button. For sure this will work, cause it is working for me. But, it has a catch. It is working internally but, when i try externally it gives me error. Error is in web config file regarding "customErrors mode=...." no matter what i say i still get the same error. But it is working excellently when accessed using internal ip address. Let me know if you have and answer.
-
I Have a main site, mainsite has its own webconfig file. After some time we developed 2 more modules (separeate web applications, so each has its own webconfig files) and each module runs fine as individually. Now, we are trying to create folders inside the mainsite namely module1, module2 and dump all the files respectively. so, module1 has its own webconfig file and module2 has its own config file. Q. I am getting an error when I try to hit http://server/mainsite/module1/. Can anyone tell how to do this.
-
yes, i am using window.open, but what is the url. i mean, i am writting this code in the parent, and i should open frame in new window.