I am configuring IIS 7.0 on windows server 2008 R2 to run the new .net Core framework and I am getting this error:
The configuration section 'aspNetCore' cannot be read because it is missing a section declaration
Is there a setting I need to implement to get this type of site to run? applicationpool identity is used.
The web.config is automatically scripted with this tag from VS 2015 community.
Here is the config after it is compiled and published:
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<!--
Configure your application settings in appsettings.json. Learn more at http://go.microsoft.com/fwlink/?LinkId=786380
-->
<system.webServer>
<handlers>
<add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModule" resourceType="Unspecified" />
</handlers>
<aspNetCore processPath="dotnet" arguments=".\HUBS.dll" forwardWindowsAuthToken="false" stdoutLogEnabled="false" stdoutLogFile=".\logs\stdout" />
</system.webServer>
</configuration>
<!--ProjectGuid: 6f683ac9-2a86-4206-b3fe-8d5705488733-->