Solved

Running report in SSRS 2008 R2 from the command line

Posted on 2011-03-25
2
933 Views
Last Modified: 2012-05-11
How do I run a report in SSRS 2008 R2 from the command line, passing in parameters?
For example if my report is

servername = myserver
reportname = myreport
parameters = begindate, enddate, so_number
0
Comment
Question by:bmorriso99
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 17

Accepted Solution

by:
dbaSQL earned 500 total points
ID: 35222704
Can be done with RS, and then run at the cmd line like this:
rs –i c:\scriptfiles\script_copycontent.rss -s http://localhost/reportserver

Check this out:
http://social.msdn.microsoft.com/Forums/en-US/sqlreportingservices/thread/1398b94a-be3b-4943-8305-2e7e2b7cca05/
0
 

Author Comment

by:bmorriso99
ID: 35244187
I can see that you can do many things with scripting and I understand the command line argument but I cannot find what to do in the script to actually run the report. Is it the 'render' command?
0

Featured Post

How our DevOps Teams Maximize Uptime

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us. Read the use case whitepaper.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
SSRS - Suppress row when blank from 2nd dataset 2 72
SSRS Report Runtime Error 20 71
SSRS Matrix Grand Total 2 72
How can I setup ssrs report  as UTF-8 . 7 28
Hi All, I am here to write a simple article to move SSRS (SQL Server Reporting Services) reports from one server to another. When I have faced the same issue to move reports those were developed by developer on development server and now need to …
Introduction In the following article I’ll be discussing and demonstrating several different ways of how images can be put on a report. I’m using SQL Server Reporting Services 2008 R2 CTP, more precisely version 10.50.1352.12, but the methods ex…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question