ThinkGeo.com    |     Documentation    |     Premium Support

FDO Connect Failed

Good Evening, I'm having an issue with loading 2 .mdb files using the FDO extension. I have other .mdb files that all load fine, but these two give an error when I load them. The permissions and everything appear to be the same on the different files and they all came from the same place. I'm hoping you might have some ideas for me to try to debug this? So far, I've had no luck.


Exception: "Exception has been thrown by the target of an invocation."


Source: "DesktopEdition"


StackTrace: "   at ThinkGeo.MapSuite.DesktopEdition.Overlay.Draw(GeoCanvas canvas)\r\n   at ThinkGeo.MapSuite.DesktopEdition.WinformsMap.xef6cc4fa8fda72d7(RectangleShape xb35a33b423b17f65, Overlay x99251f66cdabc2ad, Int32 xa209325f5c895f7e, Int32 x7454a0d1965919b1, GeographyUnit xbb704b4400ce6f76)\r\n   at ThinkGeo.MapSuite.DesktopEdition.WinformsMap.xef6cc4fa8fda72d7(Object x9c95f4613bdc3113)\r\n   at System.Threading._ThreadPoolWaitCallback.WaitCallback_Context(Object state)\r\n   at System.Threading.ExecutionContext.runTryCode(Object userData)\r\n   at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)\r\n   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)\r\n   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)\r\n   at System.Threading._ThreadPoolWaitCallback.PerformWaitCallbackInternal(_ThreadPoolWaitCallback tpWaitCallBack)\r\n   at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback(Object state)"


InnerException: {"Connect failed: "} [OSGeo.FDO.Common.Exception]


Source: "OSGeo.FDO"


StackTrace: "   at OSGeo.FDO.Connections.IConnectionImp.Open()\r\n   at MapSuiteFdoExtension.GeoFdoFeatureSource.Open(String providerName, String connectionString, String idColumnName, String featureSchemaName, String featureClassName, String geometryColumnName)"


Any ideas on what I can try?


 


My code is really simple of course and all the mdb files I'm loading call the same method to define the layers.


PersonalGeoDatabaseFeatureLayer layer = new PersonalGeoDatabaseFeatureLayer(fileName, idColumn) and then I set the projection for the google layer and define my styles for areas and all that. It's pretty straightforward.


Thanks!


Kimberly


 



Kimberly, 
  
 I am sorry for this problem. My initial gussing is that there could be some special characters or values that not supported very well in the other 2 mdb files. Could you send us the mdb files?  
  
 If you want, you could send files to support@thinkgeo.com and ask to forword to Yale. 
  
 Any more questions just feel free to let me know. 
  
 Thanks. 
  
 Yale 


I sent an email just now. I can’t provide you with the files directly, but I suppose there’s at least some chance you might already have them.  
  
 I’m curious about the “Connect Failed” error message if really it’s a problem with some special characters, but who knows.

Kimberly, 
  
 Yes, probablly some special characters will cause some unexpected problems.  We tested some .mdb files , all of them works just fine. 
  
 I just want to make sure your “sent an email” means sending the data to our support? I did not see his email about the data. 
  
 Any more questions just feel free to let me know. 
  
 Thanks. 
  
 Yale