Visual Studio Error
When trying to open a Visual Studio solution, I encountered the following error.
C:\myFilePath\myService.Service.csproj : error : The Web Application Project XXXXXX.Service is configured to use IIS. IIS is not installed on this computer. To access local IIS Web sites, you must install the following IIS components: Internet Information Services IIS 6 Metabase and IIS 6 Configuration Compatibility ASP.NET In addition, you must run Visual Studio in the context of an administrator account. For more information, press F1.
So what is the solution?
The solution is to register your specific .NET Framework version with IIS using the ASPNET_REGIIS command bundled with your .NET Framework installation.
C:\Windows\Microsoft.NET\Framework\<.NET VERSION>\aspnet_regiis.exe –ir
- Solved: Build Errors Not Showning in VS 2022 - 21st November 2024
- How To: Configure VSCode to Trust Self-Signed Certs - 16th August 2024
- Solved: GitHub Actions – HTTP 403: Resource not accessible by integration - 13th June 2024
Leave a Reply