This is probably because the default GDAL/OGR dll available with FDO does not 
include GDAL support. You can try using this provider DLL:

http://13-9.com/OGRProvider-3.3.0.zip

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.

Traian


From: fdo-users-boun...@lists.osgeo.org 
[mailto:fdo-users-boun...@lists.osgeo.org] On Behalf Of Paulo Azevedo
Sent: Wednesday, February 04, 2009 12:17 PM
To: mapguide-users@lists.osgeo.org; portu...@lists.osgeo.org; 
fdo-us...@lists.osgeo.org
Subject: [fdo-users] FDO OGR Provider for PostGreSQL 8.3 + PostGis

Hi all,

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.
Connect failed:
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!

Best regards,
Paulo





_______________________________________________
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Reply via email to