部署.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

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

 

解决方法:
先参考这篇:

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

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

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

 

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

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

 

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

 

重启服务,异常解决。

相关文章:

  • 2021-11-19
  • 2021-09-25
  • 2021-05-20
  • 2021-06-09
  • 2022-12-23
  • 2021-09-29
  • 2022-12-23
猜你喜欢
  • 2021-08-04
  • 2022-12-23
  • 2022-12-23
  • 2021-06-25
  • 2022-12-23
  • 2021-09-30
相关资源
相似解决方案