I want to embed reports to a MVC application which are hosted on Azure Reporting Server.
Do any one have any idea ?
You'll be aware that the regular ReportViewer is not MVC-friendly (if ever there was an understatement...)
My approach has been to use the Report Execution service (https:///reportserver/ReportExecution2005.asmx) directly.
Basic steps are:
I've encapsulated this lot in a controller action that returns a Content ActionResult containing the report.
You'll have to forego most of the rich interactive features, as they don't tend to play nicely (or you can put the work into sorting out why).
However, I'm now moving away from SQL Azure Reporting Services. For my application, I found it was just too slow and limited. SQL Azure will terminate a query that takes more than a minute and in my case (primarily because of the complexity of the underlying queries) many of my reports consistently time out.
Your mileage, of course, may vary.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With