[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

SSRS Default Parameters Don't Show in Report

Posted on 2010-09-01
5
Medium Priority
?
1,172 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 500 total points
ID: 33579176
0
 
LVL 5

Assisted Solution

by:almander
almander earned 500 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 500 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 500 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: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying 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

Introduction: This article is aimed at report developers who are used to developing reports using relational databases and have gotten a first-time assignment to develop reports on OLAP cubes. It demonstrates how to build a report using SQL Ser…
Hi All, I am here to write a simple article to move SSRS (SQL Server Reporting Services) reports from one server to another. When I have faced the same issue to move reports those were developed by developer on development server and now need to …
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…
Suggested Courses

656 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