<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hello Traian.<br>
<br>
Thanks for the fast reply.<br>
This solution work for me.<br>
<br>
Many thanks.<br>
<br>
Paulo <br>
<span
style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);"></span><br>
<br>
<br>
Traian Stanev wrote:
<blockquote
cite="mid:D20FC5C02CA4AB41891CFE76D91C57A94AC63A26B6@ADSK-NAMSG-02.MGDADSK.autodesk.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html; ">
<meta name="Generator" content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="Section1">
<p class="MsoNormal"><span
style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);">This
is probably because the default GDAL/OGR dll available with
FDO does not include GDAL support. You can try using this provider DLL:<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);"><a
moz-do-not-send="true" href="http://13-9.com/OGRProvider-3.3.0.zip">http://13-9.com/OGRProvider-3.3.0.zip</a><o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);">It
is static-linked to a GDAL that’s compiled with Postgres
support. Note that it requires that the <b>libpq.dll</b> (the
PostgresSQL
support dll) be somewhere in the system path.<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);">Traian<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);"><o:p> </o:p></span></p>
<div>
<div
style="border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0in 0in;">
<p class="MsoNormal"><b><span
style="font-size: 10pt; font-family: "Tahoma","sans-serif"; color: windowtext;">From:</span></b><span
style="font-size: 10pt; font-family: "Tahoma","sans-serif"; color: windowtext;">
<a class="moz-txt-link-abbreviated" href="mailto:fdo-users-bounces@lists.osgeo.org">fdo-users-bounces@lists.osgeo.org</a>
[<a class="moz-txt-link-freetext" href="mailto:fdo-users-bounces@lists.osgeo.org">mailto:fdo-users-bounces@lists.osgeo.org</a>] <b>On Behalf Of </b>Paulo
Azevedo<br>
<b>Sent:</b> Wednesday, February 04, 2009 12:17 PM<br>
<b>To:</b> <a class="moz-txt-link-abbreviated" href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a>; <a class="moz-txt-link-abbreviated" href="mailto:portugal@lists.osgeo.org">portugal@lists.osgeo.org</a>;
<a class="moz-txt-link-abbreviated" href="mailto:fdo-users@lists.osgeo.org">fdo-users@lists.osgeo.org</a><br>
<b>Subject:</b> [fdo-users] FDO OGR Provider for PostGreSQL 8.3 +
PostGis<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-bottom: 12pt;"><span
style="font-family: "Arial","sans-serif";">Hi
all,<br>
<br>
I'm trying to connect Mapguide OS 2.0.2 with a PostGreSQL 8.3 + PostGis
database via FDO OGR Provider 3.3.0.<br>
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.<br>
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:<br>
<br>
<b>The remote server returned an error: (559) MgFdoException.: <br>
An exception occurred in FDO component.<br>
Connect failed: <br>
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</b><br>
<br>
Did i forget some step or DLL?</span><br>
<br>
<span style="font-family: "Arial","sans-serif";">Thanks for your time!</span><br>
<span style="font-family: "Arial","sans-serif";"><br>
Best regards,<br>
Paulo<br>
<br>
<br>
<br>
<br>
<br>
</span><o:p></o:p></p>
</div>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
fdo-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:fdo-users@lists.osgeo.org">fdo-users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/fdo-users">http://lists.osgeo.org/mailman/listinfo/fdo-users</a>
</pre>
</blockquote>
<br>
</body>
</html>