I've got an older server, which I've installed all the most recent Core Web-Hosting Modules, for Internet Information System (IIS). The server should be up to date.
For some odd reason I receive the following error:
HTTP Error 500.19 - Internal Server Error The configuration section 'aspNetCore' cannot be read because it is missing a section declaration.
The web.config is as follows:
<?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=".\LicenseManager.dll"
stdoutLogEnabled="false" stdoutLogFile=".\logs\stdout" />
</system.webServer>
</configuration>
I'm positive that the Application Pool is configured correctly with proper permissions to the directory, the Application Pool is also set to No Managed Code, and the bindings have been configured.
The documentation also stated that it is indeed compliant and supported by Windows Server 2008 R2, which includes IIS 7.0.
I've run their commands, any thoughts why this won't publish?