ODBC connection error

simflex simflex at millenniumhealthproducts.com
Fri Jun 30 09:50:08 EDT 2006


Team,

Initially, I converted sql server db into a shp file and copied it to the
Data Feature resource via the studio.

For some reason, all I could see is only the FeatureID. According to one of
the list members, Shailesh, apparently objects were not being created when I
created the shp files. 

I decided to use odbc to connect to our sql server db (the manual said it is
possible).

I created a data source, connected to the db via this data source and tried
to test the connection and below is what I got:

System.Net.WebException: The remote server returned an error: (559)
MgFdoException.
   at
Autodesk.MapGuide.Studio.Site.Comm.RequestManager.ExecutePendingGetRequestToString(Operation
operation)
   at
Autodesk.MapGuide.Studio.Site.Comm.RequestManager.TestConnection(String
resourceId, String provider, String connectionString)
   at Autodesk.MapGuide.Studio.Site.FeatureSourceInfo.TestConnection()
   at
Autodesk.MapGuide.Studio.UI.FeatureSourceEditors.TestConnectionControl.buttonTestConnection_Click(Object
sender, EventArgs e)

Does anyone have any clues as to what might have caused this and a possible
solution?

Obviously, this would be a better option for us because we continue to add
to the live db.

Thanks much in advance 
-- 
View this message in context: http://www.nabble.com/ODBC-connection-error-tf1873331.html#a5120731
Sent from the OSGeo MapGuide forum at Nabble.com.





More information about the Mapguide_users mailing list