Issue | While attempting to export reports, the export fails with the following error logged into the w3wp log file:
<E2ETraceEvent xmlns="http://schemas.microsoft.com/2004/06/E2ETraceEvent"> <System xmlns="http://schemas.microsoft.com/2004/06/windows/eventlog/system"> <Source Name="Archer.NET" /> <Execution ProcessName="w3wp" ProcessID="12364" ThreadID="72" /> <AssemblyVersion>5.5.30400.1008</AssemblyVersion> </System> <ApplicationData> <TraceData> <DataItem> <TraceRecord Severity="Error" xmlns="http://schemas.microsoft.com/2004/10/E2ETraceEvent/TraceRecord"> <TraceIdentifier>Archer.NET</TraceIdentifier> <Description>Exception of type 'System.OutOfMemoryException' was thrown.</Description> <AppDomain> </AppDomain> <Exception> <ExceptionType>System.OutOfMemoryException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=(removed)</ExceptionType> <Message>Exception of type 'System.OutOfMemoryException' was thrown.</Message> <Source>mscorlib</Source> <StackTrace> at System.Collections.Generic.Dictionary`2.Resize(Int32 newSize, Boolean forceNewHashCodes) at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add) at DevExpress.XtraPrinting.Export.Pdf.PdfHashtable.GetRectangle(Single x, Single y, Single width, Single height) at DevExpress.XtraPrinting.Export.Pdf.PdfContents.Rectangle(Single x, Single y, Single width, Single height) at DevExpress.XtraPrinting.Export.Pdf.PdfGraphics.FillRectangle(Brush brush, RectangleF bounds) at DevExpress.XtraPrinting.Native.PSBrickPaint.DrawWarningRect(IGraphics gr, RectangleF r) at DevExpress.XtraPrinting.BrickExporters.BrickBaseExporter.DrawWarningRect(IGraphics gr, RectangleF r, String message) at DevExpress.XtraPrinting.BrickExporters.CompositeBrickExporter.DrawInnerBricks(IGraphics gr, RectangleF rect) at DevExpress.XtraPrinting.BrickExporters.CompositeBrickExporter.<>c__DisplayClass1.<Draw>b__0() at DevExpress.XtraPrinting.BrickExporters.BrickBaseExporter.ExecuteClippedAction(IGraphics gr, RectangleF clipBounds, Action0 action) at DevExpress.XtraPrinting.BrickExporters.CompositeBrickExporter.Draw(IGraphics gr, RectangleF rect, RectangleF parentRect) at DevExpress.XtraPrinting.BrickExporters.PageExporter.DrawPage(IGraphics gr, PointF location) at DevExpress.XtraPrinting.Export.Pdf.PdfDocumentBuilder.CreateDocument(Stream stream, Document document, PdfExportOptions pdfOptions) at DevExpress.XtraPrinting.PrintingSystemBase.ExportToPdf(Stream stream, PdfExportOptions options) at ArcherTech.PrintExport.PrintExportService.RenderRecordData(SessionContext sessionContext, PrintExportCriteria printExportCriteria, Boolean printLayout, Stream output) at ArcherTech.Web.Modules.Foundation.Views.PrintExportPresenter.ExportRecord(SessionContext sessionContext, PrintExportCriteria printExportCriteria)</StackTrace> </Exception> </TraceRecord> </DataItem> </TraceData> </ApplicationData> </E2ETraceEvent> |