<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<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;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
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.E-mailStijl17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
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]-->
</head>
<body lang=NL link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal>Hi list,<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><span lang=EN-US>Somebody from the mapguide lijst told me
about this list so I just subscribed. I ‘m new to this game and an
newbie, but learned a lot the last couple of months.<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>I finally managed to build the following
setup:<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Winxp<br>
Mapguide 2.1<br>
Mapguide Maestro<br>
Postgresql 8.4<br>
Postgis 1.4<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>I’ve filled the database (postgresql)
with data from open street map with osm2pgsql. I can connect from Udig to
postgis and from Quantum Gis (1.3 !!! 1.0 included with osgeo4w is not working).
So my postgis setups works.<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>In mapguide maestro I go through the
following steps:<br>
Create a new resource>data connection<br>
OSGEO FDO Provider for Postgis<br>
Database: osm (is visible in Udig)<br>
server: I tried localhost </span><a href="http://localhost/" target="_blank"><span
lang=EN-US>http://localhost/</span></a><span lang=EN-US> 127.0.0.1 http:// </span><a
href="http://127.0.0.1/" target="_blank"><span lang=EN-US>127.0.0.1/</span></a><span
lang=EN-US><br>
Port: 5432<br>
Tried all three credentials but think it must be Specified Credentials with user
postgres and my secret password ;)<br>
Press test connection and then the following error appears:<br>
De externe server heeft een fout geretourneerd: (559) MgFdoException.: An exception
occurred in FDO component. Unable to load the FDO Provider: Kan opgegeven
module niet vinden. (some of this is Dutch... for cannot find the module)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Somebody told me to test the fdo with
depends.exe. This way we found out that libpq.dll is missing. After installing “
a version of libpq.dll” I was able to run the the test connection. It
returned no errors and I save the connection. After this I need a layer to
connect to the data. Unfortunately I ge the following error:<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>De externe server heeft een fout
geretourneerd: (559) MgFdoException.: (dutch for the external server returned
an error)<br>
An exception occurred in FDO component.<br>
Unable to load the FDO Provider: (null)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>The errorlog tells me:<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><2009-09-18T10:40:23>
3508<br>
127.0.0.1
Administrator<br>
Error: An exception occurred in FDO component.<br>
Unable to load the FDO Provider: (null)<br>
StackTrace:<br>
- MgFeatureServiceHandler.ProcessOperation line 83 file<br>
c:\osgeo\mapguide_21\mgdev\server\src\services\feature\FeatureServiceHandler.cpp<br>
- MgOpTestFeatureSourceConnection.Execute line 100 file<br>
c:\osgeo\mapguide_21\mgdev\server\src\services\feature\OpTestFeatureSourceConnection.cpp<br>
- MgFdoConnectionManager.Open line 262 file<br>
c:\osgeo\mapguide_21\mgdev\server\src\common\manager\FdoConnectionManager.cpp<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>It looks like the problem lies within the
libpq.dll file. Anybody a thought on how to solve this problem...<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Thanks in advance, Remco (The Netherlands)<br>
<br>
<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;font-family:"Times New Roman","serif"'><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
</div>
</body>
</html>