We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Starting in 2019, the Reporting control is no longer included in Essential Studio. If you're experiencing issues with the Syncfusion Reporting Platform, Report Viewer, Report Designer, or Report Writer, we recommend migrating to Bold Reports, our dedicated reporting platform.

Bold Reports offers a comprehensive suite of tools and features for all your reporting needs, and we will help you make a smooth transition from the discontinued control. Our support team at https://support.boldreports.com/ is here to assist you with any questions or difficulties you may encounter during the migration process.

We thank you for choosing Syncfusion and appreciate your understanding.

SSRS Server Reports using ASP.NET CORE

Does Syncfusion Reportviewer support SSRS Server reports in ASP.NET Core?

If yes can you please provide example


1 Reply

VS Vinoth Srinivasan Syncfusion Team August 19, 2019 05:39 AM UTC

Hi Chiranjiv, 

Thanks for your interest with our Syncfusion products. 

We have prepared the sample to load the SSRS server report in our ASP.NET Core ReportViewer control for your reference and it can be downloaded from below location.  

We need to pass the SSRS report server URL and credentials to retrieve the report from SSRS server in our ReportViewer.  

Please find the below help documentation for how to configure the SSRS server in our ReportViewer.  

Please find the below code snippet for how to pass a server URL, report path in client side.  
    ViewData["Title"] = "ReportViewer ASP.NET CORE Support";  
    body, html, #reportviewer {  
        overflow: hidden !important;  
        height: 100%;  
        width: 100%;  
@*<ej-report-viewer id="reportviewer1" report-service-url="../Home" report-server-url="<pass your SSRS server URL>" report-path="<pass your report path>" />*@  
<ej-report-viewer id="reportviewer1" report-service-url="../Home" report-server-url="http://localhost/ReportServer" report-path="/CustomerTesting" processing-mode="Remote" />  
Please find the below code snippet for how to pass the server credentials, and if we use datasource with credentials then how to pass the credentials for datasource in server side.  
        public void OnInitReportOptions(Syncfusion.EJ.ReportViewer.ReportViewerOptions reportOption)  
            //Adds SSRS Server and Database Credentials here.  
            //reportOption.ReportModel.ReportServerCredential = new System.Net.NetworkCredential("<pass Server username>", "<pass password>");  
            reportOption.ReportModel.ReportServerCredential = new System.Net.NetworkCredential("testing","testing@123");  
            //reportOption.ReportModel.DataSourceCredentials.Add(new DataSourceCredentials("<pass Datasource name>", "<pass User name>", "<pass password>"));  
            reportOption.ReportModel.DataSourceCredentials.Add(new DataSourceCredentials("FADatasource","sa", "test@123"));  
The Syncfusion ASP.NET Core 2.0 Report Viewer supports to load only the SQL 2017 Reporting services API reports only. Because Microsoft has provided needed API Service access for only SSRS 2017 in ASP.NET core platform. Due to restrictions in API, the lower version of SSRS API Services are not accessible fully in ASP.NET Core platform.  
Note: We have provided dummy credentials in the sample shared hence please replace your server url, sample name, server credential and datasource credential to test the above sample. 

Vinoth S. 

Live Chat Icon For mobile
Up arrow icon