[mapguide-users] RE: [fdo-users] FDO OGR Provider for PostGreSQL
8.3 + PostGis
traian.stanev at autodesk.com
Wed Feb 4 14:59:44 EST 2009
This is probably because the default GDAL/OGR dll available with FDO does not include GDAL support. You can try using this provider DLL:
It is static-linked to a GDAL that's compiled with Postgres support. Note that it requires that the libpq.dll (the PostgresSQL support dll) be somewhere in the system path.
From: fdo-users-bounces at lists.osgeo.org [mailto:fdo-users-bounces at lists.osgeo.org] On Behalf Of Paulo Azevedo
Sent: Wednesday, February 04, 2009 12:17 PM
To: mapguide-users at lists.osgeo.org; portugal at lists.osgeo.org; fdo-users at lists.osgeo.org
Subject: [fdo-users] FDO OGR Provider for PostGreSQL 8.3 + PostGis
I'm trying to connect Mapguide OS 2.0.2 with a PostGreSQL 8.3 + PostGis database via FDO OGR Provider 3.3.0.
I have downloaded the provider dll from OSGeo Website, and put them in the MapGuideOpenSource2.0\Server\Bin\FDO folder and updated the providers.xml file.
After that i try to create a DataConnection in MapGuide Maestro, selected the OSGeo FDO Provider for OGR then i fill the DataSource field whith PG:host=myHost dbname=myDBName user=myUser password=myPassword port=5432 (this are fake names) and the Readonly field with TRUE, but when i press the Test connection button occurs the following error:
The remote server returned an error: (559) MgFdoException.:
An exception occurred in FDO component.
Exception occurred in method MgFdoConnectionManager.Open at line 858 in file d:\build\mapguide_open_source_v2.0\build_30.11\mgdev\server\src\common\manager\FdoConnectionManager.cpp
Did i forget some step or DLL?
Thanks for your time!
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the mapguide-users