Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 01/02/2011 22:23:19
Event time (UTC): 01/02/2011 22:23:19
Event ID: bdee2576e7304b0caac8745211abaed7
Event sequence: 43
Event occurrence: 1
Event detail code: 0
Application information:
Application domain: /LM/W3SVC/488693489/Root-1-129410725642165128
Trust level: Full
Application Virtual Path: /
Application Path: F:\Orchestrator\Web Sites\Test\
Machine name: JR-ORCHESTRATOR
Process information:
Process ID: 5664
Process name: w3wp.exe
Account name: NT AUTHORITY\SYSTEM
Exception information:
Exception type: ExternalException
Exception message: A generic error occurred in GDI+.
Request information:
Request path: /Telerik.ReportViewer.axd
User host address: IP Address
User: sa
Is authenticated: True
Authentication Type: Forms
Thread account name: NT AUTHORITY\SYSTEM
Thread information:
Thread ID: 9
Thread account name: NT AUTHORITY\SYSTEM
Is impersonating: False
Stack trace: at System.Drawing.Image.Save(Stream stream, ImageCodecInfo encoder, EncoderParameters encoderParams)
at System.Drawing.Image.Save(Stream stream, ImageFormat format)
at Telerik.Reporting.HtmlRendering.ChartRenderer.SaveImageInStream(HtmlRenderingContext context, Image image, String mimeType)
at Telerik.Reporting.HtmlRendering.ChartRenderer.RenderInternal(ProcessingElement processingElement, HtmlRenderingContext context)
at Telerik.Reporting.HtmlRendering.HtmlItemRender.Telerik.Reporting.HtmlRendering.IReportItemRender.Render(ProcessingElement processingElement, RenderingContext context)
at Telerik.Reporting.HtmlRendering.RenderingContext.Render(ReportItemBase item)
at Telerik.Reporting.HtmlRendering.Matrix.RenderInternal(HtmlRenderingContext context)
at Telerik.Reporting.HtmlRendering.Matrix.Render(HtmlRenderingContext context)
at Telerik.Reporting.HtmlRendering.ReportSectionBaseRenderer.RenderInternal(ProcessingElement processingElement, HtmlRenderingContext context)
at Telerik.Reporting.HtmlRendering.HtmlItemRender.Telerik.Reporting.HtmlRendering.IReportItemRender.Render(ProcessingElement processingElement, RenderingContext context)
at Telerik.Reporting.HtmlRendering.RenderingContext.Render(ReportItemBase item)
at Telerik.Reporting.HtmlRendering.HtmlPage.RenderReportSections(HtmlWriter bodyWriter)
at Telerik.Reporting.HtmlRendering.HtmlPage.RenderBody(HtmlWriter bodyWriter)
at Telerik.Reporting.HtmlRendering.HtmlPage.Render(HtmlTextWriter primaryWriter, HtmlRenderingContext renderingContext)
at Telerik.Reporting.HtmlRendering.HtmlReport.Render(HtmlTextWriter writer)
at Telerik.Reporting.HtmlRendering.HtmlRenderingExtension.Telerik.Reporting.Processing.IRenderingExtension.Render(Report report, Hashtable renderingContext, Hashtable deviceInfo, CreateStream createStreamCallback, EvaluateHeaderFooterExpressions evalHeaderFooterCallback)
at Telerik.Reporting.Processing.ReportProcessor.Render(IList`1 reports, ExtensionInfo extensionInfo, Hashtable renderingContext, Hashtable deviceInfo, CreateStream createStreamCallback)
at Telerik.Reporting.Processing.ReportProcessor.RenderReport(String format, IReportDocument reportDocument, Hashtable deviceInfo, Hashtable renderingContext, CreateStream createStreamCallback)
at Telerik.ReportViewer.WebForms.ServerReport.Render(HttpResponse response, String format, Int32 pageIndex)
at Telerik.ReportViewer.WebForms.ReportPageOperation.PerformOperation(NameValueCollection urlQuery, HttpContext context)
at Telerik.ReportViewer.WebForms.HttpHandler.ProcessRequest(HttpContext context)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
CustomerFactory f = new CustomerFactory(); Telerik.Reporting.ReportParameter param1 = new Telerik.Reporting.ReportParameter(); param1.Name = "CustomerName"; param1.Type = Telerik.Reporting.ReportParameterType.Integer; param1.AllowBlank = false; param1.Text = "FirstName"; param1.Visible = true; param1.MultiValue = true; param1.AvailableValues.DataSource = f.GetCustomerNames(); param1.AvailableValues.ValueMember = "=Fields.CustomerID"; param1.Value = 0; this.ReportParameters.Add(param1); this.DataSource = f.GetManyCustomers(new int[] { Int32.Parse("=Parameters.CustomerName.Value") });namespace TInvoice { using System; using System.ComponentModel; using System.Drawing; using System.Windows.Forms; using Telerik.Reporting; using Telerik.Reporting.Drawing; using System.Collections.Generic; /// <summary> /// Summary description for Invoice. /// </summary> internal partial class Invoice : Telerik.Reporting.Report { const int LINES_PER_PAGE = 17; public Invoice( ) { /// <summary> /// Required for telerik Reporting designer support /// </summary> InitializeComponent( ); // // TODO: Add any constructor code after InitializeComponent call // } internal Invoice( BL_TInvoice bl ) { //int inooflines; InitializeComponent( ); //_bl = bl; //_ilrep = new InvoiceLine( _bl ); //subReport1.ReportSource = _ilrep; //inooflines = _ilrep._bl.listinvlines.Count; //inoofpages = inooflines / LINES_PER_PAGE; //if ( inooflines != inoofpages * LINES_PER_PAGE ) // inoofpages++; //double fnet = 0; //for ( int i = 0; i < inoofpages; i++ ) { // int startindex = i * LINES_PER_PAGE; // int endindex = startindex + 16; // for ( int i1 = startindex; i1 <= endindex; i1++ ) { // if ( i1 < _ilrep._bl.listinvlines.Count ) // fnet += _ilrep._bl.listinvlines[ i1 ].amount; // } // listcf.Add( fnet ); //} }