[mapguide-users] postgisconnection
Traian Stanev
traian.stanev at autodesk.com
Tue Mar 17 15:30:29 EDT 2009
Yes, the OGR provider DLL with PostGIS support requires the libpq.dll from Postgres to work. It does not require the PostGIS*.dll files, these are part of the dedicated PostGIS provider.
Traian
From: mapguide-users-bounces at lists.osgeo.org [mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Kenneth Skovhede, GEOGRAF A/S
Sent: Tuesday, March 17, 2009 9:58 AM
To: MapGuide Users Mail List
Subject: Re: [mapguide-users] postgisconnection
Try using "Dependency Walker" on the OGRProvider.dll or PostGISProvider.dll (depending on which you use).
http://www.dependencywalker.com/
I think you need the pglib file from PostGIS.
Regards, Kenneth Skovhede, GEOGRAF A/S
Arnaud De Groof skrev:
Hi,
I tried to connect Mapguide OS 2.0.2 with a PostGreSQL 8.2 + PostGis database via FDO OGR Provider 3.3.0.
I copied the three dll files (PostGISProvider.dll, PostGISOverrides.dll, PostGISMessage.dll) from OSGeo Website into the MapGuideOpenSource2.0\Server\Bin\FDO folder and I updated the providers.xml file.
In MapGuide Maestro, I created a dataconnection with the OSGeo FDO Provider for PostGIS. Unfortunately, when I tested the connection with the specific parameters (database, server, port,..), the following error is encountered:
Error: An exception occurred in FDO component.
Unable to load the FDO Provider: (null)
StackTrace:
- MgFeatureServiceHandler.ProcessOperation line 83 file d:\build\mapguide_open_source_v2.0\build_30.11\mgdev\server\src\services\feature\FeatureServiceHandler.cpp
- MgOpTestFeatureSourceConnection.Execute line 100 file d:\build\mapguide_open_source_v2.0\build_30.11\mgdev\server\src\services\feature\OpTestFeatureSourceConnection.cpp
- MgFdoConnectionManager.Open line 262 file d:\build\mapguide_open_source_v2.0\build_30.11\mgdev\server\src\common\manager\FdoConnectionManager.cpp An exception occurred in FDO component.
Unable to load the FDO Provider: (null)
Thanks
Arnaud De Groof
________________________________
E-MAIL DISCLAIMER
The present message may contain confidential and/or legally privileged information. If you are not the intended addressee and in case of a transmission error, please notify the sender immediately and destroy this E-mail. Disclosure, reproduction or distribution of this document and its possible attachments is strictly forbidden.
SPACEBEL denies all liability for incomplete, improper, inaccurate, intercepted, (partly) destroyed, lost and/or belated transmission of the current information given that unencrypted electronic transmission cannot currently be guaranteed to be secure or error free.
Upon request or in conformity with formal, contractual agreements, an originally signed hard copy will be sent to you to confirm the information contained in this E-mail.
SPACEBEL denies all liability where E-mail is used for private use.
SPACEBEL cannot be held responsible for possible viruses that might corrupt this message and/or your computer system.
________________________________
________________________________
_______________________________________________
mapguide-users mailing list
mapguide-users at lists.osgeo.org<mailto:mapguide-users at lists.osgeo.org>
http://lists.osgeo.org/mailman/listinfo/mapguide-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20090317/ebfb2c20/attachment.html
More information about the mapguide-users
mailing list