Error: ASP.NET Not Installed
Applies to: Visual Studio Visual Studio for Mac
Note
This article applies to Visual Studio 2017. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here
This error occurs when ASP.NET is not installed correctly on the computer that you are trying to debug. This might mean that ASP.NET was never installed or that ASP.NET was installed first and IIS was installed later.
To reinstall ASP.NET
From a command prompt window, run the following command:
\WINDOWS\Microsoft.NET\Framework\version\aspnet_regiis -i
where version represents the version number of the .NET Framework installed on your computer, such as v1.0.370. You can determine the framework version by looking in the
\WINDOWS\Microsoft.NET\Framework
directory.Note
With Windows Server 2003, you can install ASP.NET by using Add or Remove Programs in Control Panel.