[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mapguide-users
Subject:    [mapguide-users] Connecting to Feature Source
From:       cwallace <wallace.cam () gmail ! com>
Date:       2013-12-31 18:45:49
Message-ID: 1388515549491-5095965.post () n6 ! nabble ! com
[Download RAW message or body]

I'm having trouble connecting to database feature stores... I keep getting
this error:

/Validating resource:
Session:3daa7c7e-7248-11e3-8000-0022b0be628e_en_MTI3LjAuMC4x0AFC0AFB0AFA//3d74b4fe-0229-403f-afe8-f65b448fac21.FeatureSource
 Error - Error_FeatureSource_SpatialContextReadError: Failed to read spatial
context: 
	The remote server returned an error: (559) MgFdoException.: 
An exception occurred in FDO component.
Error occurred in Feature Source
(Session:3daa7c7e-7248-11e3-8000-0022b0be628e_en_MTI3LjAuMC4x0AFC0AFB0AFA//3d74b4fe-0229-403f-afe8-f65b448fac21.FeatureSource):
                
RDBMS: [PGRES_FATAL_ERROR] ERROR:  relation "geometry_columns" does not
exist
LINE 6:  from  geometry_columns a
               ^
  (Cause: , Root Cause: RDBMS: [PGRES_FATAL_ERROR] ERROR:  relation
"geometry_columns" does not exist
LINE 6:  from  geometry_columns a
               ^
 )

- MgFeatureServiceHandler.ProcessOperation() line 83 file
c:\working\build_area\mapguide\2.5.2\x86\mgdev\server\src\services\feature\FeatureServiceHandler.cpp
                
- MgOpGetSpatialContexts.Execute() line 105 file
c:\working\build_area\mapguide\2.5.2\x86\mgdev\server\src\services\feature\OpGetSpatialContexts.cpp
                
- MgServerFeatureService.GetSpatialContexts() line 976 file
c:\working\build_area\mapguide\2.5.2\x86\mgdev\server\src\services\feature\ServerFeatureService.cpp
                
- MgServerGetSpatialContexts.GetSpatialContexts() line 100 file
c:\working\build_area\mapguide\2.5.2\x86\mgdev\server\src\services\feature\ServerGetSpatialContexts.cpp



	The remote server returned an error: (559) MgFdoException./

When I try to connect to my PostGIS db, or even a SpatialLite db...
I can connect to them just fine using QGIS. 

When connecting through the New Resource dialogue, I've been leaving the
Service box blank, putting in my username and password for the locally
hosted db, then selecting the postgres data store (the only option
available. This way the Test Connection dialogue returns "True". As soon as
I try to save I get the above error...



--
View this message in context: \
http://osgeo-org.1560.x6.nabble.com/Connecting-to-Feature-Source-tp5095965.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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic