Home » Questions » Computers [ Ask a new question ]

Visual Studio "Unable to start debugging on the web server. The web server did not respond in a timely manner."

Visual Studio "Unable to start debugging on the web server. The web server did not respond in a timely manner."

"I get the following error pretty regularly when compiling in Visual Studio and running my web application:

""Unable to start debugging on the web server. The web server did not respond in a timely manner. This may be because another debugger is already attached to the web server.""

Normally this is after having debug the application once already. From the command line I run ""iisreset /restart"" and it fixes the problem.

How do I prevent this from happening in the first place?"

Asked by: Guest | Views: 397
Total answers/comments: 3
Guest [Entry]

"I find that this happens if I'm debugging with Firefox as my browser. When I exit Firefox the VS2005/8 debug session doesn't terminate. I have not found a solution for this (yet).

If this is what's happening with you then a quicker solution than running iisreset is to hit Shift-F5 when in Visual Studio and this will terminate the current debug session. You can then hit F5 and this will start a new debug session."
Guest [Entry]

"I find that this happens if I'm debugging with Firefox as my browser. When I exit Firefox the VS2005/8 debug session doesn't terminate. I have not found a solution for this (yet).

If this is what's happening with you then a quicker solution than running iisreset is to hit Shift-F5 when in Visual Studio and this will terminate the current debug session. You can then hit F5 and this will start a new debug session."
Guest [Entry]

After trying all of the proposed solutions here and in other places (at least 10 different approaches), the only option that worked for me was: