| | |
Error Running Web Application
Please support our ASP.NET advertiser: Intel Parallel Studio Home
![]() |
I've installed VS2005 in WinXp SP2.
When i'm trying to run asp.net web application in my local machine i'm getting the following error:-
"Unable to connect to visual studio's localhost web server."
same type of thing is happening when i'm trying to open a windows form application. this time the error is :-
"The application is failed to initialize properly. Click on OK to terminate the application."
What is the cause and remedies for the above error?
When i'm trying to run asp.net web application in my local machine i'm getting the following error:-
"Unable to connect to visual studio's localhost web server."
same type of thing is happening when i'm trying to open a windows form application. this time the error is :-
"The application is failed to initialize properly. Click on OK to terminate the application."
What is the cause and remedies for the above error?
Shouvik_The_Expert_Coder
Have a problem? Don't worry just give me a call and I'll fix it for you.
Have a problem? Don't worry just give me a call and I'll fix it for you.
Do you have XP Pro? - Home doesnt have IIS so theres some fiddling required. Also you must be logged in as an administrator and be a member of the Debuggers group and have opened the necessary ports in your firewall
Last edited by jbennet; Dec 23rd, 2007 at 9:58 am.
If i am helpful, please give me reputation points.
•
•
•
•
Do you have XP Pro? - Home doesnt have IIS so theres some fiddling required. Also you must be logged in as an administrator and be a member of the Debuggers group and have opened the necessary ports in your firewall
@choudhuryshouvi: since this happens for web apps and winforms apps, it almost sounds like your .NET runtime is messing up. Is it possible for you to post your web app, and I can try running it on my machine?
•
•
•
•
VS ships with it's own web server so that developers can test their websites without having IIS installed on the local machine
If i am helpful, please give me reputation points.
•
•
•
•
@choudhuryshouvi: since this happens for web apps and winforms apps, it almost sounds like your .NET runtime is messing up. Is it possible for you to post your web app, and I can try running it on my machine?
ASP.NET Syntax (Toggle Plain Text)
on button_click() if trim(textbox1.text)<>"" then label1.text=textbox1.text textbox1.text="" textbox1.focus else msgbox("plz input some text.") textbox1.focus endif
that's all. i was just testing my local web server whether its working or not but i couldn't.
i don't how will it help you in solving my prob. let's see what happens???
Last edited by choudhuryshouvi; Dec 24th, 2007 at 12:37 am.
Shouvik_The_Expert_Coder
Have a problem? Don't worry just give me a call and I'll fix it for you.
Have a problem? Don't worry just give me a call and I'll fix it for you.
yes, i've already been advised that. though i know that this is the only option i've left but i was wondering whether there is any other way to solve this problem?
one thing i should tell you. before installing vs2005 i'd installed iis5.1. is that affecting? i mean to say is there any kind of version confliction problem occuring between IIS5.1 and VS2005's webdev.webserver.exe. i'm asking you because one of my office colleague has told me about that and also told me that i shouldn't install IIS on my local machine.
Could u plz tell me is that correct or not? because i've already searched microsoft knowledge base where microsoft said that both the IIS and VS2005's webserver can run in the same local machine.
one thing i should tell you. before installing vs2005 i'd installed iis5.1. is that affecting? i mean to say is there any kind of version confliction problem occuring between IIS5.1 and VS2005's webdev.webserver.exe. i'm asking you because one of my office colleague has told me about that and also told me that i shouldn't install IIS on my local machine.
Could u plz tell me is that correct or not? because i've already searched microsoft knowledge base where microsoft said that both the IIS and VS2005's webserver can run in the same local machine.
Shouvik_The_Expert_Coder
Have a problem? Don't worry just give me a call and I'll fix it for you.
Have a problem? Don't worry just give me a call and I'll fix it for you.
Installing IIS should be fine. The VS webserver will allow to to run an ASP.NET website from your local machine, but only when you start it through VS. When you debug a website this way, VS fires up the webdev.webserver.exe and attaches the debugger to it.
If you wanted to host your website from a machine, you need IIS. To create this website, you would create an IIS hosted website in VS, work on it, and then hit run or debug. When you hit debug this way, VS attaches the debugger to IIS and IIS is what actually serves the site.
So, having IIS should not be a problem. And as unhelpful as it sounds, I can say that it "works on my machine."
If you wanted to host your website from a machine, you need IIS. To create this website, you would create an IIS hosted website in VS, work on it, and then hit run or debug. When you hit debug this way, VS attaches the debugger to IIS and IIS is what actually serves the site.
So, having IIS should not be a problem. And as unhelpful as it sounds, I can say that it "works on my machine."
Sounds well but not really helpful to me in case of solving my problem as it couldn't in my machine.
So what would be the summery?
What are you suggesting me to do? is there any way or i've to do the dirty work???
One more thing, is only uninstalling IIS can fix this problem? i'm not sure. asking for your suggestion.
So what would be the summery?
What are you suggesting me to do? is there any way or i've to do the dirty work???
One more thing, is only uninstalling IIS can fix this problem? i'm not sure. asking for your suggestion.
Last edited by choudhuryshouvi; Dec 26th, 2007 at 7:02 am.
Shouvik_The_Expert_Coder
Have a problem? Don't worry just give me a call and I'll fix it for you.
Have a problem? Don't worry just give me a call and I'll fix it for you.
![]() |
Similar Threads
- Servlet -: Error running from WAR file (JSP)
- Error coming while running an App (JSP)
- Hijack This log for Buffer Overrun error.. (Viruses, Spyware and other Nasties)
- error running downloaded web app (ASP.NET)
- Efficient way to test new web application.... (IT Professionals' Lounge)
- Table query returning error -- help! (MS SQL)
- Help needed with "Generic Host Process for Win32 Services ERROR" (Windows NT / 2000 / XP)
- ASP.Net Error (ASP.NET)
- Error creating new ASP.Net project (ASP.NET)
- wupdater.exe error message (Web Browsers)
Other Threads in the ASP.NET Forum
- Previous Thread: Sms Advise
- Next Thread: How to access controls from code behind file
| Thread Tools | Search this Thread |
.net 2.0 activexcontrol advice ajax alltypeofvideos asp asp.net bc30451 bottomasp.net browser businesslogiclayer button c# c#gridviewcolumn checkbox click commonfunctions compatible confirmationcodegeneration content contenttype courier css dataaccesslayer database datagridview datagridviewcheckbox datalist deadlock development dgv dropdownlist dropdownmenu dynamically edit expose fill flash flv formatdecimal forms formview gridview homeedition iframe iis javascript jquery listbox login menu microsoft mono mouse mssql multistepregistration news numerical objects opera order panelmasterpagebuttoncontrols radio ratings registration reportemail rotatepage save schoolproject search security serializesmo.table silverlight smartcard smoobjects software sql-server sqlserver2005 suse textbox tracking unauthorized validation vb.net video videos virtualdirectory vista visual-studio visualstudio web webapplications webarchitecture webdevelopemnt webprogramming webservice xml xsl youareanotmemberofthedebuggerusers






