Go to the mapagent interface:

http://yourmapguideserver:port/mapguide/mapagent/index.html

Click "Feature" under "Services API"

Click "GetSchemas"

Enter the resource id of the feature source and click "Submit"

If you get xml content, then click "DescribeSchema" and enter the same
resource id and enter the name of the schema that was returned by
GetSchemas, and click "Submit"

If you get xml content here, then there must be a problem somewhere with
Maestro because the mapagent (that Maestro is talking to) is reporting
everything as working fine.

If you didn't get any xml content with "GetSchemas" or "DescribeSchema" then
something is wrong on the PostGIS provider side.

- Jackie


nasp wrote:
> 
> Hi, 
> I successfully installe PostGre 8.3.4 with Postgis 1.3.5 on windows Vista.
> I also have Mapguide 2.0.2. 
> I created a new data connection with Mapguide Maestro that refers to a
> postgis database. The database has 1 table with 1 colum of type geometry. 
> When I do "Test Connection" with Maestro, I get 
> "The povider reported non errors" 
> 
> Then I created a layer based on that connection and I got the message: 
> 
> Failed to get schema from datasource.[..] 
> The remote server returned an error: (559) MgConnectionFailedException.: 
> Cannot Establish a connection.....ExecuteDescribeSchema. 
> 
> If I try to connect to database via OGR Provider-Postgis and It works
> fine. 
> 
> Could someone help me, please? 
> 
> Thank you in advance. 
> 
> Naspi
> 

-- 
View this message in context: 
http://n2.nabble.com/FDO-Provider-for-Postgis-ERROR-tp2674319p2674365.html
Sent from the MapGuide Users mailing list archive at Nabble.com.

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

Reply via email to