After publish my project in local IIS server, When I execute the install program: http://localhost/codeIIS/ I get an error 500.19 Internal Server error. Here is my Platform Details:
In my web.config file code here:
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<location path="." inheritInChildApplications="false">
<system.webServer>
<handlers>
<add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModuleV2" resourceType="Unspecified" />
</handlers>
<aspNetCore processPath=".\CONSOLIDATION PORTAL.exe" stdoutLogEnabled="false" stdoutLogFile=".\logs\stdout" hostingModel="inprocess" />
</system.webServer>
</location>
</configuration>
<!--ProjectGuid: 8240d3ab-7972-48e2-91ac-f9f57451ae7e-->
The error is Here: Error
How to fix that error. Thanks
From the microsoft documents page -
https://docs.microsoft.com/en-us/troubleshoot/iis/http-error-500-19-webpage#hresult-code-0x8007000d
This is due to malformed XML in your webconfig. Should there be a space between consolidation and portal here? -
processPath=".\CONSOLIDATION PORTAL.exe"
User contributions licensed under CC BY-SA 3.0