Parameter is not valid RRS feed

  • Question

  • Hi,
    I have the  issue "Parameter is not valid" error from users. But in my program i'm not using or loading any images. Unfortunately i'm not able to regenerate. Breaking my head from past 2 days. Any suggestion helpful.
    Below is the reportbug which i got from the user

    <!-- @page { margin: 0.79in } P { margin-bottom: 0.08in } -->

    Description: System.ArgumentException: Parameter is not valid.
       at System.Drawing.Graphics.GetHdc()
       at Infragistics.Win.UltraWinGrid.ExcelExport.UltraGridExcelExporter..ctor()
       at NetCode.frmViewCodes.InitializeComponent()
       at NetCode.frmViewCodes..ctor()
       at NetCode.frmViewCodes.instance()
       at NetCode.frmMain.UltraToolbarsManager1_ToolClick(Object sender, ToolClickEventArgs e)

    AssemblyQualifiedName: System.Drawing.Graphics, System.Drawing, Version=, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
    Form: NetCode - [Search Visit Numbers]
    User: bhaskarm
    Module: Graphics
    Method: ();ReportBug();UltraToolbarsManager1_ToolClick();OnToolClick();FireEvent();OnToolClick();DoClickProcessing
    Base Exception: Parameter is not valid.
    Exception: Parameter is not valid.
    Inner Exception:
    JobID: 0

    Monday, June 15, 2009 9:12 AM