Reporting Services - problem with passing parameters directly in the URL

In one of the projects I had to create reports (using Reporting Services) that then should be accessible from the application I’ve been developing.

As the first thing I created the reports themselves (RDL files), deployed them using the Report Manager (more often http://localhost/Reports or http://localhost/Reports$SQLExpress), and configured so I could access them. However, each time I accessed a report I had to provide the input parameters which were used by the stored procedure in order to deliver appropriate amount of information. I wanted to avoid that by passing the parameters somwhowin the URL.

Google came with two interesting articles: Using SQL reporting services in an asp.net application with some notes on report parameters, and Passing parameters and other options directly through a URL in Reporting Services. I followed the instructions but failed. In fact I got stuck making minor changes to the URL, checking the configuration, googling further…

It was only my friend who spotted that I tried to pass the parameters to the Report Manager using URL similar to http://localhost/Reports/Pages/Report.aspx?ItemPath=XXX&rs:Command=Render&ParamName=ParamValue. Instead I should use the Report Server, so link looking this way: http://localhost/ReportServer/?XXX&rc:parameters=false&rs:Command=Render&ParamName=ParamValue.

Note: Please remember there are two services: Report Manager and Report Server and understand the difference between them. This way you won’t loose presous time, as I did :)

Zemanta Pixie
Share and Enjoy:
  • del.icio.us
  • Digg
  • Technorati
  • Reddit
  • StumbleUpon
  • description
  • Wykop
  • Gwar
  • E-mail this story to a friend!

7 Responses to “Reporting Services - problem with passing parameters directly in the URL”


  1. 1 Dave

    Thanks for pointing this out - I’ve been unsuccessfully trying to pass parameters and hadn’t noticed this. :-S

  2. 2 David K

    Thanks So much, I was in the middle of frustration whan I found this,

  3. 3 Ivano
  4. 4 Chintak

    thanks for pointing out the difference

  5. 5 Mark

    You are a lifesaver! Thanks for posting this information! I was about to lose my mind…

  6. 6 John Schofield

    Thanks a lot trying to sort this out for 3 days

  1. 1 Passing Parameters in URL to view a SSRS Report « Innovations Unlimited

Leave a Reply