locked
"HTTP Error 500.19" error when you open an IIS 7.0 Webpage RRS feed

  • Question

  • User-1319893076 posted

    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)?

    Thursday, June 27, 2019 4:23 PM

All replies