Code: Select all
Server Error in '/VASS' Application.
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 151: stiReport1.Pages[0].BeforePrint += new EventHandler(Report_BeforePrint);
Line 152: stiReport1.CalculationMode = StiCalculationMode.Interpretation;
Line 153: stiReport1.Render();
Line 154:
Line 155: stiReport1.ExportDocument(StiExportFormat.Pdf, fil, pdf);
Source File: c:\Users\gunde\Documents\Visual Studio 2010\WebSites\VASS\App_Code\Report.cs Line: 153
Stack Trace:
[ArgumentException: Parameter is not valid.]
System.Drawing.Bitmap..ctor(Int32 width, Int32 height, PixelFormat format) +1172029
System.Drawing.Bitmap..ctor(Int32 width, Int32 height) +14
Stimulsoft.Report.Painters.StiChartGdiPainter.GetImage(StiComponent component, Single& zoom, StiExportFormat format) +440
Stimulsoft.Report.Chart.StiChart.GetImage(Single& zoom, StiExportFormat format) +81
Stimulsoft.Report.Chart.StiChart.GetImage(Single& zoom) +43
Stimulsoft.Report.Chart.StiChartHelper.GetImageFromChart(StiChart masterChart) +490
Stimulsoft.Report.Engine.StiChartV2Builder.RenderChart(StiChart masterChart) +374
Stimulsoft.Report.Engine.StiChartV2Builder.InternalRender(StiComponent masterComp) +66
Stimulsoft.Report.Components.StiComponent.InternalRender() +69
Stimulsoft.Report.Engine.StiComponentV2Builder.Render(StiComponent masterComp) +459
Stimulsoft.Report.Components.StiComponent.Render() +68
Stimulsoft.Report.Engine.StiPageHelper.RenderSimpleComponents(StiPage page, StiContainer outContainer) +683
Stimulsoft.Report.Engine.StiStaticBandsHelper.Render() +285
Stimulsoft.Report.Engine.StiEngine.NewList(Boolean skipStaticBands) +140
Stimulsoft.Report.Engine.StiEngine.NewList() +31
Stimulsoft.Report.Engine.StiEngine.NewPage(Boolean ignoreKeepContainers) +3841
Stimulsoft.Report.Engine.StiEngine.NewPage() +34
Stimulsoft.Report.Engine.StiRenderProviderV2.RenderReport(StiReport report, StiReport masterReport, StiRenderState state) +1023
Stimulsoft.Report.Engine.StiRenderProviderV2.Render(StiReport report, StiRenderState state) +6309
Stimulsoft.Report.Engine.StiReportV2Builder.RenderSingleReport(StiReport masterReport, StiRenderState renderState) +1206
Stimulsoft.Report.StiReport.RenderReport(StiRenderState renderState) +3340
Stimulsoft.Report.StiReport.Render(StiRenderState renderState, StiGuiMode guiMode) +1031
Stimulsoft.Report.StiReport.Render(StiRenderState renderState) +38
Stimulsoft.Report.StiReport.Render(Boolean showProgress, Int32 fromPage, Int32 toPage) +69
Stimulsoft.Report.StiReport.Render(Boolean showProgress) +41
Stimulsoft.Report.StiReport.Render() +33