Error 500.19 Internal server error on IIS


There are lots of questions about this message error, I tried all the proposed solutions but none of them worked

I have a ASP .NET webapp, I registered the app to IIS and when I visit the page I get this error:

HTTP Error 500.19 internal server error The requested page cannot be accessed because the related configuration data for the page is invalid

Error code is: 0x8007000d

enter image description here

I post my web.config:

<?xml version="1.0" encoding="utf-8"?>
      <add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModule" resourceType="Unspecified" />
    <aspNetCore processPath=".\ReviewerServices.web.exe" arguments="" stdoutLogEnabled="false" stdoutLogFile=".\logs\stdout" forwardWindowsAuthToken="true" />

Here what I tried:

  • issuing the command "aspnet_regiis.exe -i" after the installation
  • assigning full permissions to the entire folder to the user IUSR and IIS_IUSRS
  • checking the web.config for syntax errors (none found)
  • tried to fudge a little bit the web.config file (looking for non printable ascii, encoding format and such)
asked on Stack Overflow Mar 16, 2017 by Gianluca Ghettini • edited Mar 16, 2017 by Gianluca Ghettini

1 Answer


It is so carefully documented by Microsoft in a step by step way,

You forgot to install ASP.NET Core Module for IIS.

answered on Stack Overflow Mar 16, 2017 by Lex Li

User contributions licensed under CC BY-SA 3.0