exception during excel export or huge documents
Posted: Fri Mar 15, 2013 4:22 pm
Hello!
I discovered a problem during excel export of documents. I have a really huge report - more than 7500 pages on a rendered report, number of lines over 100000 -, and I am unable to export it to excel (pdf works fine). The excel export ends with the following excetion:
Unhandled Exception: System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Stimulsoft.Report.Export.StiExcelExportService.dwFill(Int32 position, Byte dataValue, Int32 count)
at Stimulsoft.Report.Export.StiExcelExportService.WriteToOLEContainer()
at Stimulsoft.Report.Export.StiExcelExportService.ExportExcel(StiReport report, Stream stream, StiExcelExportSettings settings)
at Stimulsoft.Report.StiReport.ExportDocument(StiExportFormat exportFormat, StiExportService exportService, Stream stream, StiExportSettings settings)
at Stimulsoft.Report.StiReport.ExportDocument(StiExportFormat exportFormat, Stream stream, StiExportSettings settings)
at Stimulsoft.Report.StiReport.ExportDocument(StiExportFormat exportFormat, String file, StiExportSettings settings)
Also the memory consumption was also quite high, before the exception it was over 2 GB. Could you please look at the exception? Thank you.
Jozef
I discovered a problem during excel export of documents. I have a really huge report - more than 7500 pages on a rendered report, number of lines over 100000 -, and I am unable to export it to excel (pdf works fine). The excel export ends with the following excetion:
Unhandled Exception: System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Stimulsoft.Report.Export.StiExcelExportService.dwFill(Int32 position, Byte dataValue, Int32 count)
at Stimulsoft.Report.Export.StiExcelExportService.WriteToOLEContainer()
at Stimulsoft.Report.Export.StiExcelExportService.ExportExcel(StiReport report, Stream stream, StiExcelExportSettings settings)
at Stimulsoft.Report.StiReport.ExportDocument(StiExportFormat exportFormat, StiExportService exportService, Stream stream, StiExportSettings settings)
at Stimulsoft.Report.StiReport.ExportDocument(StiExportFormat exportFormat, Stream stream, StiExportSettings settings)
at Stimulsoft.Report.StiReport.ExportDocument(StiExportFormat exportFormat, String file, StiExportSettings settings)
Also the memory consumption was also quite high, before the exception it was over 2 GB. Could you please look at the exception? Thank you.
Jozef