Solved

SSRS Default Parameters Don't Show in Report

Posted on 2010-09-01
5
1,147 Views
Last Modified: 2012-05-10
My SSRS report uses Multiple Parameters with Default Values.
The defaults work and are selected when I am in the development program which is:
(Microsoft Visual Studio 2005 Version 8.0
Microsoft SQL Server Reporting Services Designers
Version 9.00.1399.00)
but when I run the report in IE8 I get either the first
or no value selected in the parameter boxes.
0
Comment
Question by:tonydemarco
5 Comments
 
LVL 21

Accepted Solution

by:
oleggold earned 125 total points
ID: 33579176
0
 
LVL 5

Assisted Solution

by:almander
almander earned 125 total points
ID: 33579178
Sometimes I have noticed that Parameter changes do not always get deployed. But if I make a change to the report content and deploy the parameter changes are deployed with it.

Just a thought.

Are you deploying these to a webserver to view them in IE8?
0
 
LVL 3

Assisted Solution

by:bhoenig
bhoenig earned 125 total points
ID: 33579217
I've experienced similar situations in the past.  Typically the default value is not available for some reason in production.  This could be for multiple reasons.  

Double check the parameters "Available values".  If you are using a query ("From query"), then the resultes might be different in production.

Same for the parameters "Default values".  A query could provide different results in production.

If you are connecting to the production database in your dev environment, then maybe the datasource is running as a different user, which could cause different results.
0
 
LVL 1

Assisted Solution

by:FrancoCarusi
FrancoCarusi earned 125 total points
ID: 33579258
Are you calling this report as a subreport from some main report.
I experienced the same when using a report as a sub report. I did some enquiries and was told that this is how report services works. Seems a bit odd.
0
 
LVL 9

Author Closing Comment

by:tonydemarco
ID: 33580364
almander gave me an idea when he used the word "deploy".
Apparently SSRS does not deploy the parameters default values when a report is re-deployed after a change to the parameters defaults. I got this clue after reading the post below.

http://connect.microsoft.com/SQLServer/feedback/details/299372/report-parameter-defaults-not-updated-during-deployment

"Parameter defaults do not get updated when re-deploying existing reports. These either have to be updated manually or the reports deleted and re-deployed. The latter regenerates all report ID's (GUID's) and makes traking usage from the ExecutionLog more difficult."

I deleted the report from the server and then deployed the report from SSRS and VOILA! The parameter defaults were "deployed".

I evenly distributed the points because each one of you had parts and pieces to the puzzle.

Cheers!
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

In this short article I will be talking about two functions in the SQL Server Reporting Services (SSRS) function stack.  Those functions are IIF() and Switch().  And I'll be showing you how easy it is to add an Else part to the Switch function. T…
After much searching across the internet I have found that you could not set the name of the file you were attaching to dynamic report subscriptons in Microsoft Reporting Services. I did manage to find one article showing you how your could make a s…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question