IIS 7 and Above
"HTTP Error 500.19" error when you open an IIS 7.0 Webpage
Last post Jun 28, 2019 02:13 AM by Able
Jun 27, 2019 04:23 PM|c_k|LINK
I published a site (to the localhost) created with Visual Studio 2017 using framework netcoreapp2.1. The site runs fine when run from within VS itself. When published, the publish succeeds, but the webpage that comes up shows "HTTP Error 500.19 - Internal
Server Error" with an error code of 0x8007000d and an explanation of "This error occurs when there is a problem reading the configuration file for the Web server or Web application."
The web.config file does not have any errors when plugged into an XML validator. There is no ApplicationHost.config file.
The error page does show "Config File \\?\C:\inetpub\wwwroot\esr3\web.config"
Does this mean that it cannot find the web.config file? Has anyone run across this before (and found a fix)?
Jun 27, 2019 06:19 PM|lextm|LINK
You forgot to install ASP.NET Core module.
Jun 27, 2019 06:47 PM|c_k|LINK
Never mind. Didn't have the .NET Core Hosting Bundle installed on the workstation.
Jun 28, 2019 02:13 AM|Able|LINK
I'm afraid not. If you want to host a net core web application on iis. You should install .NET Core Hosting Bundle.
Here is the link about how you could host .net core application on iis.I hope it could help you.