DEV Community

Discussion on: Print PDF and Export Excel from RDLC in Asp.Net Core

Collapse
 
holgerkeller profile image
HolgerKeller

I have a Problem with 2 different report types in one application.
It works only with the report type that I call first.
For the second I got the following exception:

NullReferenceException: Object reference not set to an instance of an object.
AspNetCore.ReportingServices.ReportIntermediateFormat.Paragraph.SetExprHost(TextBoxExprHost textBoxExprHost, ObjectModelImpl reportObjectModel)

ReportProcessingException: An unexpected error occurred in Report Processing.
Object reference not set to an instance of an object.
AspNetCore.ReportingServices.ReportProcessing.Execution.RenderReport.Execute(IRenderingExtension newRenderer)

I would really appreciate any idea.

Thanks

Collapse
 
lazar1389 profile image
Lazar1389

Could you manage to solve this? I Have the same problem, I lost months in solving it. THank you

Collapse
 
holgerkeller profile image
HolgerKeller

I moved to github.com/lkosson/reportviewercore.
It works fine.

Thread Thread
 
lazar1389 profile image
Lazar1389

Thanks for answering. If you have time to help, please send some call of .rdlc report using this "reportviewercore" package.. I am struggling with it. THanks!