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
40
Receiving "A generic error occurred in GDI+."
posted

Hello, I am trying to solve a problem we are having. We have clients running our software over Terminal Services (running on various Windows OS/Server versions).  Occasionally, they will receive the following error/stack trace:

A generic error occurred in GDI+.  

=>System.Drawing.Bitmap.FromHicon(...)  

=>System.Drawing.Icon.ToBitmap(...)  

=>Infragistics.Win.UltraWinGrid.RowSelectorUIElement.DrawImage(...)  

=>Infragistics.Win.UIElement.DrawElement(...)  

=>Infragistics.Win.UIElement.DrawChildElements(...)  

=>Infragistics.Win.UIElement.DrawElement(...)  

=>Infragistics.Win.UIElement.DrawChildElements(...)  

=>Infragistics.Win.UIElement.DrawElement(...)  

=>Infragistics.Win.UIElement.DrawChildElements(...)  

=>Infragistics.Win.UIElement.DrawElement(...)  

=>Infragistics.Win.UIElement.DrawChildElements(...)  

=>Infragistics.Win.UIElement.DrawElement(...)  

=>Infragistics.Win.UIElement.DrawHelper(...)  

=>Infragistics.Win.ControlUIElementBase.Draw(...)  

=>Infragistics.Win.ControlUIElementBase.Draw(...)  

=>Infragistics.Win.UltraWinGrid.UltraGridUIElement.Draw(...)  

=>Infragistics.Win.UltraControlBase.OnPaint(...)  

=>Infragistics.Win.UltraWinGrid.UltraGrid.OnPaint(...)  

=>System.Windows.Forms.Control.PaintWithErrorHandling(...)  

=>System.Windows.Forms.Control.WmPaint(...)  

=>System.Windows.Forms.Control.WndProc(...)  

=>System.Windows.Forms.Control.ControlNativeWindow.OnMessage(...)  

=>System.Windows.Forms.Control.ControlNativeWindow.WndProc(...)  

=>System.Windows.Forms.NativeWindow.Callback(...)  

We have been unable to replicate this error in-house, and we've been told that it happens randomly, that there is no step-by-step procedure to get this to happen consistently.
Has anyone else experienced this problem, or does anyone know of anything I can try to resolve this error?
Thanks,
Sean