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
I am having the same issue. Fresh Server 2019 install, IIS configured
as per the docs, but when accessing the website it redirects to ‘http://localhost/login?ReturnUrl=%2F’ and is just a blank page, no admin creds. Something is happening, because I see the PU favicon:
I unblocked all the files multiple times and no dice. Any ideas?
Version data:
.NET Framework Product Version Release
-------------- ------- ------- -------
Client 4.7.2 4.7.03190 461814
Full 4.7.2 4.7.03190 461814
Client 4.0.0.0
Name Value
---- -----
PSVersion 5.1.17763.2931
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.17763.2931
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
web.config
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<system.webServer>
<handlers>
<add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModuleV2" resourceType="Unspecified" />
</handlers>
<aspNetCore processPath=".\Universal.Server.exe" arguments="" forwardWindowsAuthToken="false" stdoutLogEnabled="true" stdoutLogFile=".\logs\log" hostingModel="InProcess" />
</system.webServer>
</configuration>
<!--ProjectGuid: 588ACF2E-9AE5-4DF1-BC42-BCE16A4C4EDE-->
I also tried putting the dll as an argument (“C:\inetpub\wwwroot\Universal.Server.dll”) like in the video but same result.
Figured it out, the solution was to install Google Chrome to open the login portal instead of Internet Explorer 11.