We're looking to develop an upgrade to our existing ASP.NET application in MVC3. Our current app is IE only based and the upgrade will be browser neutral, i.e. it must work in IE8+, firefox, chrome and safari.
The main issue we have is that we have a number of reports based on SQL Reporting Services 2008 R2 and we use the Report Viewer 2010 control.
We don't really want to use this going forward because:
I'd really like to replace it with an alternative (even if its viewstate based and we have to hack in a solution with MVC) but I've not been able to find one. Is there an alternative control out there that renders Reporting Services reports? It's the viewer we want to replace, not RS.
To view the SQL statement for a report In the Monitoring workspace, expand Reporting, and then select Reports. Select the report for which you want to view the SQL statement and then, in the Home tab, in the Report Group group, select Edit. The Report Builder window opens.
Click Start, then click All Programs, then click Microsoft SQL Server, and then click SQL Server Management Studio. The Connect to Server dialog box appears. If the Connect to Server dialog box doesn't appear, in Object Explorer, click Connect and then select Reporting Services.
This log is on by default and can be found in: C:\Program Files\Microsoft SQL Server\MSRSXX. SQL2012\Reporting Services\LogFiles or some variation depending on your SQL Server installation. The file name starts with "ReportServerService_ "and then is suffixed with the date and time and ".
Report Builder implements the same Report Designer that is provided by SQL Server Reporting Services (SSRS) and the SQL Server Data Tools (SSDT) development tool.
We wanted to integrate SSRS with out existing website but didn't want to use the SSRS UI (since it's very much it's own website) and we didn't want to uses the Report View Controls (although we have an ASP.NET Website, the report viewer controls have limited options for making it do what you want). The solution that worked for us was:
Call the SSRS Web Service to return a list of Reports, and drop the values into a Drop Down List.
Read the report path from the Drop Down List and get the SSRS Web Service that returns the parameters of the selected report.
Build input controls based on what came back in #2.
Users supply the input values and submit the form.
The page passes the values to the SSRS Web Service and gets back a PDF, Excel, Word document based on what the user requested.
This wasn't all that hard (it took < 40-hours to code & test) and works really well. The biggest issue we have is supporting different versions of the SSRS Web Service as you move from one version of SSRS to another.
I'm guessing if you wanted to output the reports as HTML and pump that to the UI, you could do that too.
Obviously if you want to all users to edit report properties, create subscriptions, etc -- you'll have additional work to do.
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