2017-09-15 68 views
1

我已經從github克隆了項目,並遵循了MixERP文檔中的說明。在Visual Studio中成功完成項目,安裝了PostgreSQL 9.6。MixERP數據庫配置錯誤

當我跑的項目它給了我錯誤

relation config.mixerp not exist

我們使用VS2015,PgAdmin4。

ERROR: 42P01: relation "config.mixerp" does not exist Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: Npgsql.NpgsqlException: ERROR: 42P01: relation "config.mixerp" does not exist

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

回答

0

我正在運行相同版本的VS和pgAdmin。我注意到,運行db腳本不會在數據庫中創建任何表或視圖。我懷疑mixerp與PostgreSQL 9.6還不完全兼容。看着DbServer.config,在開發過程中使用了PostgreSQL 9.4。

PostgreSQL降級到v9.4將解決您遇到的問題。我建議完全卸載PostgreSQL 9.6並安裝PostgreSQL 9.4,然後再次按照設置文檔。

相關問題