Sol Web Solutions Blog

Sol Web Solutions Blog is aimed to help, inform, educate and enable our site visitors.

SSRS 2008 Dynamic Connection String

Posted by Sol Web Solutions
Sol Web Solutions
Sol Web Solutions has not set their biography yet
User is currently offline
on Wednesday, 17 August 2011
in Reporting 0 Comments

Recently an upgrade from SSRS 2005 to 2008 threw our team for a loop.  The exact connection in 2005 was working perfectly, but in 2008, the reports were failing.  What was the issue, and how did we fix it?

For expression-based connection strings that reference report parameters, make sure that these parameters are at the beginning of the list of report parameters and don't depend on other report parameter values that may not be evaluated yet (e.g. if there are hierarchical parameters and the parameter used in the connection string depends on data from an earlier parameter with dataset-dependent valid values / default values of the data source it is about to connect to - that won't work).

All that was needed was to make sure the @DB parameter we used was at the top of the list >> tah-dah....it worked!

Special thanks to Robert Bruckner http://blogs.msdn.com/robertbruckner for posting this approach.

Hits: 514
0 votes
Trackback URL for this blog entry

Comments

No comments made yet. Be the first to submit a comment

Leave your comment

Guest Friday, 18 May 2012

Facebook Invite

Please log in through Facebook to invite your friends to this site!

Facebook LiveStream

Newest Customer

Buffalo Tours

Tour the community and peek at Los Alamos National Laboratory with a native Los Alamos guide. Our comfortable van tours are rich in history, archaeology, geology, and beauty. New Mexico is our home.
Buffalo Tours in Los Alamos :: Tour the community and peek at Los Alamos National Laboratory with a native Los Alamos guide

Constant Contact

Facebook Login

Login With Facebook

Like Sol Web

HostGator Hosting

Seussical The Musical

Los Alamos Little Theatre Seussical