Unable to access the IIS metabase

后端 未结 9 1489
独厮守ぢ
独厮守ぢ 2021-02-19 11:50

An ASP.NET web project loads with up the solution, but I get this error

The Web Application Project is configured to use IIS. Unable to access the IIS met

9条回答
  •  萌比男神i
    2021-02-19 12:30

    Have you registered the .NET framework with IIS? You need to run the aspnet_regiis.exe utility found at %WindowsDir%\Microsoft.NET\Framework\vx.y.zzzz\. Run it as administrator as follows:

    aspnet_regiis.exe -i 
    

    -i : Installs the version of ASP.NET that is associated with Aspnet_regiis.exe and updates the script maps at the IIS metabase root and below. Only the script maps for applications that use an earlier version of ASP.NET are updated. Applications that use a later version are not affected.

    Find out more about the utitlity here.

提交回复
热议问题