Visual Studio VS 2005 doesn't start debugging of Web Server.

A few times when I re-start debugging of my ASP.NET application from VS 2005 I received

"Unable to start debugging on the Web Server. The operation has timed out".

I had to restart IIS to fix the error. Not sure what causes this.

posted @ Tuesday, April 11, 2006 8:04 AM

Print

Comments on this entry:

# re: Visual Studio VS 2005 doesn't start debugging of Web Server.

Left by Mark Cohen at 4/17/2006 9:07 AM
Gravatar
Yeah I get that too. Attaching to the aspnet_wp process will still work though (at least it does for me). Hotkey is ctrl-alt-P then find aspnet_wp.exe and attach to it.

# re: Visual Studio VS 2005 doesn't start debugging of Web Server.

Left by Justnice at 5/9/2006 11:17 AM
Gravatar
I have all the problems mentioned above in additional i found out that on my development system if I press F5 to start the debugging process, the VS 2005 will wait endlessly until I "Alt-Tab" to switch to any other windows and then VS 2005 will start loading the debugging information. Some time i even get a "Time Out" for the debugging process to be started.

# re: Visual Studio VS 2005 doesn't start debugging of Web Server.

Left by sadık at 6/4/2007 8:19 PM
Gravatar
i got same error when i debug project first time
and when i try second time to debug it starts but first time gives timeout error after a long waiting....

# re: Visual Studio VS 2005 doesn't start debugging of Web Server.

Left by Rajapandi S at 6/19/2007 2:58 AM
Gravatar
I too got the same problem and when I restarted the iis its works...
Thanks a lot... :)

# re: Visual Studio VS 2005 doesn't start debugging of Web Server.

Left by Amol at 10/14/2007 6:34 PM
Gravatar
After reset IIS, it works fine
Thanks !! :)

# re: Visual Studio VS 2005 doesn't start debugging of Web Server.

Left by Chirag Bhagat at 11/26/2007 6:03 AM
Gravatar
Did not start after iis reset too. Can anyone help?

First time, it gave me following error:
"The Web was created successfully, but an error occurred when trying to configure the application root for this web. Webs may not operate correctly without an application root."

After going through certain articles, I tried to fix some permissions on web root folder. I don't get that error now but I am still not able to debug my application.

# re: Visual Studio VS 2005 doesn't start debugging of Web Server.

Left by Prabhat Joshi at 1/28/2008 10:38 AM
Gravatar
I got the same error. It was not resolved even after the IIS restart. I had to restart the machine to fix the error.

# re: Visual Studio VS 2005 doesn't start debugging of Web Server.

Left by Michael Logan at 3/14/2008 4:20 AM
Gravatar
Deleting the Virtual Directory and having Visual Studio recreate it by using the "Create Virtual Directory" button worked for me.

# re: Visual Studio VS 2005 doesn't start debugging of Web Server.

Left by Aditya at 7/31/2008 3:38 AM
Gravatar
me too Reset IIS and it worked

# re: Visual Studio VS 2005 doesn't start debugging of Web Server.

Left by soumya maitra at 9/12/2008 8:51 PM
Gravatar
i am having the same problem and when i press F5 to start debugging after creating a web site in my visual studio 2005 it says atl server does not support debugging i restarted IIS reinstalled IIS with XP service pack 2 problem persists

# re: Visual Studio VS 2005 doesn't start debugging of Web Server.

Left by SR at 2/27/2009 4:08 PM
Gravatar
I have faced the similar problem after installing the VS 2005 Web Application project patch/plug in

I did the following steps
--------------------
In the Run Command window type "inetmger", press enter.
Select your virtual directory/web site.
right click and go to the Virtual directory tab.
Click on configuration button.
Go to Debugging Tab.
Check both the Debugging Flags "Enable ASP server-side script debugging"

It worked for me, but i'm sure my site was set these falg before. I dont know whether installtion of the plug in screwed up things.


# re: Visual Studio VS 2005 doesn't start debugging of Web Server.

Left by dileep kumar at 10/3/2009 1:31 AM
Gravatar
hi ,
when i was debugging the project after build successful a message window is showing me that "Unable to debug on the web server .the operation ha timed out "


please help me that how can i rectify that error in my project .

thank u
dileep (9490971916)

# re: Visual Studio VS 2005 doesn't start debugging of Web Server.

Left by Parthiban at 10/13/2009 1:25 AM
Gravatar
Same problem for me , I restarted IIS and it works fime now.....


Thanks guys

# re: Visual Studio VS 2005 doesn't start debugging of Web Server.

Left by Syed Tayyab Ali at 10/20/2009 1:41 PM
Gravatar
I also faced same problem. But I restart my IIS, and run aspnet_regiis -i. It was not enough, then I restarted my machine and it worked for me.

Your comment:



 (will not be displayed)


 
 
 
 
 

Live Comment Preview:

 
«November»
SunMonTueWedThuFriSat
25262728293031
1234567
891011121314
15161718192021
22232425262728
293012345