Unable to start debugging on the web server

[via Paul Gielens]

I installed VS.NET 2005 on my laptop last year when it RTM'd, but I recently had to edit a VS.NET 2003 ASP.NET project on it and kept getting an error “Unable to start debugging on the web server “. I figured that the issue was probably related to the installation of .Net 2.0, but running aspnet_regiis -i, did not fix things. Even the initial results on a visit to Google did not look promising. The first few hits I got were not much help until I came across the blog post here from Paul Gielens.

Open your Internet Information Services manager and from the [your machine]/Web Sites/ Default Web Site node select the virtual folder which stores your project. Right Click and select Properties to select the ASP.NET tab page. Make sure the correct version ASP.NET Version is selected.


I have VS.NET 2003 and 2005 beta 1 running side-by-side on my box and noticed ASP.NET Version 2.0 is targeted by default, even for VS.NET 2003 projects.

That did the trick and I was able to sort out the issue with my ASP.NET 1.1 project.

Print | posted on Sunday, February 12, 2006 5:57 PM