Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


SSRS Connection String


SSRS Connection String

Poll
How to set the connection string for different servers

50% - 1 vote I have created a report and I am giving connection string at design time but I want to deploy the same report for
50% 1 vote
50% - 1 vote different servers.like developing server ,testing server,
50% 1 vote
0% - 0 votes production server
0% 0 votes
Member votes: 2, Guest votes: 0. You don't have permission to vote in this poll
Author
Message
venkatarami.desireddy
venkatarami.desireddy
Forum Newbie
Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)

Group: General Forum Members
Points: 8 Visits: 61
I have created a report and I am giving connection string at design time but I want to deploy the same report for
different servers.like developing server ,testing server,
production server
Gift Peddie
Gift Peddie
Hall of Fame
Hall of Fame (3.5K reputation)Hall of Fame (3.5K reputation)Hall of Fame (3.5K reputation)Hall of Fame (3.5K reputation)Hall of Fame (3.5K reputation)Hall of Fame (3.5K reputation)Hall of Fame (3.5K reputation)Hall of Fame (3.5K reputation)

Group: General Forum Members
Points: 3464 Visits: 14456
That is very easy with shared datasource because you are just running different SSRS instances with either same datasource database or different copies of the database.

If this is a large project with more than five developers then just use three copies of the shared datasource database, development, test and production.

Kind regards,
Gift Peddie
mverma4you
mverma4you
SSC-Addicted
SSC-Addicted (463 reputation)SSC-Addicted (463 reputation)SSC-Addicted (463 reputation)SSC-Addicted (463 reputation)SSC-Addicted (463 reputation)SSC-Addicted (463 reputation)SSC-Addicted (463 reputation)SSC-Addicted (463 reputation)

Group: General Forum Members
Points: 463 Visits: 226
shared datasource is good option or you can define one internal parameter in the report and pass the server information to that parameter through your application.
in this way when you deploy the application for various server it will automatically take the server information from your config file which is passed through UI.
DucatiRider
DucatiRider
SSC Rookie
SSC Rookie (28 reputation)SSC Rookie (28 reputation)SSC Rookie (28 reputation)SSC Rookie (28 reputation)SSC Rookie (28 reputation)SSC Rookie (28 reputation)SSC Rookie (28 reputation)SSC Rookie (28 reputation)

Group: General Forum Members
Points: 28 Visits: 110
Hi, I saw this post and am interested in the topic. I 'm a newbie to SSRS and am exploring how I can dynamically change the connection string. We have a report built in our DEV environment but when it's moved over to our QC and prod environments, (by someone else) we'd like to change the connection to different servers done without the promoter having to modify any code.

Is there a way to do this?

thanks!
Gift Peddie
Gift Peddie
Hall of Fame
Hall of Fame (3.5K reputation)Hall of Fame (3.5K reputation)Hall of Fame (3.5K reputation)Hall of Fame (3.5K reputation)Hall of Fame (3.5K reputation)Hall of Fame (3.5K reputation)Hall of Fame (3.5K reputation)Hall of Fame (3.5K reputation)

Group: General Forum Members
Points: 3464 Visits: 14456
DucatiRider (9/23/2010)
Hi, I saw this post and am interested in the topic. I 'm a newbie to SSRS and am exploring how I can dynamically change the connection string. We have a report built in our DEV environment but when it's moved over to our QC and prod environments, (by someone else) we'd like to change the connection to different servers done without the promoter having to modify any code.

Is there a way to do this?

thanks!


If it is a shared datasource using SQL Authentication then no but if it is not Shared datasource then permissions needs to be changed to show whose permission is used to connect to the datasource database and SSRS.

Kind regards,
Gift Peddie
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search