Solved

SSRS Default Parameters Don't Show in Report

Posted on 2010-09-01
5
1,131 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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

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…
Introduction In the following article I’ll be discussing and demonstrating several different ways of how images can be put on a report. I’m using SQL Server Reporting Services 2008 R2 CTP, more precisely version 10.50.1352.12, but the methods ex…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

707 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now