Error : "Unable to start debugging on the web server..." ASP.NET 4.0 Error : "Unable to start debugging on the web server..." ASP.NET 4.0 asp.net asp.net

Error : "Unable to start debugging on the web server..." ASP.NET 4.0


There aren't many details here, but I was getting that same error while trying to Start Debugging on a web application project in Visual Studio 2010 that I'd just changed from 3.5 to 4.0.

This solved the problem for me from the command line:

cd %windir%\Microsoft.NET\Framework\v4.0.30319aspnet_regiis.exe -i

Just make sure to go into IIS Manager afterwards and double-check your application pools and such, since it's likely that this will reset some of your configuration.


This did the trick for me:

In IIS > under .NET compilation

Note: Default Website is selected only for screenshot purposes.

enter image description here

Changing the Debug option to True

enter image description here


This error can appear if the password for the account used by the application pool changes. If you start getting this error after changing your network password you may need to update it for the application pool used by your local web sites as well.