曾几何时,我有一个与 pgAdmin 一起工作的 Postgres 数据库。我有一个在 WildFly 服务器上运行的 Web 服务,该服务器连接到数据库并且一切正常。
一段时间(几个月)后,我尝试再次打开 pgAdmin,但它一直卡在加载中...
我使用 Revo Uninstall 删除了 postgres 和 pgAdmin,然后安装了 postgres 9.6 并打开了 pgAdmin,它永远停留在加载屏幕中。
谁能帮帮我? [使用带有 pgAdmin v1.3 的 postgres 9.6],
在事件查看器上,我在 pgAdmin 中看到以下错误:
故障应用程序名称:pgAdmin4.exe,版本:0.0.0.0,时间戳:0x580f31f6 故障模块名称:MSVCP120.dll,版本:6.3.9600.18438,时间戳:0x57ae642e 异常代码:0xc0000135 故障偏移量:0x00000000000ecdd0 故障进程 ID:0x1de4 故障应用程序启动时间:0x01d2a7d1566324ba 错误的应用程序路径:C:\Program Files\PostgreSQL\9.6\pgAdmin 4\bin\pgAdmin4.exe 故障模块路径:MSVCP120.dll 报告编号:984dd9d8-13c4-11e7-832d-5ce0c535006f 错误包全名: 错误包相关的应用程序 ID:
最佳答案
我遇到了同样的问题,我按照链接上的步骤解决了它 https://www.pgadmin.org/faq/#12
When I launch pgAdmin 4 v4.28 or later on Windows, the loading page never closes. Why? pgAdmin 4 v4.28 includes additional security features, one of which is intended to prevent security issues caused by Content Sniffing.
Unfortunately some Windows systems are mis-configured such that this causes Javascripts used by pgAdmin to fail to load. Opening the developer tools on your browser will show an error similar to this:
Refused to execute script from 'http://127.0.0.1:57313/static/vendor/require/require.min.js?ver=42800' because its MIME type ('text/plain') is not executable, and strict MIME type checking is enabled.
(index):39 Uncaught ReferenceError: require is not defined at (index):39 This will occur when the value of the registry key at HKEY_CLASSES_ROOT.js\Content Type is set to text/plain. To resolve the issue, use the Registry Editor and reset the value of HKEY_CLASSES_ROOT.js\Content Type to: text/javascript
Finally, restart the pgAdmin server.
关于postgresql - pgAdmin 不会启动(永久加载),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43184343/