Export of a large report in Word
Posted: Thu Jul 06, 2017 12:57 pm
We have a large report that we are trying go export in Word.
The report renders about 1700 pages and also has picture on almost every page.
On the method ExportWord we get "An exception of type 'System.ArgumentException' occurred in System.Drawing.dll but was not handled in user code".
Is there any way we can get this report to work? We are also expecting to generate larger reports.
Code: Select all
report.Render();
var settings = new Stimulsoft.Report.Export.StiWord2007ExportSettings();
var service = new Stimulsoft.Report.Export.StiWord2007ExportService();
var stream = new MemoryStream();
service.ExportWord(report, stream, settings);
On the method ExportWord we get "An exception of type 'System.ArgumentException' occurred in System.Drawing.dll but was not handled in user code".
Is there any way we can get this report to work? We are also expecting to generate larger reports.