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