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