Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
150
Generic Error in GDI+ (Red X on All Toolbars)
posted

Several of our customers are having problems with application crashes that manifest themselves in the same way (all toolbars crash with the the red X across the toolbar controls in our MainFrame client).  Crashes are random and happening fairly frequently at a couple of different sites.  Operating System is Windows 7 64-bit, Infragistics 11.1.20111.2020.  This error seems to be happening in several different scenarios for other Infragistics developers.  I thought I would post my Stack Trace and see if anybody has seen this before.  It appears that it's in a normal refresh when Infragistics needs to draw it's controls.  This problem is going critical for me now I must find a fix soon.

Thanks,

Derek

See the end of this message for details on invoking 
just-in-time (JIT) debugging instead of this dialog box.
 
************** Exception Text **************
System.Runtime.InteropServices.ExternalException (0x80004005): A generic error occurred in GDI+.
   at System.Drawing.Image.FromHbitmap(IntPtr hbitmap, IntPtr hpalette)
   at System.Drawing.Image.FromHbitmap(IntPtr hbitmap)
   at System.Windows.Forms.ImageList.GetBitmap(Int32 index)
   at System.Windows.Forms.ImageList.ImageCollection.get_Item(Int32 index)
   at Infragistics.Win.AppearanceData.GetImageFromImageList(Object image, ImageList imageList)
   at Infragistics.Win.UltraWinStatusBar.UltraStatusBar.Infragistics.Win.IUIElementImageAndTextProvider.GetImage(ImageAndTextUIElement element)
   at Infragistics.Win.ImageAndTextUIElement.PositionChildElements()
   at Infragistics.Win.UIElement.VerifyChildElements(ControlUIElementBase controlElement, Boolean recursive)
   at Infragistics.Win.UIElement.VerifyChildElements(ControlUIElementBase controlElement, Boolean recursive)
   at Infragistics.Win.UIElement.VerifyChildElements(ControlUIElementBase controlElement, Boolean recursive)
   at Infragistics.Win.UIElement.VerifyChildElements(ControlUIElementBase controlElement, Boolean recursive)
   at Infragistics.Win.UIElement.DrawHelper(Graphics graphics, Rectangle invalidRectangle, Boolean doubleBuffer, AlphaBlendMode alphaBlendMode, Boolean clipText, Boolean forceDrawAsFocused, Boolean preventAlphaBlendGraphics)
   at Infragistics.Win.UIElement.Draw(Graphics graphics, Rectangle invalidRectangle, Boolean doubleBuffer, AlphaBlendMode alphaBlendMode, Boolean forceDrawAsFocused, Boolean preventAlphaBlendGraphics)
   at Infragistics.Win.ControlUIElementBase.Draw(Graphics graphics, Rectangle invalidRectangle, Boolean doubleBuffer, AlphaBlendMode alphaBlendMode, Size elementSize, Boolean preventAlphaBlendGraphics)
   at Infragistics.Win.ControlUIElementBase.Draw(Graphics graphics, Rectangle invalidRectangle, Boolean doubleBuffer, AlphaBlendMode alphaBlendMode, Size elementSize)
   at Infragistics.Win.ControlUIElementBase.Draw(Graphics graphics, Rectangle invalidRectangle, Boolean doubleBuffer, AlphaBlendMode alphaBlendMode)
   at Infragistics.Win.UltraControlBase.OnPaint(PaintEventArgs pe)
   at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer)
   at System.Windows.Forms.Control.WmPaint(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
 
 
************** Loaded Assemblies **************
mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.239 (RTMGDR.030319-2300)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
GeoCue
    Assembly Version: 2011.1.20.1
    Win32 Version: 2011.1.20.1
    CodeBase: file:///C:/Program%20Files/GeoCue/GeoCue%20Client/GeoCue.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.235 built by: RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1 built by: RTMRel
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.232 built by: RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
DotSpatial.Controls
    Assembly Version: 0.11.9.6
    Win32 Version: 0.11.9.6
    CodeBase: file:///C:/Program%20Files/GeoCue/GeoCue%20Client/DotSpatial.Controls.DLL
----------------------------------------
DotSpatial.Symbology
    Assembly Version: 0.11.9.6
    Win32 Version: 0.11.9.6
    CodeBase: file:///C:/Program%20Files/GeoCue/GeoCue%20Client/DotSpatial.Symbology.DLL
----------------------------------------
DotSpatial.Data
    Assembly Version: 0.11.9.6
    Win32 Version: 0.11.9.6
    CodeBase: file:///C:/Program%20Files/GeoCue/GeoCue%20Client/DotSpatial.Data.DLL
----------------------------------------
DotSpatial.Projections
    Assembly Version: 0.11.9.6
    Win32 Version: 0.11.9.6
    CodeBase: file:///C:/Program%20Files/GeoCue/GeoCue%20Client/DotSpatial.Projections.DLL
----------------------------------------
System.Core
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1 built by: RTMRel
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
DotSpatial.Topology
    Assembly Version: 0.11.9.6
    Win32 Version: 0.11.9.6
    CodeBase: file:///C:/Program%20Files/GeoCue/GeoCue%20Client/DotSpatial.Topology.DLL
----------------------------------------
Infragistics2.Win.v11.1
    Assembly Version: 11.1.20111.2020
    Win32 Version: 11.1.20111.2020
    CodeBase: file:///C:/Program%20Files/GeoCue/GeoCue%20Client/Infragistics2.Win.v11.1.DLL
----------------------------------------
System.Data
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.Xml
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1 built by: RTMRel
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
GeoCueDotSpatial
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files/GeoCue/GeoCue%20Client/GeoCueDotSpatial.DLL
----------------------------------------
RepositoryAPI
    Assembly Version: 1.2.0.1
    Win32 Version: 1.2.0.1
    CodeBase: file:///C:/Program%20Files/GeoCue/GeoCue%20Client/RepositoryAPI.DLL
----------------------------------------
RepositoryClient
    Assembly Version: 1.2.0.0
    Win32 Version: 1.2.0.0
    CodeBase: file:///C:/Program%20Files/GeoCue/GeoCue%20Client/RepositoryClient.DLL
----------------------------------------
RepositoryShared
    Assembly Version: 1.6.0.0
    Win32 Version: 1.6.0.0
    CodeBase: file:///C:/Program%20Files/GeoCue/GeoCue%20Client/RepositoryShared.DLL
----------------------------------------
EARTHLib
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files/GeoCue/GeoCue%20Client/EARTHLib.DLL
----------------------------------------
Infragistics2.Shared.v11.1
    Assembly Version: 11.1.20111.2020
    Win32 Version: 11.1.20111.2020
    CodeBase: file:///C:/Program%20Files/GeoCue/GeoCue%20Client/Infragistics2.Shared.v11.1.DLL
----------------------------------------
Infragistics2.Win.UltraWinGrid.v11.1
    Assembly Version: 11.1.20111.2020
    Win32 Version: 11.1.20111.2020
    CodeBase: file:///C:/Program%20Files/GeoCue/GeoCue%20Client/Infragistics2.Win.UltraWinGrid.v11.1.DLL
----------------------------------------
Infragistics2.Win.UltraWinDataSource.v11.1
    Assembly Version: 11.1.20111.2020
    Win32 Version: 11.1.20111.2020
    CodeBase: file:///C:/Program%20Files/GeoCue/GeoCue%20Client/Infragistics2.Win.UltraWinDataSource.v11.1.DLL
----------------------------------------
Infragistics2.Win.UltraWinTabControl.v11.1
    Assembly Version: 11.1.20111.2020
    Win32 Version: 11.1.20111.2020
    CodeBase: file:///C:/Program%20Files/GeoCue/GeoCue%20Client/Infragistics2.Win.UltraWinTabControl.v11.1.DLL
----------------------------------------
Infragistics2.Win.UltraWinToolbars.v11.1
    Assembly Version: 11.1.20111.2020
    Win32 Version: 11.1.20111.2020
    CodeBase: file:///C:/Program%20Files/GeoCue/GeoCue%20Client/Infragistics2.Win.UltraWinToolbars.v11.1.DLL
----------------------------------------
Infragistics2.Win.UltraWinTree.v11.1
    Assembly Version: 11.1.20111.2020
    Win32 Version: 11.1.20111.2020
    CodeBase: file:///C:/Program%20Files/GeoCue/GeoCue%20Client/Infragistics2.Win.UltraWinTree.v11.1.DLL
----------------------------------------
Infragistics2.Win.UltraWinStatusBar.v11.1
    Assembly Version: 11.1.20111.2020
    Win32 Version: 11.1.20111.2020
    CodeBase: file:///C:/Program%20Files/GeoCue/GeoCue%20Client/Infragistics2.Win.UltraWinStatusBar.v11.1.DLL
----------------------------------------
Infragistics2.Win.UltraWinDock.v11.1
    Assembly Version: 11.1.20111.2020
    Win32 Version: 11.1.20111.2020
    CodeBase: file:///C:/Program%20Files/GeoCue/GeoCue%20Client/Infragistics2.Win.UltraWinDock.v11.1.DLL
----------------------------------------
Infragistics2.Win.Misc.v11.1
    Assembly Version: 11.1.20111.2020
    Win32 Version: 11.1.20111.2020
    CodeBase: file:///C:/Program%20Files/GeoCue/GeoCue%20Client/Infragistics2.Win.Misc.v11.1.DLL
----------------------------------------
Infragistics2.Win.UltraWinEditors.v11.1
    Assembly Version: 11.1.20111.2020
    Win32 Version: 11.1.20111.2020
    CodeBase: file:///C:/Program%20Files/GeoCue/GeoCue%20Client/Infragistics2.Win.UltraWinEditors.v11.1.DLL
----------------------------------------
DotSpatial.Serialization
    Assembly Version: 0.11.9.6
    Win32 Version: 0.11.9.6
    CodeBase: file:///C:/Program%20Files/GeoCue/GeoCue%20Client/DotSpatial.Serialization.DLL
----------------------------------------
System.Configuration
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
Accessibility
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1 built by: RTMRel
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
System.Numerics
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1 built by: RTMRel
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll
----------------------------------------
RasterEngine
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files/GeoCue/GeoCue%20Client/RasterEngine.DLL
----------------------------------------
NIIRS10Utilities
    Assembly Version: 1.2.0.0
    Win32 Version: 1.2.0.0
    CodeBase: file:///C:/Program%20Files/GeoCue/GeoCue%20Client/NIIRS10Utilities.DLL
----------------------------------------
gdal_csharp
    Assembly Version: 1.0.4092.13603
    Win32 Version: 1.0.4092.13603
    CodeBase: file:///C:/Program%20Files/GeoCue/GeoCue%20Client/gdal_csharp.DLL
----------------------------------------
GeoCueUtility
    Assembly Version: 1.2.0.0
    Win32 Version: 1.2.0.0
    CodeBase: file:///C:/Program%20Files/GeoCue/GeoCue%20Client/GeoCueUtility.DLL
----------------------------------------
RepositoryFederatorClientShared
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files/GeoCue/GeoCue%20Client/RepositoryFederatorClientShared.DLL
----------------------------------------
System.Runtime.Remoting
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Remoting/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------
CustomMarshalers
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/CustomMarshalers/v4.0_4.0.0.0__b03f5f7f11d50a3a/CustomMarshalers.dll
----------------------------------------
GeoCue.Shared.Strings
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files/GeoCue/GeoCue%20Client/GeoCue.Shared.Strings.DLL
----------------------------------------
GCFederator.AutoClientProxies
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files/GeoCue/GeoCue%20Client/GCFederator.AutoClientProxies.DLL
----------------------------------------
System.ServiceModel
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1 built by: RTMRel
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.ServiceModel/v4.0_4.0.0.0__b77a5c561934e089/System.ServiceModel.dll
----------------------------------------
System.Web
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1 built by: RTMRel
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/System.Web/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Web.dll
----------------------------------------
System.Deployment
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Deployment/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Deployment.dll
----------------------------------------
System.Runtime.Serialization.Formatters.Soap
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Serialization.Formatters.Soap/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Runtime.Serialization.Formatters.Soap.dll
----------------------------------------
BruTile
    Assembly Version: 0.5.1.0
    Win32 Version: 0.5.1.0
    CodeBase: file:///C:/Program%20Files/GeoCue/GeoCue%20Client/BruTile.DLL
----------------------------------------
RasterEngineUtils
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files/GeoCue/GeoCue%20Client/RasterEngineUtils.DLL
----------------------------------------
System.Xaml
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1 built by: RTMRel
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xaml/v4.0_4.0.0.0__b77a5c561934e089/System.Xaml.dll
----------------------------------------
GeoCueCmdParams
    Assembly Version: 1.2.0.0
    Win32 Version: 1.2.0.0
    CodeBase: file:///C:/Program%20Files/GeoCue/GeoCue%20Client/GeoCueCmdParams.DLL
----------------------------------------
Infragistics2.Win.UltraWinPrintPreviewDialog.v11.1
    Assembly Version: 11.1.20111.2020
    Win32 Version: 11.1.20111.2020
    CodeBase: file:///C:/Program%20Files/GeoCue/GeoCue%20Client/Infragistics2.Win.UltraWinPrintPreviewDialog.v11.1.DLL
----------------------------------------
Infragistics2.Win.UltraWinGrid.ExcelExport.v11.1
    Assembly Version: 11.1.20111.2020
    Win32 Version: 11.1.20111.2020
    CodeBase: file:///C:/Program%20Files/GeoCue/GeoCue%20Client/Infragistics2.Win.UltraWinGrid.ExcelExport.v11.1.DLL
----------------------------------------
Infragistics2.Documents.Excel.v11.1
    Assembly Version: 11.1.20111.2020
    Win32 Version: 11.1.20111.2020
    CodeBase: file:///C:/Program%20Files/GeoCue/GeoCue%20Client/Infragistics2.Documents.Excel.v11.1.DLL
----------------------------------------
r4lrw5ty
    Assembly Version: 1.2.0.0
    Win32 Version: 4.0.30319.232 built by: RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
Microsoft.VisualBasic
    Assembly Version: 10.0.0.0
    Win32 Version: 10.0.30319.1 built by: RTMRel
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
GCGeomUtils
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files/GeoCue/GeoCue%20Client/GCGeomUtils.DLL
----------------------------------------
 
Parents
No Data
Reply Children
No Data