Posted 25 October 2017, 2:24 am EST
I am using the HTML5 viewer, as defined in the HTML5 Viewer examples, using Javascript to instantiate the control (NOT the .NET control). I can export PDF, Images, Word Docs and everything with no problem. I can even export to Excel on smaller reports with no issues. When I try to export a larger report (~300) pages, using Excel, I get the following after about 10 seconds:
The webpage at http://localhost:52822/ActiveReports.ar11?Token=9ada2d83-f6ba-49e0-8d1d-8a1e063f9e46&Command=Export&ExportType=Xls&Generation=1&Attachment=1 might be temporarily down or it may have moved permanently to a new web address.
ERR_INVALID_RESPONSE
Is there anything I can do (options, etc) that would allow this to create an Excel spreadsheet? Has anyone else seen this problem with the HTML5 example code?
var viewer = GrapeCity.ActiveReports.Viewer({
element: '#viewerContainer',
options: [
{ multisheet: true }
],
report: {
id: server_path.replace(/\\/g, '\\') + getParameterByName("uri"),
parameters: [
{
name: "Username",
value: user_name
}
]
},
reportService: {
url: 'ActiveReports.ReportService.asmx'
},
uiType: 'desktop',
documentLoaded: function reportLoaded()
{
},
error: function (error) {
console.log(error);
}
});
console.log(viewer);