I downloaded and installed all the needed components (.NET SDK, Node.js, etc), but when I created my first project (ASP.NET Maker says that the "Generation completed successfully") I am getting an error with the webconfig file (or so IIS says). here is what I did
- Connected to mySQL
- changed nothing in the app other than the output directory where IIS is pointed
- clicked generate
- went to localhost and got this
HTTP Error 500.19 - Internal Server Error The requested page cannot be accessed because the related configuration data for the page is invalid. Detailed Error Information: Module IIS Web Core Notification BeginRequest Handler Not yet determined Error Code 0x8007000d Config Error Config File \\?\D:\html's\DPI-Tech\LIVE\cms\web.config Requested URL http://localhost:80/cms/ Physical Path *REDACTED* Logon Method Not yet determined Logon User Not yet determined Config Source: -1: 0:
the error message suggests that there is a problem with the webconfig file but it looks OK to me:
<?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="AspNetCoreModuleV2" resourceType="Unspecified" />
</handlers>
<aspNetCore processPath="%LAUNCHER_PATH%"
arguments="%LAUNCHER_ARGS%"
requestTimeout="00:02:00"
stdoutLogEnabled="false"
stdoutLogFile=".\logs\stdout">
<environmentVariables>
<environmentVariable name="ASPNETCORE_ENVIRONMENT" value="Development" />
</environmentVariables>
</aspNetCore>
</system.webServer>
</configuration>
I checked the application pool in IIS and it is set to use .NET 4 with an Integrated pipeline.
any suggestions on how to get this running would be great