We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

HELP: Object reference not set to an instance of an object

We are currently READY to buy Cells and Slides for Reporting Services and are finishing our evaluation. One of our developers is writing code to call a report from our test SSRS instance where Aspose.Cells is installed. He is using ReportView.Webforms class

he gets a report back in XLSX format, but the report throws an error:

An error occurred while exporting the report.
error message Object reference not set to an instance of an object.
stack trace at Aspose.Cells.ReportingServices.ReportItem.x5d9a63140eb6b015.x371199ffb90e9000(PageSection x2cdf3f377952dbb1, Boolean x59c6d00e0898f6b8)
at Aspose.Cells.ReportingServices.ReportItem.x5d9a63140eb6b015.GetReportDefine()
at Aspose.Cells.ReportingServices.Renderer.x287918d12b9d430a(Report x64343a0786fb9a3f, NameValueCollection x4d7e972a483f38e6, NameValueCollection x769338e163ee6eb4, NameValueCollection x69ea43ef171861cd, Hashtable& xcc726f61cfb91835, CreateAndRegisterStream x6af66da7eca40f82)
at Aspose.Cells.ReportingServices.Renderer.Render(Report report, NameValueCollection reportServerParameters, NameValueCollection deviceInfo, NameValueCollection clientCapabilities, Hashtable& renderProperties, CreateAndRegisterStream createAndRegisterStream)

We need to know very quickly what this means, and in the meantime he is going to try the same call using the SSRS Web Service

We are running: Microsoft SQL Server Reporting Services Version 10.50.1600.1

Aspose Cells; v1.7.0.58

Hi ,

Thank you for considering Aspose.Cells for Reporting Services.

Please post your report define (.RDL) file here.

We will check it ASAP.

Thank you

While i think there may be an issue that you should look it with calling SSRS through ReportViewer.Webforms and using your rendering extension, we switched the code to call SSRS Web Service and we did not get an error

We do not need immediate assistance any longer



Please let us know the Report Viewer version which you use.

Now, we only support two Report Viewer version (8.0 and 9.0).