Windows – Problem “F5” Debugging ASP.NET Web Application Project with VS2008 on Vista

debuggingvisual studiovisual-studio-2008windows-vista

Greetings!

I'm working with a .NET3.5 Web Application project in Visual Studio 2008 on Vista Ultimate. I'd rather use IIS7 than Cassini as my local test web server. I have the website setup in II7 and every thing is served with no problems.

However, I'd like to use the VS debugger hooked up to F5 instead of manually attaching to the process. So in my HOSTS file, I have:

127.0.0.1   mysite.com

In my website project's "Web" settings, I have:

Also, in IIS, I've bound mysite.com to 127.0.0.1 on port 80. In addition, the account used to run the IIS server is a member of the Administrators group and I run VS2008 as Administrator.

However, starting my project with debugging yields this error:

Unable to start debugging on the web server. The IIS worker process for the launched URL is not currently running.

Any ideas why I can't get VS debugging to work with IIS?

Best Answer

Problem solved. Instead of binding to 127.0.0.1, I changed it to "All Unassigned" and I'm back in business :)