SSRS 2008: error message saying my parameter doesn't exist but it clearly does?

后端 未结 11 2063
北荒
北荒 2020-12-30 21:04

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

相关标签:
11条回答
  • 2020-12-30 21:35

    For me, I had to open rdl file and add my new parameter to the order/position(xml nodes) I want.

    0 讨论(0)
  • 2020-12-30 21:36

    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.

    0 讨论(0)
  • 2020-12-30 21:39

    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.

    0 讨论(0)
  • 2020-12-30 21:42

    Try changing the order of the parameters using the up/down arrows.

    They should appear in the order of dependence.

    0 讨论(0)
  • 2020-12-30 21:42

    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.

    1. Open the Dataset properties for the Dataset (s) that use the Parameter in the error message.
    2. Select the Parameters property in the left list pane.
    3. Click the Expression Editor button for the specified Parameter.

    1. 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.

    0 讨论(0)
提交回复
热议问题