Config Error: This configuration section cannot be used at this path

后端 未结 30 2067
死守一世寂寞
死守一世寂寞 2020-11-22 07:01

I\'ve encountered an error deploying a site to a server. When trying to load the home page, or access authentication on the new site in IIS, I get the error:

30条回答
  •  感情败类
    2020-11-22 07:17

    The Powershell way of enabling the features (Windows Server 2012 +) - trim as needed:

    Install-WindowsFeature NET-Framework-Core
    Install-WindowsFeature Web-Server -IncludeAllSubFeature
    Install-WindowsFeature NET-Framework-Features -IncludeAllSubFeature
    Install-WindowsFeature NET-Framework-45-ASPNET -IncludeAllSubFeature
    Install-WindowsFeature Application-Server -IncludeAllSubFeature
    Install-WindowsFeature MSMQ -IncludeAllSubFeature
    Install-WindowsFeature WAS -IncludeAllSubFeature
    

提交回复
热议问题