SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Data Drive Subscription And Invalid Parameter Exception


Data Drive Subscription And Invalid Parameter Exception

Author
Message
jbarry 87949
jbarry 87949
SSC Veteran
SSC Veteran (247 reputation)SSC Veteran (247 reputation)SSC Veteran (247 reputation)SSC Veteran (247 reputation)SSC Veteran (247 reputation)SSC Veteran (247 reputation)SSC Veteran (247 reputation)SSC Veteran (247 reputation)

Group: General Forum Members
Points: 247 Visits: 254
I have a new SSRS 2012 Server and I'm currently setting up Data Driven Subscriptions ("DDS") here. One of the paramter fields, "Parameter1," is defined as a single select drop down list controlled by a data set (note: not a free text entry). In my DDS, I defined the value of that Parameter1 as the actual data set I'm populating the drop down list. When I force the subscription to run, I get the following error in the Reporting Services log file (located at : c:\Program Files\Microsoft SQL Server\MSRS11.MSSQLSERVER\Reporting Services\LogFiles\ on the server):

ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.InvalidReportParameterException: , Microsoft.ReportingServices.Diagnostics.Utilities.InvalidReportParameterException: Default value or value provided for the report parameter 'Parameter1' is not a valid value.;

I ran a SQL trace on this when I fired off the subscription and noticed that the query that loads the drop down list executes; however, the query to run the report is not executing at all.

I DID resolved this ultimately in my subscription by getting rid of the data driven parameter and making it a free text entry. Now, the DDS does run; however, functionality is lost if a user were to run this report on demand. They would need to know what available values they could type into the free text box in order to execute this on demand.

My solution gets me past the issue of running the report dynamically via DDS but I lose usability from the human side for on demand access.

Note: There are NO case issues (i.e., both inputs to the parameter AND values being sent over are ALL uppercase).

Is there a better solution to this issue so I don't have a copy of the report for the DDS and an exact duplicate for users that run it on demand and have the ability to select their parameter from the drop down list?
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum







































































































































































SQLServerCentral


Search