Hi Syncfusion team,Is there anyone addressing this problem. I am observing the same issue also.Repro steps,1- Download the attached report and upload to SSRS server.2- In report viewer, configure SSRS url and report path. It gives _reportLoaded:Sf_Exception - System.NullReferenceException: Object reference not set to an instance of an object. at Syncfusion.RDL.Data.ReportModel.ProcessReport() error message.
|
@{
ViewData["Title"] = "ReportViewer ASP.NET CORE Support";
}
<style>
body, html, #reportviewer {
overflow: hidden !important;
height: 100%;
width: 100%;
}
</style>
<ej-report-viewer id="reportviewer1" report-service-url="/Home" report-server-url="http://synclapn2181" report-path="/ConditionalRowFormatting" processing-mode="Remote"></ej-report-viewer>
<ej-script-manager></ej-script-manager> |
|
public void OnInitReportOptions(ReportViewerOptions reportOption)
{
//Adds SSRS Server and Database Credentials here.
reportOption.ReportModel.ReportServerCredential = new System.Net.NetworkCredential("guest", "demo");
reportOption.ReportModel.DataSourceCredentials.Add(new DataSourceCredentials("AdventureWorks", "ssrs1", "RDLReport1"));
}
|
|
public void OnInitReportOptions(ReportViewerOptions reportOption)
{
reportOption.ReportModel.ReportPath = "/ConditionalRowFormatting";
//Adds SSRS Server and Database Credentials here.
reportOption.ReportModel.ReportServerCredential = new System.Net.NetworkCredential("guest", "demo");
reportOption.ReportModel.DataSourceCredentials.Add(new DataSourceCredentials("AdventureWorks", "ssrs1", "RDLReport1"));
reportOption.ReportModel.ProcessingMode = ProcessingMode.Remote;
} |