I have created an application on angular 6 with .net core. i don't create any web.config file when i publish the code its automatically generate the web config file with following code
<?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="dotnet" arguments=".\ITERP.Web.dll" stdoutLogEnabled="false"
stdoutLogFile=".\logs\stdout" />
</system.webServer>
</location>
</configuration>
when i deploy that on IIS on windows 10 its generate error that HTTP Error 500.19 - Internal Server Error Error Code 0x8007000d
Its obviously that extensionless handler won't work for the asp.net core application.
Please ensure .net core web hosting bunddle has been installed and the aspnetCore handler has been created.
<handlers>
<add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModuleV2" resourceType="Unspecified" />
</handlers>
User contributions licensed under CC BY-SA 3.0