Wednesday, December 22, 2010

Using RS Scripter to create deployment script for reporting services

If you are using SSRS then chances are high to come across a scenario where you want to deploy reports developed on development machine to the production server, there are various ways to do this and one of them is to use RS Scripter tool. Here are the steps to do this -

1. Creating Report Deployment Script

  1. Download the Reporting Services Scripter -
  2. Update the servers.xml; change the reportservice value if your ReportServer name is different.
    <server label="SQL2000" reportservice="http://localhost/ReportServer/ReportService.asmx" />
    <server label="SQL2005" reportservice="http://localhost/ReportServer/ReportService2005.asmx" />
  3. Run the RSScripter.exe.
  4. Click on Options, and select the options selected in images below( for more information about Scripting Options check the readme file - –
  5. Change the SQL 2005 RS EXE Location in the Global tab as per the location of SQL server and Apply –
  6. Select SQL 2005 from the Report Server dropdown and click on Get Catalog, all the reports, data source, Schedules, Roles etc present in report server will be displayed –
  7. Select all the reports, data source, schedules and roles you want to transfer.
Change the output directory path (Should not be machine/user specific e.g. Desktop) e.g. C:\AClickReports and click on Script. The script for loading the specified items will be generated to the specified folder.

2. Deploying the Reports

  1. Ensure that you have IIS and dot net framework 2.0 is installed on report server.
  2. While installing SQL server 2005 select reporting services option.
  3. Follow the report server configuration steps and make sure "Report Server Configuration Manager" is all green ticks?
  4. Follow these steps to publish reports –
    1. Extract the AClickReports folder to the report server, C: Drive.
    2. Open the “RS Scripter Load All Items.cmd” file located in AClickReports folder for editing.
    3. Change the SCRIPTLOCATION Script variable value to the location where AClickReports folder is copied (Should be same to the output directory path selected in step 3.8)
        SET SCRIPTLOCATION=C:\ AClickReports\
    4. Change the RS Script variable value to the location where Microsoft SQL Server is installed (if it is different from the default C drive).
      SET RS="C:\Program Files\Microsoft SQL Server\90\Tools\Bin\RS.EXE"
    5. Run the RS Scripter Load All Items.cmd batch file, it will publish the reports to the report server.        

Follow these steps to verify that reports are deployed correctly
    1. Go to http://localhost/Reports/Pages/Folder.aspx,
    2. Open the Data Sources you should see data sources selected in step 1.7
    3. Open the data source and update the data source details as per the configuration of report server(if they are different) and apply.
    4. Go back to Home page and click on the report folder selected in step 1.7 , select one of the reports and click onEdit button, then click on the Data Sources link ; Make sure that the data source is configured properly.
    5. Repeat the steps from 2.5.2 to 2.5.4 for other data sources and report folders.
               I  am also new to this scripter  I just have an Idea about this tool. As of my review this will successfully provide report deployment script to client with every release without facing any major issue. I would highly recommend you to use this for deploying your reports on client machines.


  1. You have copy-pasted this article from which was published on hursday, January 29, 2009

  2. Thanks for pointing that out Swati :) Not sure what to say about this plagiarism, sad :(
    -- akjoshi

  3. very informative blog and useful article thank you for sharing with us , keep posting learn more about BI Tools Tableau Online Training