8

A couple of days before I have installed on my PC with Windows 7 Professional new version of PgAdmin (version 4). It worked fine, but today it loads slowly and then information window appears with text: "PgAdmin fatal error. The appllication server could not be contacted.". I restarted windows, but it doesn't help. Is there any solution of this problem? Thanks.

Dionisius1976
  • 107
  • 1
  • 1
  • 7

8 Answers8

7

I had the same issue. Try right clicking the PgAdmin icon and clicking "Run as administrator". Worked for me.

Ray Jowa
  • 121
  • 4
6

worked for me if I run PgAdmin as administrator.

Right click on the .exe file and run as administrator. It will work.

Stephen Kennedy
  • 20,585
  • 22
  • 95
  • 108
3

I tried all options mentioned in link Postgresql can't connect application server through PGAdmin4 .

But none of the options worked, then launching C:\Program Files (x86)\pgAdmin 4\v2\runtime\pgAdmin4.exe from command prompt worked fine.

Stephen Kennedy
  • 20,585
  • 22
  • 95
  • 108
Deepak
  • 31
  • 1
3

i got this error using PgAdmin 4 (v4.3) and here is what fixed it for me

  1. right lick on my server and disconnect server
  2. reconnect by clicking expand arrow on the server.

seems my connection was stale

Sonic Soul
  • 23,855
  • 37
  • 130
  • 196
  • This also helped fix "Software caused connection abort" [from your other (deleted) answer to the question](https://stackoverflow.com/questions/43802310/postgresql-could-not-receive-data-from-server-software-caused-connection-abort) – Nate Anderson Aug 28 '20 at 03:41
2
  1. in C:\Users(your username)\AppData\Roaming delete folder pgAdmin (AppData - is hidden folder)
  2. run pgadmin with administrator.

Worked Fine for me Previously it was showing Fatal error

Irakli dd
  • 56
  • 6
1

I had to reinstall it, as Steve suggested in comments. Then it started working again.

It's probably best to start with Ray Jowa's solution -- try right clicking the PgAdmin icon and clicking "Run as administrator".

NessBird
  • 745
  • 1
  • 6
  • 15
1

This was odd, my PATH variable which had the python interpreter in it was somehow a factor, I do not completely understand though, right after I removed it everything worked, I will look further into it but so far I think that if you have python interpreter it might be the one causing the issue.

omar A.R
  • 91
  • 5
0

rename your C:\Users<your username>\AppData\Roaming\pgAdmin to .back and restart pgAdmin v4.6x