Debug Issue Register IIS
Error while trying to run project:
Unable to start debugging on the web server. The server does not support debugging of ASP.NET or ATL Server applications. Run setup to install the Visual Studio .NET server components. If setup has been run, verify that a valid URL has been specified.
You may also want to refer to the ASP.NET and ATL Server debugging topic in the online documentation. Would you like to disable future attempts to debug ASP.NET pages for this project?
Solution
Open command window by Start > Run then type cmd and hit enter
Locate the directory in command prompt using cd command C:\[Windows Directory]\Microsoft.Net\Framework\[Version]
Note: You must replace [Windows Directory] in this path with the correct directory for your system and replace [Version] with the version of the .NET Frame work installed on your system.
Execute aspnet_regiis -i to re-register the asp.net ...