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.

bad routing with reportviewer

I'm using 3.1.31

My report controller is named
ReportViewerController
with [Route("/api/[controller]/[action]")]

in VS this works fine
report-service-url="/api/ReportViewer" 

on a real IIS server with url http://localhost/mySite it tries to route to

http://localhost/api/ReportViewer/

I have use this to make it work outside of VS
report-service-url="/mySite/api/ReportViewer" 

Is there a way to resolve this so the same code works in VS and production?

1 Reply 1 reply marked as answer

MS Muthuramana Sankaranarayanan Syncfusion Team June 9, 2021 10:18 AM UTC

Hi Justin, 

This can be achieved using the “Url.Action()” function to map the domain url and load the sub application. Please find below forum for your reference, 

The above is for ASP.NET MVC. You can look for similar solution and update your application based on your application development platform. 

Regards, 
Muthu Ramana S 


Marked as answer
Loader.
Up arrow icon