I sometimes encounter this exception just before map draws when I attempt to manually zoom into a certain scale and extent. What does this error mean? This is the stack trace.
12/24/2010 13:52:59
Type : System.ArgumentException, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Message : Parameter is not valid.
Source : System.Drawing
Help link :
ParamName :
Data : System.Collections.ListDictionaryInternal
TargetSite : Void .ctor(Int32, Int32, System.Drawing.Imaging.PixelFormat)
Stack Trace : at System.Drawing.Bitmap..ctor(Int32 width, Int32 height, PixelFormat format)
at System.Drawing.Bitmap..ctor(Int32 width, Int32 height)
at ThinkGeo.MapSuite.WpfDesktopEdition.BackgroundOverlay.DrawCore(RectangleShape targetExtent, OverlayRefreshType refreshType)
at ThinkGeo.MapSuite.WpfDesktopEdition.Overlay.Draw(RectangleShape targetExtent, OverlayRefreshType refreshType)
at ThinkGeo.MapSuite.WpfDesktopEdition.WpfMap.xdffbdec6f15e90de(Overlay xa02b1470fea9c9a6, RectangleShape x224aab0b7185a66c, OverlayRefreshType xea455b1d2fcd13a5)
at ThinkGeo.MapSuite.WpfDesktopEdition.WpfMap.x67118a339906032f(IEnumerable`1 x9ffed0592b3382fa, RectangleShape x224aab0b7185a66c, OverlayRefreshType x2f080d7afcb67ec7)
at ThinkGeo.MapSuite.WpfDesktopEdition.WpfMap.x67118a339906032f(RectangleShape x224aab0b7185a66c, OverlayRefreshType x2f080d7afcb67ec7)
at ThinkGeo.MapSuite.WpfDesktopEdition.WpfMap.DrawCore(RectangleShape targetExtent, OverlayRefreshType overlayRefreshType)
at ThinkGeo.MapSuite.WpfDesktopEdition.WpfMap.Draw(RectangleShape targetExtent, OverlayRefreshType refreshType)
at ThinkGeo.MapSuite.WpfDesktopEdition.WpfMap.x51d3a13ecd447601(RectangleShape x224aab0b7185a66c)
at ThinkGeo.MapSuite.WpfDesktopEdition.WpfMap.ZoomToScale(Double targetScale)
at EMS.ThinkGeoLibrary.Controllers.MapMasterController.ZoomToFullExtent() in C:\dev\LUT600 2.1.1\OCC600\Source\GIS\Modules\ThinkGeo\ThinkGeoLibrary\Controllers\MapMasterController.cs:line 832
at EMS.ThinkGeoLibrary.Controllers.MapMasterController.OnMapInitialized(Object sender, DataEventArgs`1 e) in C:\dev\LUT600 2.1.1\OCC600\Source\GIS\Modules\ThinkGeo\ThinkGeoLibrary\Controllers\MapMasterController.cs:line 1103
TIA.