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


部署.NET Core至IIS常遇上的问题:

HTTP Error 500.19 - Internal Server Error

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

发生在:IIS Web core

 

解决方法:
先参考这篇:

https://docs.microsoft.com/zh-cn/aspnet/core/tutorials/publish-to-iis?view=aspnetcore-5.0&tabs=visual-studio

其中有一个链接,是下载:

当前 .NET Core 托管捆绑包安装程序(直接下载)

 

下载之后,安装在IIS服务器上。

 

 

 

重启服务,异常解决。


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM