Don,
Here is a different error message that we got on a non-dev machine. Again, everything work fine on our dev box.
************** Exception Text **************
System.ArgumentNullException: Value cannot be null.
Parameter name: ptr
at System.Runtime.InteropServices.Marshal.GetDelegateForFunctionPointer(IntPtr ptr, Type t)
at xRM=.AEY=.BEY=()
at xRM=.AEY=.DEY=(Bitmap bitmap, Double[] sourceWorldfileData, String sourceProjectionString, String targetProjectionString, Double[] targetWorldfileData)
at xRM=.AEY=.CEY=(Bitmap sourceBitmap, RectangleShape extent, String sourceProjectionString, String targetProjectionString, RectangleShape targetMinExtent)
at ThinkGeo.MapSuite.Core.ManagedProj4Projection.ConvertToExternalProjectionCore(GeoImage image, RectangleShape imageExtent)
at ThinkGeo.MapSuite.Core.RasterSource.GetImage(RectangleShape worldExtent, Int32 canvasWidth, Int32 canvasHeight)
at ThinkGeo.MapSuite.Core.RasterLayer.DrawCore(GeoCanvas canvas, Collection1 labelsInAllLayers) at ThinkGeo.MapSuite.Core.Layer.Draw(GeoCanvas canvas, Collection
1 labelsInAllLayers)
at ThinkGeo.MapSuite.DesktopEdition.LayerOverlay.DrawCore(GeoCanvas canvas)
at ThinkGeo.MapSuite.DesktopEdition.Overlay.4BQ=(GeoCanvas canvas)
at ThinkGeo.MapSuite.DesktopEdition.Overlay.Draw(GeoCanvas canvas)
at ThinkGeo.MapSuite.DesktopEdition.WinformsMap.qRU=(IEnumerable`1 drawingOverlays, RectangleShape extent)
at ThinkGeo.MapSuite.DesktopEdition.WinformsMap.qBU=(RectangleShape drawingExtent, RectangleShape extent)
at ThinkGeo.MapSuite.DesktopEdition.WinformsMap.yRU=(RectangleShape extent)
at ThinkGeo.MapSuite.DesktopEdition.WinformsMap.wxU=(InteractionArguments interactionArguments)
at ThinkGeo.MapSuite.DesktopEdition.WinformsMap.tRU=(Object sender, OxY= e)
at ThinkGeo.MapSuite.DesktopEdition.MouseEventAnalyzer.OnMouseEvent(OxY= e)
at ThinkGeo.MapSuite.DesktopEdition.WinformsMap.whU=(Object sender, MouseEventArgs e)
at System.Windows.Forms.MouseEventHandler.Invoke(Object sender, MouseEventArgs e)
at System.Windows.Forms.Control.OnMouseWheel(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseWheel(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Our other problem that involved the merge modules also worked correctly on my dev machine, but did not work in the client’s machine until the merge modules were included in the build. That’s what made me think this could be the same issue, because both worked on the dev box but not on the client box.
Hopefully this error message will give you more info. Our map unit is set to meters, and again all the NOAA layers work fine on my dev machine.