I want to embed reports to a MVC application which are hosted on Azure Reporting Server.
Do any one have any idea ?
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.
You may want to give active reports a try,active reports supports hosting reports on a Azure.You can find more details about creating a MVC application using Active Reports here
http://www.gcpowertools.info/2011/11/using-active-reports-in-mvc-3.html
You can find more about Active Reports here and about Azure support here