Unable to start debugging on the web server. Unable to connect to the webserver

.net, asp.net, iis-7.5, visual-studio-2008, visual-studio-debugging

Solution

In `VS`, right click on your web project --> Properties Go to the Web tab.

Make sure the appropriate radio button is selected (Use VS Dev Server, Use Local IIS Web Server, etc)

After a computer freeze I've had that value change on me.

Another thing to try:

run "`iisreset`" from an `administrative` command prompt (basically just restarts the IIS service)

Problem

I am running Visual Studio 2008, IIS 7.5 on Windows 7 x32. I am able to run the ASP.NET web site in IIS 7.5 without debugging just fine, but when I press F5 to debug it, I get: Unable to start debugging on the web server. Unable to connect to the webserver. Verify that the web server is running and that incoming http requests are not blocked by a firewall..

Original source