Im trying to get a universal dashboard 1.5.16 running on iis 10
I followed the steps on the docs site and Adams youtube video
When i launch the site it loads a blank page with only Powershell Universal shown as the browser tab name
Any ideas what may be wrong thanks
Product: PowerShell Universal
Version: 1.5.16
@Srichman0128
Ill try to make brief instructions to get PSU working on IIS
1- always start with latest release of PSU cause its always has a lot of fixes, as of now latest release is 1.5.18
2- download the zip file for windows
3-copy the content of the zip folder to your hosting folder of your IIS site.
4- run the following command in powershell on your hosting folder
gci -path 'hostingfolderpath' -Recurse | unblock-file
5-make your site apppool run as system first for testing
6-make sure loaduser profile is set to true in IIS and follow any other recommendation in PSU docs as well for hosting in IIS
when you launch your site you should see 2 folders created under c:\programdata
a- powershell universal
b-universal automation
your site should be open and login page is ready for you to login.
thanks i went back and made those changes unfortunately still get a blank page
i try to launch the site from iis the browser opens and attempts to load but then the url resolves to http://localhost:10008/login?ReturnUrl=%2F and the page is blank
below is a snippet of the log created in the hosting folder
anything assistance much appreciated
2021-05-14 12:25:27 [INFO] (Hangfire.BackgroundJobServer) Starting Hangfire Server using job storage: ‘Hangfire.MemoryStorage.MemoryStorage’
2021-05-14 12:25:27 [INFO] (Hangfire.BackgroundJobServer) Using the following options for Hangfire Server:
Worker count: 20
Listening queues: ‘default’
Shutdown timeout: 00:00:15
Schedule polling interval: 00:00:15
2021-05-14 12:25:27 [INFO] (Hangfire.Server.BackgroundServerProcess) Server server1:26488:9449e48c successfully announced in 153.3333 ms
2021-05-14 12:25:27 [INFO] (Hangfire.Server.BackgroundServerProcess) Server server1:26488:9449e48c is starting the registered dispatchers: ServerWatchdog, ServerJobCancellationWatcher, ExpirationManager, CountersAggregator, Worker, DelayedJobScheduler, RecurringJobScheduler…
2021-05-14 12:25:27 [INFO] (Hangfire.Server.BackgroundServerProcess) Server server1:26488:9449e48c all the dispatchers started
2021-05-14 12:25:34 [INFO] (Hangfire.BackgroundJobServer) Starting Hangfire Server using job storage: ‘Hangfire.MemoryStorage.MemoryStorage’
2021-05-14 12:25:34 [INFO] (Hangfire.BackgroundJobServer) Using the following options for Hangfire Server:
Worker count: 20
Listening queues: ‘default’
Shutdown timeout: 00:00:15
Schedule polling interval: 00:00:15
2021-05-14 12:25:34 [INFO] (Hangfire.Server.BackgroundServerProcess) Server server1:26488:cdaeff3b successfully announced in 0.1457 ms
2021-05-14 12:25:34 [INFO] (Hangfire.Server.BackgroundServerProcess) Server server1:26488:cdaeff3b is starting the registered dispatchers: ServerWatchdog, ServerJobCancellationWatcher, ExpirationManager, CountersAggregator, Worker, DelayedJobScheduler, RecurringJobScheduler…
2021-05-14 12:25:35 [INFO] (Hangfire.Server.BackgroundServerProcess) Server server1:26488:cdaeff3b all the dispatchers started
info: Microsoft.Hosting.Lifetime[0]
@Srichman0128
do this ,
stop the apppool
delete powershell universal and universal automation folders from c:\programdata
start the apppool again and try to launch the site.
if the issue happened again check the server event viewer for errors