Solved

Running report in SSRS 2008 R2 from the command line

Posted on 2011-03-25
2
932 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
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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

In this short article I will be talking about two functions in the SQL Server Reporting Services (SSRS) function stack.  Those functions are IIF() and Switch().  And I'll be showing you how easy it is to add an Else part to the Switch function. T…
How to use Variables  and Custom code in SSRS report and Assembly reference to use compile shared code in SSRS. Its big question for all who are working with SSRS. It is easy to create assembly and refer in SSRS report, still there are some steps…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

828 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