Click here to monitor SSC
SQLServerCentral is supported by Redgate
Log in  ::  Register  ::  Not logged in
Home       Members    Calendar    Who's On

Add to briefcase

Data Drive Subscription And Invalid Parameter Exception Expand / Collapse
Posted Monday, June 16, 2014 10:05 AM


Group: General Forum Members
Last Login: Wednesday, November 2, 2016 10:10 AM
Points: 17, Visits: 240
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?

Post #1581244
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse