I have a report that has about 10 parameters and about 10 datasets and one datasource. I typed alot but I really need help so I figured I would try and provide as much info
For me, I had to open rdl file and add my new parameter to the order/position(xml nodes) I want.
I found in my situation that it was actually the parameters name casing was slightly changed and it was throwing this same error.
I had to change the name to the correct casing, and then search in the code behind to anything that refers to that parameter and correct its casing. Deployed fine after that.
I also had this issue, following the all the answers above deinetely helped.
The tricky one with mine is that the dataset was an SSAS dataset therefore it was hidden. I had to search the code for the parameter to see where it was used and thats where I found it.
To view hidden datasets right click the Datasets folder in the Report Data tab and tick the 'Show Hidden Datasets' box.
Try changing the order of the parameters using the up/down arrows.
They should appear in the order of dependence.
This could mostly be due to the parameter name not being updated in the dataset.
This article helped me resolve it
When editing Parameters (names or case) for a Dataset within SSRS you may encouter the previous error message when you preview the report. While on the surface it may appear that the parameter has the same case in the Parameter settings and the Dataset query – there is another place where a change is required.
- Open the Dataset properties for the Dataset (s) that use the Parameter in the error message.
- Select the Parameters property in the left list pane.
- Click the Expression Editor button for the specified Parameter.
Here you will notice that the Expression is underlined in red. This is where you will need to correct the case of the Parameter name.