I want to host my web app on IIS. But I get an Error all the time. HTTP 500.19 - Internal Server Error Code: 0x8007000d It says that config file is bad (web.config in my case) What is wrong with it?
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<system.webServer>
<handlers>
<add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModule" resourceType="Unspecified" />
</handlers>
<aspNetCore processPath="dotnet" arguments=".\ServerApplication.dll" stdoutLogEnabled="false" stdoutLogFile=".\logs\stdout" />
</system.webServer>
</configuration>
<!--ProjectGuid: b5218e98-989b-4275-96f0-53c91a5f235a-->
It was an ASP.NET Core app, so after installing .NET Core Windows Server Hosting everything works just fine
User contributions licensed under CC BY-SA 3.0