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


SSRS report error : Multi value parameter report error only with Select All


SSRS report error : Multi value parameter report error only with Select All

Author
Message
mpaul4u
mpaul4u
Grasshopper
Grasshopper (18 reputation)Grasshopper (18 reputation)Grasshopper (18 reputation)Grasshopper (18 reputation)Grasshopper (18 reputation)Grasshopper (18 reputation)Grasshopper (18 reputation)Grasshopper (18 reputation)

Group: General Forum Members
Points: 18 Visits: 69
Hi,
I have an issue to 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.

Regards
MP


haha
MMartin1
MMartin1
SSCrazy
SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)

Group: General Forum Members
Points: 2797 Visits: 2031
I've seen this myself. There seems to be no pattern to the occurences. I wonder if it gets fixed with the application of the latest service pack.

----------------------------------------------------
How to post forum questions to get the best help
nitin.guglani
nitin.guglani
SSC Journeyman
SSC Journeyman (87 reputation)SSC Journeyman (87 reputation)SSC Journeyman (87 reputation)SSC Journeyman (87 reputation)SSC Journeyman (87 reputation)SSC Journeyman (87 reputation)SSC Journeyman (87 reputation)SSC Journeyman (87 reputation)

Group: General Forum Members
Points: 87 Visits: 182
Hi

I ve used this 'Select All' for a parameter....bt havent faced a single problem while running the report....
nbus
nbus
Forum Newbie
Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)

Group: General Forum Members
Points: 5 Visits: 5
I have the exact same problem using 2005 server, I was wondering if anyone has come up with an solution?

Thanks
sanjeewan99
sanjeewan99
SSC-Enthusiastic
SSC-Enthusiastic (164 reputation)SSC-Enthusiastic (164 reputation)SSC-Enthusiastic (164 reputation)SSC-Enthusiastic (164 reputation)SSC-Enthusiastic (164 reputation)SSC-Enthusiastic (164 reputation)SSC-Enthusiastic (164 reputation)SSC-Enthusiastic (164 reputation)

Group: General Forum Members
Points: 164 Visits: 399
Hi,
See this link efficent way to pass the multivalue parameter
http://www.bi-rootdata.com/2012/09/efficient-way-of-using-all-as-parameter.html
H4K
H4K
SSC Veteran
SSC Veteran (243 reputation)SSC Veteran (243 reputation)SSC Veteran (243 reputation)SSC Veteran (243 reputation)SSC Veteran (243 reputation)SSC Veteran (243 reputation)SSC Veteran (243 reputation)SSC Veteran (243 reputation)

Group: General Forum Members
Points: 243 Visits: 567
Please post your T-SQL query if possible ?

And also try to use SQL Server profiler to get the exact query being passed along with parameter values selected to the database engine.

BI Developer
SSRS, SSIS, SSAS, IBM Cognos, IBM Infosphere Cubing services, Crystal reports, IBM DB2, SQL Server, T-SQL
Please visit... ApplyBI
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