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
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback
Essential JS2

Syncfusion jQuery based widgets are no longer in active development. Switch to our pure JavaScript based next generation Essential JS 2 library.

Report Does Not Load Shows (GetDataSourceCredential in Console)

Thread ID:





143194 Mar 8,2019 11:37 AM UTC Mar 13,2019 07:33 AM UTC jQuery 3
Tags: ejReportViewer
Mehdi Rezaie
Asked On March 8, 2019 12:12 PM UTC

I am building an application using the ASP.NET BoilerPlate.

I have tried loading the ReportViewer as per the instructions and tutorial given on the official site. The syncfusion used in making the ReportViewer is in Javascript.
I am trying to load the Sales Order Detail.rdl report.
The Data Sources does not show up

Also tried fixing by adding (Did Not Work for Me)
1) (processingMode: ej.ReportViewer.ProcessingMode.Remote) in the Script

2) public void OnInitReportOptions(ReportViewerOptionsreportOption)


     reportOption.ReportModel.ReportServerCredential = System.Net.CredentialCache.DefaultCredentials;


Nothing Worked For me..

Please help me..

Mageshyadav M [Syncfusion]
Replied On March 11, 2019 11:38 AM UTC

Hi Mehdi, 
We were unable to reproduce the mentioned issue with your shared details. So we have prepared the simple sample to load the RDL file in Report Viewer and it can be downloaded from below location. Could you please confirm whether the below sample is working or not at your end. 
If the issue still persists then could you please revert your sample to validate the mentioned problem at our end. 

Mehdi Rezaie
Replied On March 11, 2019 02:53 PM UTC


It didn't worked with the following example too..

I have attached my Project file on which i need to implement the report viewer.
Have a look on the file.

Please Help me with this..
Thank You

Attachment: MyReportDemoProject_ba8e0b71.zip

Mageshyadav M [Syncfusion]
Replied On March 13, 2019 07:33 AM UTC

Hi Mehdi, 
We have shared you working sample only and we were unable to find what type of issue you are facing with our sample.  
Please find the below help documentation for how to use the ReportViewer control in JS application. 
Please find the below steps for how to specify the scripts, assemblies and control specification. 
Step 1: Add theme files and scripts files as shown in below code example. 
    <link rel='nofollow' href="http://cdn.syncfusion.com/" rel="stylesheet" /> 
    <script src="http://code.jquery.com/jquery-1.10.2.min.js" type="text/javascript"></script> 
    <script src="http://cdnjs.cloudflare.com/ajax/libs/jquery-easing/1.3/jquery.easing.min.js" type="text/javascript"></script> 
    <script src="http://cdn.syncfusion.com/" type="text/javascript"></script> 
    <meta charset="utf-8" /> 
Step 2: Add Syncfusion.EJ.ReportViewer assembly and its dependent assemblies as shown in below snap. 
In case of nuget reference, please refer Syncfusion.Web.ReportViewer nuget package as shown below, 
Step 3: Initial the control as shown in below code example. 
    <div style="height: 600px; width: 1250px; min-height: 524px;" id="container"></div> 
    <script type="text/javascript"> 
    $(function () { 
                        reportServiceUrl: "/api/ReportApi", 
                        reportPath: '~/App_Data/GroupingAgg.rdl', 
                        processingMode: ej.ReportViewer.ProcessingMode.Remote 
Step 4: Provide WebAPI controller as shown in below code example 
[EnableCors(origins: "*", headers: "*", methods: "*")] 
    public class ReportApiController : ApiController,IReportController  
        //Post action for processing the rdl/rdlc report  
        public object PostReportAction(Dictionary < string, object > jsonResult)  
            return ReportHelper.ProcessReport(jsonResult, this); 
        //Get action for getting resources from the report 
        public object GetResource(string key, string resourcetype, bool isPrint)  
            return ReportHelper.GetResource(key, resourcetype, isPrint); 
        //Method will be called when initialize the report options before start processing the report         
        public void OnInitReportOptions(ReportViewerOptions reportOption) 
        //Method will be called when reported is loaded 
        public void OnReportLoaded(ReportViewerOptions reportOption)  
We have checked your sample but we were unable to find our control initialization in your application. So could you please share additional details on issue faced in our demo sample so that we can assist you further. Based on our sample reference please take care of our control initialization in your application by yourself. 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon