An attempt was made to set a report parameter that is not defined in this report

  • I have a drill through report that passes 4 parameters to a second report. The parameters are "Group", "Source", "SourceOther" and "page".

    The Second report has 4 parameters matching the name of the sent parameters. The dataset expects "Group", "Source", "SourceOther" and "page" but when I click on the text box to open the second report I get the message An attempt was made to set a report parameter 'Group' that is not defined in this report.

    I have checked the rdl file.

    <ReportParameter Name="Group">

    <DataType>String</DataType>

    <AllowBlank>true</AllowBlank>

    <Prompt>Group</Prompt>

    Can someone help me?

  • Is the parameter defined in your dataset/shared dataset?

    Sorry, misread your post. I had this issue once and the problem was with the shared dataset.....

    Have you made sure that the names of the parameters are exactly the same? If you have changed things as you went along then you might have missed that out?

    Have you tried removing the parameter from the drillthrough report and then recreating it? Sometimes when copying/re-purposing reports things can get corrupt/mixed up...


    I'm on LinkedIn

  • This was removed by the editor as SPAM

  • The base report has the parameter name of directorate the sub level has the parameter name of group so on the text box action I pass Group with a value of parameters!directorate.value.

    It is the same methodology I have used in other reports.

    By the way this report is currently working we are just migrating it to reporting services and tightening it up a bit.

Viewing 4 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic. Login to reply