Opened 11 years ago

Closed 11 years ago

#2272 closed defect (invalid)

Unable to load the FDO Provider library:PostgreSQLProvider.dll

Reported by: hc27080401 Owned by: jng
Priority: high Milestone: Maestro-5.0
Component: Maestro Version:
Severity: critical Keywords:
Cc: External ID:

Description

Hi:

When I want to use PostgreSQLProvider as the feature source,the problem encountered.the following is the details:

System.Exception: The remote server returned an error: (559) MgFdoException.: An exception occurred in FDO component.Unable to load the FDO Provider library '.\PostgreSQLProvider.dll': 找不到指定的模块。 (Cause: , Root Cause: Unable to load the FDO Provider library '.\PostgreSQLProvider.dll': 找不到指定的模块。 )

---> System.Net.WebException: The remote server returned an error: (559) MgFdoException.

at System.Net.HttpWebRequest.GetResponse() at OSGeo.MapGuide.MaestroAPI.HttpServerConnection.OpenRead(String req) in c:\Program Files (x86)\Jenkins\jobs\Maestro 4.0.x\workspace\OSGeo.MapGuide.MaestroAPI.Http\HttpServerConnection.cs:line 1221 --- End of inner exception stack trace --- at OSGeo.MapGuide.MaestroAPI.HttpServerConnection.OpenRead(String req) in c:\Program Files (x86)\Jenkins\jobs\Maestro 4.0.x\workspace\OSGeo.MapGuide.MaestroAPI.Http\HttpServerConnection.cs:line 1237 at OSGeo.MapGuide.MaestroAPI.HttpServerConnection.GetProviderCapabilities(String provider) in c:\Program Files (x86)\Jenkins\jobs\Maestro 4.0.x\workspace\OSGeo.MapGuide.MaestroAPI.Http\HttpServerConnection.cs:line 1662 at Maestro.Base.Editor.FsEditorOptionPanel.Bind(IEditorService service) in c:\Program Files (x86)\Jenkins\jobs\Maestro 4.0.x\workspace\Maestro.Base\Editor\FsEditorOptionPanel.cs:line 60 at Maestro.Base.Editor.FeatureSourceEditor.Bind(IEditorService service) in c:\Program Files (x86)\Jenkins\jobs\Maestro 4.0.x\workspace\Maestro.Base\Editor\FeatureSourceEditor.cs:line 63 at Maestro.Base.Editor.EditorContentBase.set_EditorService(IEditorService value) in c:\Program Files (x86)\Jenkins\jobs\Maestro 4.0.x\workspace\Maestro.Base\Editor\EditorContentBase.cs:line 81 at Maestro.Base.Services.OpenResourceManager.Open(IResource res, IServerConnection conn, Boolean useXmlEditor, ISiteExplorer siteExp) in c:\Program Files (x86)\Jenkins\jobs\Maestro 4.0.x\workspace\Maestro.Base\Services\OpenResourceManager.cs:line 164 at Maestro.Base.Services.OpenResourceManager.Open(String resourceId, IServerConnection conn, Boolean useXmlEditor, ISiteExplorer siteExp) in c:\Program Files (x86)\Jenkins\jobs\Maestro 4.0.x\workspace\Maestro.Base\Services\OpenResourceManager.cs:line 220 my developement enviroment:

operation system:win7 x64 Maestro:version 4.0.4,the latest version is the same problem mapguide open source :version 2.5.0.7449 x86 postgresql version:9.2.4.1 x64

please help me!

Change History (1)

comment:1 by jng, 11 years ago

Resolution: invalid
Status: newclosed

The PostgreSQL FDO provider cannot find libpq.dll

Either copy libpq.dll to <your mapguide install>\Server\FDO

Or update your PATH environment variable to include <path to libpq.dll>

This is not a MapGuide problem

Note: See TracTickets for help on using tickets.