MapSuite Team,
I’ve just updated my applications to MapSuite Development V8.0.14.0. After the update I am no longer able to open my MrSid Layers.
I’m encountering the below exception – External component has thrown an exception.
The exception is encountered on a (MrSidRasterLayer).Open().
I’ve done nothing with the usual MrSid dll’s. Is there a new set of MrSid dll’s?
Thanks,
Dennis
System.AccessViolationException was unhandled
HResult=-2147467261
Message=Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
Source=MapSuiteCore
StackTrace:
at 3RM=.oz4=.6yQ=(String pj4=)
at ThinkGeo.MapSuite.Core.GisImage.fB8=(String fR8=)
at ThinkGeo.MapSuite.Core.MrSidRasterSource.OpenCore()
at ThinkGeo.MapSuite.Core.RasterSource.Open()
at ThinkGeo.MapSuite.Core.RasterLayer.OpenCore()
at ThinkGeo.MapSuite.Core.Layer.Open()
at OriStarVisionMapSuite.clsMapLayerItemCollection.LoadRasterWildCard(clsMapLayerItem& oMapLayerItem) in C:\OriStarMappingInc\OriStarVisionMapSuite\OriStarVisionMapSuite\clsMapLayer.cs:line 926
at OriStarVisionMapSuite.clsMapLayerItemCollection.Load(OleDb& OleDataBase) in C:\OriStarMappingInc\OriStarVisionMapSuite\OriStarVisionMapSuite\clsMapLayer.cs:line 587
at OriStarVisionMapSuite.MapInitialization.MapInitialize() in C:\OriStarMappingInc\OriStarVisionMapSuite\OriStarVisionMapSuite\cfMapInitialization.cs:line 91
at OriStarVisionMapSuite.ucMap.Initialize(String sProvider, String sMapDatabaseName) in C:\OriStarMappingInc\OriStarVisionMapSuite\OriStarVisionMapSuite\ucMap.xaml.cs:line 633
at OriStarVision.OnStartUp.dtMapLoad_Tick(Object sender, EventArgs e) in C:\OriStarMappingInc\OriStarVision\cfOnStartUp.cs:line 435
at System.Windows.Threading.DispatcherTimer.FireTick(Object unused)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
at System.Windows.Threading.DispatcherOperation.InvokeImpl()
at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Windows.Threading.DispatcherOperation.Invoke()
at System.Windows.Threading.Dispatcher.ProcessQueue()
at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
at System.Windows.Threading.Dispatcher.Run()
at System.Windows.Application.RunDispatcher(Object ignore)
at System.Windows.Application.RunInternal(Window window)
at System.Windows.Application.Run(Window window)
at System.Windows.Application.Run()
at OriStarVision.App.Main() in C:\OriStarMappingInc\OriStarVision\obj\x86\Debug\App.g.cs:line 0
at System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)
at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
InnerException:
MapSuite V8 & MrSid's
Hi Dennis,
Please check the reply at thinkgeo.com/forums/MapSuite/tabid/143/aft/12096/Default.aspx.
Thanks,
Johnny