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
280
Urgent: System.ArgumentException: Parameter is not valid for UltraChart
posted

I am using UltraChart Version = "9.2", Browsers (IE7, IE8)

I am getting weird issue and it was not consistent to replicate.

Issue is,

 

Parameter is not valid.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

Exception Details: System.ArgumentException: Parameter is not valid.

Source Error:

 

Line 989:        </div>

Line 990:        <div id="TFR">

Line 991:            <igchart:UltraChart ID="ucTFRMetrics" runat="server" Version="9.2" EmptyChartText=""

Line 992:                BackColor="" BackgroundImageFileName="" Width="785px" Height="360px">

Line 993:                <Legend BackgroundColor="Transparent" BorderThickness="0" Font="Microsoft Sans Serif, 9.75pt, style=Bold"


Source File: e:\portal.startek.com\Performance\UserControls\UsrCtrlChartSupervisorDashboard.ascx Line: 991 

Stack Trace:

 

[ArgumentException: Parameter is not valid.]

   System.Drawing.Bitmap..ctor(Int32 width, Int32 height, PixelFormat format) +1047397

   Infragistics.UltraChart.Render.ChartRender.CreateChartBitmap(Int32 width, Int32 height) +98

   Infragistics.UltraChart.Render.ChartRender..ctor(IChartComponent component) +62

   Infragistics.WebUI.UltraWebChart.UltraChart.CreateChart() +434

   Infragistics.WebUI.UltraWebChart.UltraChart..ctor() +404

   ASP.performance_usercontrols_usrctrlchartsupervisordashboard_ascx.__BuildControlucTFRMetrics() in e:\portal.startek.com\Performance\UserControls\UsrCtrlChartSupervisorDashboard.ascx:991

   ASP.performance_usercontrols_usrctrlchartsupervisordashboard_ascx.__BuildControlpnlChart() in e:\portal.startek.com\Performance\UserControls\UsrCtrlChartSupervisorDashboard.ascx:14

   ASP.performance_usercontrols_usrctrlchartsupervisordashboard_ascx.__BuildControlTree(performance_usercontrols_usrctrlchartsupervisordashboard_ascx __ctrl) in e:\portal.startek.com\Performance\UserControls\UsrCtrlChartSupervisorDashboard.ascx:1

   ASP.performance_usercontrols_usrctrlchartsupervisordashboard_ascx.FrameworkInitialize() in c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\6091955d\8ee0b068\App_Web__vd0bqg5.4.cs:0

   System.Web.UI.UserControl.InitializeAsUserControlInternal() +35

   System.Web.UI.UserControl.InitializeAsUserControl(Page page) +14

   ASP.performance_usercontrols_usrctrlmyperformanceagent_ascx.__BuildControlUsrCtrlChartSupervisorDashboard1() in e:\portal.startek.com\Performance\UserControls\UsrCtrlMyPerformanceAgent.ascx:192

   ASP.performance_usercontrols_usrctrlmyperformanceagent_ascx.__BuildControl__control2(Control __ctrl) in e:\portal.startek.com\Performance\UserControls\UsrCtrlMyPerformanceAgent.ascx:189

   System.Web.UI.CompiledTemplateBuilder.InstantiateIn(Control container) +12

   System.Web.UI.UpdatePanel.CreateContents() +65

   System.Web.UI.UpdatePanel.set_ContentTemplate(ITemplate value) +53

   ASP.performance_usercontrols_usrctrlmyperformanceagent_ascx.__BuildControlupChart() in e:\portal.startek.com\Performance\UserControls\UsrCtrlMyPerformanceAgent.ascx:189

   ASP.performance_usercontrols_usrctrlmyperformanceagent_ascx.__BuildControlphUserControls() in e:\portal.startek.com\Performance\UserControls\UsrCtrlMyPerformanceAgent.ascx:188

   ASP.performance_usercontrols_usrctrlmyperformanceagent_ascx.__BuildControlTree(performance_usercontrols_usrctrlmyperformanceagent_ascx __ctrl) in e:\portal.startek.com\Performance\UserControls\UsrCtrlMyPerformanceAgent.ascx:1

   ASP.performance_usercontrols_usrctrlmyperformanceagent_ascx.FrameworkInitialize() in c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\6091955d\8ee0b068\App_Web_uuair3hl.0.cs:0

   System.Web.UI.UserControl.InitializeAsUserControlInternal() +35

   System.Web.UI.UserControl.InitializeAsUserControl(Page page) +14

   ASP.performance_performance_aspx.__BuildControlUsrCtrlMyPerformanceAgent() in e:\portal.startek.com\Performance\Performance.aspx:65

   ASP.performance_performance_aspx.__BuildControl__control3(Control __ctrl) in e:\portal.startek.com\Performance\Performance.aspx:52

   System.Web.UI.CompiledTemplateBuilder.InstantiateIn(Control container) +12

   System.Web.UI.UpdatePanel.CreateContents() +65

   System.Web.UI.UpdatePanel.set_ContentTemplate(ITemplate value) +53

   ASP.performance_performance_aspx.__BuildControlUpdatePanelTabDetails() in e:\portal.startek.com\Performance\Performance.aspx:52

   ASP.performance_performance_aspx.__BuildControldivMiddleContent() in e:\portal.startek.com\Performance\Performance.aspx:13

   ASP.performance_performance_aspx.__BuildControlContent1(Control __ctrl) in e:\portal.startek.com\Performance\Performance.aspx:12

   System.Web.UI.CompiledTemplateBuilder.InstantiateIn(Control container) +12

   ASP.masterpages_performancemgmt_master.__BuildControlCphMiddleContent() in e:\portal.startek.com\MasterPages\PerformanceMgmt.Master:293

   ASP.masterpages_performancemgmt_master.__BuildControlcontent() in e:\portal.startek.com\MasterPages\PerformanceMgmt.Master:246

   ASP.masterpages_performancemgmt_master.__BuildControlForm1() in e:\portal.startek.com\MasterPages\PerformanceMgmt.Master:35

   ASP.masterpages_performancemgmt_master.__BuildControlTree(masterpages_performancemgmt_master __ctrl) in e:\portal.startek.com\MasterPages\PerformanceMgmt.Master:1

   ASP.masterpages_performancemgmt_master.FrameworkInitialize() in c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NETFiles\root\6091955d\8ee0b068\App_Web_0mgt3vhk.0.cs:0

   System.Web.UI.UserControl.InitializeAsUserControlInternal() +35

   System.Web.UI.MasterPage.CreateMaster(TemplateControl owner, HttpContext context, VirtualPath masterPageFile, IDictionary contentTemplateCollection) +8668271

   System.Web.UI.Page.get_Master() +51

   System.Web.UI.Page.ApplyMasterPage() +15

   System.Web.UI.Page.PerformPreInit() +45

   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +282

 

 

Can you please let me know the root cause and the work around to fix it ASAP as its a show stopper for us.

 

---------------

Thank you.

Pavan.