windows server 2016 HTTP Error 500.19 – Internal Server Error


HTTP Error 500.19 - Internal Server Error

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

Detailed Error Information:

Module
IIS Web Core

Notification
Unknown

Handler
Not yet determined

Error Code
0x8007000d

Config Error

Config File
\\?\D:\www\web.config

Requested URL
http://localhost:80/

Physical Path

Logon Method
Not yet determined

Logon User
Not yet determined
Config Source:
-1:
0:
More Information:
This error occurs when there is a problem reading the configuration file for the Web server or Web application. In some cases, the event logs may contain more information about what caused this error.
View more information »

解决办法:

原因为没有安装应用程序扩展isapi,大家根据需要添加相应的扩展

安装完扩展记得重启IIS,如果还提示错误,根据情况重新安装dotnet core主机应用程序(如:dotnet-hosting-2.2.5-win.exe,我是卸载了重新安装了就正常了。)