I could debug web applications in Microsoft Visual Studio 2010, when the target framework was .NET 3.5, but when changed to .NET 4.0 I got the error: Unable to start debugging on the webserver.

Solution

Run “C:\Windows\Microsoft.NET\Framework\v4.0.30319>aspnet_regiis.exe -i”

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.