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
I post my web.config:
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<system.webServer>
<handlers>
<add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModule" resourceType="Unspecified" />
</handlers>
<aspNetCore processPath=".\ReviewerServices.web.exe" arguments="" stdoutLogEnabled="false" stdoutLogFile=".\logs\stdout" forwardWindowsAuthToken="true" />
</system.webServer>
</configuration>
Here what I tried:
It is so carefully documented by Microsoft in a step by step way,
https://docs.microsoft.com/en-us/aspnet/core/publishing/iis
You forgot to install ASP.NET Core Module for IIS.