Solved

SSRS Default Parameters Don't Show in Report

Posted on 2010-09-01
5
1,153 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
MS SSRS scale out 13 74
SSRS set Parameter value 2 153
performance query 4 43
SSRS: Why is Visual Studio stripping these properties? 2 49
Have you ever had to extract data from a Microsoft SQL Server database and export it to an Excel file, but did not want to use a DTS package? The concept in this article is not new, but it is the answer and will also work on 64-bit SQL boxes.   …
Occasionally there is a need to clean table columns, especially if you have inherited legacy data. There are obviously many ways to accomplish that, including elaborate UPDATE queries with anywhere from one to numerous REPLACE functions (even within…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

737 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