?
Solved

SSRS Default Parameters Don't Show in Report

Posted on 2010-09-01
5
Medium Priority
?
1,162 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

Enroll in August's Course of the Month

August's CompTIA IT Fundamentals course includes 19 hours of basic computer principle modules and prepares you for the certification exam. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

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

Time Corrections for Reports Working with a report, we made some interesting discoveries about the time corrections/updates We are using the following Parameters: Starting Entered Date (Date) formatted as Data type: "Date/Time" Ending Entered …
It is helpful to note: This is a cosmetic update and is not required, but should help your reports look better for your boss.  This issue has manifested itself in SSRS version 3.0 is where I have seen this behavior in.  And this behavior is only see…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…

765 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