Reputation: 2097
The short version: My report has a param that sets the default of another param (both are dropdown, non-multiple-valued) using a dataset. This works as expected in Visual Studio, but on the Report Server the second param is blank (doesn't have any available values).
The long version: I wrote a report that has two parameters:
The two applicable datasets are:
So basically the report is supposed to automatically run as soon as it opens because the...
The Problem/Question: The @Run parameter has no available values. Why would it work perfectly in Visual Studio but not on the server?
Upvotes: 1
Views: 604
Reputation: 2097
So I just realized that I actually did make a change to the shared dataset that was populating the available values for the @Run parameter. Stupid mistake. I fixed that and it works fine now.
Upvotes: 0
Reputation: 1596
Sometimes parameters are not updated when publishing reports (this would include available value references). If you had published the report before adding the available values reference to the parameter, it would continue to show up blank.
Delete the report from the server and publish it again.
Upvotes: 2