Hi Everyone !
I’am trying to host my dashboard in iis, got the websocket feature installed with the .net core and hosting bundle.
I’ve followed the steps in the guide here but i get the following error:
Sure thing,
I am trying to first use the following:
Start-UDDashboard -Wait -Dashboard (
New-UDDashboard -Title “Hello, IIS” -Content {
New-UDCard -Title “Hello, IIS”
}
)
Hey @RandomGuy23 without sounding damn right facetious you are not importing the module in your script…you need to import the module then the rest of your script then it should work
Thanks for the help!
I’ve modified the dashboard.ps1 to
Install-Module UniversalDashboard -Scope AllUsers -Force
Start-UDDashboard -Wait -Dashboard (
New-UDDashboard -Title “Hello, IIS” -Content {
New-UDCard -Title “Hello, IIS”
}
)
but still the same.
And yes, i have the .net core ruintime and server hosting stuff installed
Don’t give up! Ok so in my environment I had to configure the app pool with authentication then had to run 2 firewall rules to allow traffic on the port I was using for my dashboard. Happy to send further steps when I’m back at my computer