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

SSRS Reporting : Multi value parameter report error only with Select All Expand / Collapse
Posted Wednesday, May 6, 2009 3:20 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Tuesday, August 31, 2010 10:05 AM
Points: 2, Visits: 69
Hello SSRS experts,

I have an issue with report paramters
i have a report which group by data based on 2 paramters and also from and to dates The Issue is that whenever during the report execution I do a “Select all” from the second parameter List–and when I click view reports it does not display the report. it throws an error

Default value or value provided for the report parameter 'ProcessNm' is not a valid value.
But this error is not thrown always. It is weird that sometimes it works perfectly with “Select all” the parameters.

I assume that the above error could be occurring since it is trying to pass a comma separated parameter string into the dataset query which accepts this parameter.

If we may think that this is a data parsing issue due to the fact that staging database has different data than development, but then it should never execute it from SSRS at all. The issue is that it execute same query with all the parameters selected sometimes.
The interesting part is that The error mentioned above does not appear always and instead it just clears out the parameter
Another thing observed was that if the refresh button (not view report button) continuously it displays the report correctly once and next time it throws error then again displays correctly.
The SSRS environment on staging and development are SQL 2005, but on staging SSRS is 2005 but database is SQL2008.

The SSRS logs shows the error which appear randomly appear while calling GetReportParamters internal function

The same query was captured from tracer when it worked on staging and was executed and works fine from backend.

Also there are no null values in the parameter lookup tables

Anyone faced this situation in your report with muliple paramter "select all"
Appreciate any help or clues towards the resolution.


Post #711625
Posted Wednesday, May 6, 2009 3:35 PM



Group: General Forum Members
Last Login: Saturday, December 3, 2016 5:18 AM
Points: 45,619, Visits: 44,147
Please don't cross post. It just wastes peoples time and fragments replies.

No replies to this thread please. Direct replies to:

Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

We walk in the dark places no others will enter
We stand on the bridge and no one may pass

Post #711636
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse