我发布了新的SSL证书并将其安装在服务器上,但是当我将其分配给默认(localhost)进行测试时,出现以下错误
Detailed Error Information:
Module ApplicationRequestRouting
Notification MapRequestHandler
Handler ExtensionlessUrlHandler-Integrated-4.0
Error Code 0x80070490
Config Error The configuration section 'webFarms' cannot be read because it is missing a section declaration
Config File \\?\C:\inetpub\temp\apppools\DefaultAppPool\DefaultAppPool.config
任何人都可以给我解决方案?
根据错误消息,请尝试在‘webFarms’
内创建configSections
节声明,或删除并重新创建。https://forums.iis.net/t/1191686.aspx?WFF+2+2+Missing+Section+Error此外,错误的应用程序池设置也会导致此问题,请在IIS中将池的.NET Framework版本更改为V4.0
。
[遇到此问题时,只需更改.NET Framework IIS中池的版本为
V4.0
。
请参阅这些链接以获取更多详细信息。The configuration section 'uri' cannot be read because it is missing a section declarationhttps://forums.asp.net/t/1839088.aspx