[asp.net core]The requested page cannot be accessed because the related configuration data for the page is invalid.

bug

HTTP Error 500.19 - Internal Server Error

The requested page cannot be accessed because the related configuration data for the page is invalid.

解决办法

这是将asp.net core站的部署在iis上出现的错误,通过dotnet xxx.dll启动,可以看到kestrel,能正常进行访问,也能监听到请求信息,但通过iis代理时出现上面的错误。

最后发现是因为没有安装

DotNetCore.2.0.5-WindowsHosting.exe

posted @ 2018-07-04 17:52  wolfy  阅读(1186)  评论(0编辑  收藏  举报