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.

Reports not rendering

Hi,

   We have rendered the reports using ejReportViewer bold reports. for some reason the parameters entered on the report viewer control is not passed back to the report. Basically the report is always rendered as empty.

   I have attached the Report Service Code,rdl file and the html file. I'm using BoldReports.Net.Core 2.2.34.

Thanks,
Joe



Attachment: Support_a2c49080.zip

12 Replies

VS Vinoth Srinivasan Syncfusion Team June 1, 2020 10:40 AM UTC

Hi Joe, 

We have validated the shared files at our end and found that you are using EJ1 ReportViewer scripts at client and using Bold Reports packages in WebAPI service application. So, we request you to use Bold Reports on both client and server application and you can refer the below help documentation to pass parameter to reportviewer from API controller. 


Regards, 
Vinoth S. 



JS Joe Samraj June 1, 2020 11:26 AM UTC

Thanks for your reply Vinoth.


Actually we are using Angular JS. So I think we can use the jQuery component to display the SSRS report. Do you have any sample file which contains the library needs to be added in the client side (jQuery) and passing parameter to SSRS report?

Thanks,
Joe


JS Joe Samraj June 1, 2020 12:18 PM UTC

Hi Vinoth,

   I have made the changes in the client file. But still the I have the same issue.

Regards,
Joe

Attachment: ssrs_poc__Phantom_JSBoldReports_57d849cc.zip


VS Vinoth Srinivasan Syncfusion Team June 1, 2020 02:27 PM UTC

Hi Joe, 

Actually we are using Angular JS. So I think we can use the jQuery component to display the SSRS report. Do you have any sample file which contains the library needs to be added in the client side (jQuery) and passing parameter to SSRS report? 
We did not consider AngularJS for Bold Reports, since it’s in LTS from July 1st 2018 onwards. Please refer the below forum. 


So, we suggest you use our JavaScript control in your AngularJS application and you can refer the below online forum for using the jQuery control in an AngularJS application.  


Also, you can refer the below help links to initialize our JavaScript ReportViewer and  CSS/Scripts. 


  I have made the changes in the client file. But still the I have the same issue. 
We have tried to pass the parameter from client to ReportViewer and it has been working fine. Please find the below snap for your information. 

 

Please find the below API controller project we have used to validate this from below link. 


Note : You can find the previously shared “Test.rdl” in resources folder and change the DataSource connection to run the report. 

You can modify and share the above API project if you still face any issue. 
 

Regards, 
Vinoth S. 



JS Joe Samraj June 2, 2020 05:12 AM UTC

Vinoth thanks for looking into this. The file you have given is working. When I change the below lines in the API,

 System.IO.FileStream reportStream = new System.IO.FileStream(basePath + @"\Resources\" + reportOption.ReportModel.ReportPath + ".rdl", System.IO.FileMode.Open, System.IO.FileAccess.Read);
            reportOption.ReportModel.Stream = reportStream;

            reportOption.ReportModel.ReportServerCredential = new System.Net.NetworkCredential("*****", "*****");
            reportOption.ReportModel.DataSourceCredentials.Add(new DataSourceCredentials("<datasourcename>", "*****", "*****"));

and changed the client file as below,

reportPath: "QA",
reportPath: "QA/Test"     (Path of the file in report server)


It is not working now.

Thanks,
Joe




Attachment: Support_Syncfusion_b04998c.zip


VS Vinoth Srinivasan Syncfusion Team June 2, 2020 06:49 AM UTC

Hi Joe, 

Could you please confirm the version of SSRS report server you are using. Since pure .Net Core project will support only SSRS 2017 and above server. Also, share the screen snapshot and console error with us to validate this further. 

Regards, 
Vinoth S. 



JS Joe Samraj June 2, 2020 07:34 AM UTC

Hi Vinoth,

   We are using SSRS 2017. I have attached the console errors. Actually we have created a incident for this issue (Incident ID: 279271). Shall we have a call and share screen to debug this?

Regards,
Joe

Attachment: SSRS_Error_dc6ff159.zip


VS Vinoth Srinivasan Syncfusion Team June 2, 2020 10:58 AM UTC

Hi Joe, 

As per the meeting now you are able to send the parameter from client to ReportViewer and report has been rendering properly based on the parameter. 

Regards, 
Vinoth S. 



JS Joe Samraj June 3, 2020 07:04 AM UTC

Thanks Vinoth for your help. One question. The API is publicly accessible is there any authentication needs to be implemented for that? do you have any example/documentation for that?


Thanks,
Joe


VS Vinoth Srinivasan Syncfusion Team June 3, 2020 08:02 AM UTC

Hi Joe, 

Could you please provide more details on which API you are asking and it will be helpful for us to provide the solution. 

Regards, 
Vinoth S. 



JS Joe Samraj June 3, 2020 08:04 AM UTC

Hi Vinoth,


   The .Net Core API project which we create.


Thanks,
Joe


VS Vinoth Srinivasan Syncfusion Team June 3, 2020 01:45 PM UTC

Hi Joe, 

You can include authentication for .NET Core in our Report Viewer API as suggested from framework. 

You can refer the below article for using authorization with Report Viewer API  requests. 

Regards, 
Vinoth S. 


Loader.
Up arrow icon