Problem:
I try to instantiate LocalReport (using var report = new LocalReport();) ReportViewerCore.NETCore package and I get the following error message:
System.MethodAccessException: 'Attempt by method 'Microsoft.Reporting.NETCore.LocalReport..ctor()' to access method 'Microsoft.ReportingServices.StandalonePreviewStore..ctor()' failed.'
Objectif:
Implement subreport in report.
Reporting works when I use AspNetCore.Reporting package, but I don't have any clue how to do with the AspNetCore.Reporting package. When I try implementing subreport, i get the following message:
The subreport 'a_subreport' could not be found at the specified location ... Please verify that the subreport has been published and that the name is correct.
Tries:
Finding//implementing solution with similar topic in stackoverflow, in CodeProject and related topics from diverse site / youtube videos.
Framework NET CORE 5.0
By the way, I am new with rdlc report.