postgresql PgAdmin 致命错误。无法联系应用服务器
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/46633839/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
PgAdmin fatal error. The appllication server could not be contacted
提问by Dionisius1976
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.
几天前,我在我的 PC 上安装了 Windows 7 Professional 新版本的 PgAdmin(版本 4)。它工作正常,但今天它加载缓慢,然后出现带有文本的信息窗口:“PgAdmin 致命错误。无法联系应用程序服务器。”。我重新启动了 Windows,但它没有帮助。这个问题有什么解决办法吗?谢谢。
回答by sudhanshu kumar sinha
worked for me if I run PgAdmin as administrator.
如果我以管理员身份运行 PgAdmin,则对我有用。
Right click on the .exe file and run as administrator. It will work.
右键单击 .exe 文件并以管理员身份运行。它会起作用。
回答by Ray Jowa
I had the same issue. Try right clicking the PgAdmin icon and clicking "Run as administrator". Worked for me.
我遇到过同样的问题。尝试右键单击 PgAdmin 图标并单击“以管理员身份运行”。对我来说有效。
回答by Deepak
I tried all options mentioned in link Postgresql can't connect application server through PGAdmin4.
我尝试了链接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.
但是没有一个选项有效,然后C:\Program Files (x86)\pgAdmin 4\v2\runtime\pgAdmin4.exe
从命令提示符启动工作正常。
回答by NessBird
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".
最好从 Ray Jowa 的解决方案开始——尝试右键单击 PgAdmin 图标并单击“以管理员身份运行”。
回答by Irakli dd
1) in C:\Users(your username)\AppData\Roaming delete folder pgAdmin (AppData - is hidden folder) 2) run pgadmin with administrator.
1) 在 C:\Users(您的用户名)\AppData\Roaming 中删除文件夹 pgAdmin (AppData - 是隐藏文件夹) 2) 以管理员身份运行 pgadmin。
回答by Sonic Soul
i got this error using PgAdmin 4 (v4.3) and here is what fixed it for me
我使用 PgAdmin 4 (v4.3) 遇到了这个错误,这是为我修复的
- right lick on my server and
disconnect server
- reconnect by clicking expand arrow on the server.
- 右击我的服务器,然后
disconnect server
- 单击服务器上的展开箭头重新连接。
seems my connection was stale
似乎我的连接是陈旧的
回答by omar A.R
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.
这很奇怪,我的 PATH 变量中包含 python 解释器在某种程度上是一个因素,但我并不完全理解,在我删除它之后一切正常,我会进一步研究它,但到目前为止我认为如果你有 python解释器它可能是导致问题的原因。