Tuesday, October 26, 2010

How to Display Report Server Reports in a Web Page without the Toolbar


The following worked for me using SSRS 2005, YMMV.

Create a URL with the following form:

The URL of the Report Server:  http://MyServer/ReportServer  
The report parameters: 

  • The first parameter is the URL of the report: http://MyServer/ReportsLibrary/MyReport.rdl
  • rs:Command=Render
  • rc:HTMLFragment=True
  • rc:Toolbar=False
  • rc:Parameters=False
If the report had parameters add them with the following format: MyParameter=MyValue (If a parameter has multiple values just add it many times).

Stick it all together and you get:
http://MyServer/ReportServer?http://MyServer/ReportsLibrary/MyReport.rdl&rs:Command=Render&rc:HTMLFragment=True&rc:Toolbar=False&rc:Parameters=False

Add an IFRAME to the web page using the above URL.