Alteryx Designer Desktop Knowledge Base

Definitive answers from Designer Desktop experts.

A generic error occurred in GDI+

MarkelioH
Alteryx
Alteryx
Created

Environment Details

 

The following error might occur when running a workflow in Designer. 

 
An Unhandled Exception occurred.

A previous action may not have completed successfully.

Click OK to send the development team the error log so that we can fix this error in a subsequent release. 
 
  • Alteryx Designer
    • All Versions


image.pngimage.png
 


Cause


Checking the logs from %PROGAMFILES%\Alteryx\ErrorLogs\AlteryxGUI shows the following error:
Alteryx Designer x64 - 2019.4.8.22007
Type: System.Runtime.InteropServices.ExternalException
Message: A generic error occurred in GDI+.
Source: System.Drawing
OS Version: Microsoft Windows NT 6.2.9200.0
OS Is x64 Capable: True
Selected Plugin: AlteryxBasePluginsGui.DbFileInput.DbFileInput
Processor: Intel(R) Core(TM) i5-8365U CPU @ 1.60GHz
Private Memory: 341766144
--------------------------------------------
   at System.Drawing.Graphics.CheckErrorStatus(Int32 status)
   at System.Drawing.Graphics.DrawString(String s, Font font, Brush brush, RectangleF layoutRectangle, StringFormat format)
   at DevAge.Drawing.VisualElements.TextGDI.OnDraw(GraphicsCache graphics, RectangleF area)
   at DevAge.Drawing.VisualElements.VisualElementBase.Draw(GraphicsCache graphics, RectangleF area, RectangleF& drawingArea)
   at DevAge.Drawing.VisualElements.ContainerBase.OnDrawContent(GraphicsCache graphics, RectangleF area)
   at DevAge.Drawing.VisualElements.ContainerBase.OnDraw(GraphicsCache graphics, RectangleF area)
   at DevAge.Drawing.VisualElements.VisualElementBase.Draw(GraphicsCache graphics, RectangleF area, RectangleF& drawingArea)
   at SourceGrid.Cells.Views.ViewBase.DrawCell(CellContext cellContext, GraphicsCache graphics, RectangleF rectangle)
   at SourceGrid.GridVirtual.PaintCell(GraphicsCache graphics, CellContext cellContext, RectangleF drawRectangle)
   at SourceGrid.Grid.PaintCell(GraphicsCache graphics, CellContext cellContext, RectangleF drawRectangle)
   at SourceGrid.GridVirtual.OnRangePaint(RangePaintEventArgs e)
   at SourceGrid.GridVirtual.OnPaint(PaintEventArgs e)
   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)


 

Resolution


Checking the Application Event Logs, you will notice that your Antivirus or Security application might have blocked AlteryxCEFRenderer.exe 


image.pngimage.png

AlteryxCEFRenderer.exe is Alteryx Chromium Embedded Framework implementation. Used to render most HTML/JS content within Designer.
Make sure AlteryxCEFRenderer.exe and all Alteryx processes are allowed to run on your environment. 
 

Additional Resources