We have a bunch of reports deployed on SSRS 2008 r2. These are accessed through a browser normally.
We also have a VB Application - through which some of the above reports are accessed using WebBrowser.Navigate(string)
The report I'm trying to access is a report that contains a whole bunch of sub reports. the main report simply takes and passes the parameters to sub reports.
I have a report I'm accessing currently through this vb application. It's named 1190_Marketing_Detail.rdl
and it takes branch location as parameter.
Below is the string I'm passing and it works. The same string/url I place in the browser address bar, I get the report.
If I remove the parameter LocationID=40 I get an appropriate error message similar to the first bullet point below.
"http://reports.organization.net/ReportServer/Pages/ReportViewer.aspx?/APA/1190_Marketing_detail&LocationID=40&rs:Command=render&rc:Parameters=false&rc:Toolbar=false"
Now I'm trying to access another report(the one that has sub reports as I mentioned above) It's named simply 1190.rdl
and it takes a bunch of parameters. However, right now I'm not passing any parameters. Below is the string I'm passing
"http://reports.organization.net/ReportServer/Pages/ReportViewer.aspx?/APA/1190&rs:Command=render&rc:Parameters=false&rc:Toolbar=false"
I'm expecting error message like below
- This report requires a default or user-defined value for the report parameter 'LocationID'. To run or subscribe to this report, you must provide a parameter value.
But I get this instead
- The item '/APA/1190' cannot be found. (rsItemNotFound)
1190.rdl is there. I'm not sure why reporting services doesn't see it. Thanks in advance for your help.