I just installed the desktop version of pg4admin after having difficulty running it using my prior install. I used the following installing documentation to pull this off.
However, when I run the pgadmin4 service, the page gives my the following error:
Unauthorized
The server could not verify that you are authorized to access the URL requested. You either supplied the wrong credentials (e.g. a bad password), or your browser doesn't understand how to supply the credentials required.
Also, on the terminal I'm getting the following exception:
Did I miss anything in the install process? What can I do to fix this issue?
In my case the problem is Internet Explorer Enhanced Security Configuration (IE ESC) (btw my OS is Windows Server 2012 R2)
Go to Server Manager
, choose Local Server
from the left pane.
On the right pane, there is "IE Enhanced Security Configuration", the status is "on
".
Click on that On
, choose Off
(I turned off for both the Administrators and Users, I guess one of them should be enough but I was not sure which one).
Click OK
, then click the refresh button on top (or close the server manager).
Refresh the pg admin4 page (or if that does not work, right click on pg Admin4 system tray icon, then choose "New PgAdmin4 window
").