Here is my web.config. When I start IIS and open localhost, I only get the “Hello World” dashboard. I cannot get my dashboard.ps1 to run. I have tried a number of iterations to get this to work, but can only ever get the “Hello World” dashboard to load.
indent preformatted text by 4 spaces
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<system.webServer>
<handlers>
<add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModuleV2" resourceType="Unspecified" />
</handlers>
<aspNetCore processPath="C:\Program Files (x86)\Universal\Universal.Server.exe" arguments="" forwardWindowsAuthToken="true" stdoutLogEnabled="true" stdoutLogFile=".\logs\log" hostingModel="InProcess"/>
</system.webServer>
</configuration>
Please help. I feel like I have been battling this forever, and dont seem to be making any headway. There is conflicting documentation out there. Some say to put the path to powershell.exe in the process path, and others show the path to universal.server.exe