Error, when try to export report to temp directory.

Hello. I have my custom report. 
I create some process which export report and send email with report in attachment. 
I have many similar processes and they works good.

In this case I change only culture of report and culture in email (sendRichMail step) in my process, this is the only difference. But in first time i GOT THIS ERROR:

2020-01-27 16:28:57 +03:00 - \VS1815 - VI.JobService.JobComponents.ReportComponent - f33a0767-ee39-4450-a23d-1fcaee6f6e9e: Errors occurred
[System.IndexOutOfRangeException] Index was outside the bounds of the array.
at StdioProcessor.StdioProcessor._Execute(Job job)
at VI.JobService.JobComponents.ReportComponent._TaskExport()
at VI.JobService.JobComponents.ReportComponent._WriteStiReport(ReportEngine engine, String name, IDialogParameterSet parameters, String type, String file, CultureInfo culture, Int32 limitRows)
at Stimulsoft.Report.StiReport.ExportDocument(StiExportFormat exportFormat, String file, StiExportSettings settings)
at Stimulsoft.Report.StiReport.ExportDocument(StiExportFormat exportFormat, StiExportService exportService, Stream stream, StiExportSettings settings)
at Stimulsoft.Report.Export.StiExcelExportService.ExportExcel(StiReport report, Stream stream, StiExcelExportSettings settings)
at Stimulsoft.Report.Export.StiExcelExportService.MakeMainStream(StiReport report, StiPagesCollection allPages)
at Stimulsoft.Report.Export.StiExcelExportService.MakeWorksheetStream(StiPagesCollection pages)

Parents Reply
  • For the test, I exported my process and imported it to another OneIM test stand 8.1.1 and there are no problems. If we talk about the problem stand, then this process worked before, another attribute was added to it in the request in report for output. This is a department. In the report editor, I successfully generate this report without errors. But as I wrote when exporting to .xls format, I get an error.

    I change culture for process step with task ReportComponent - Export (Culture Value = "ru-RU")

Children