Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
DB Engine
SQL ServerMSDESQL Server CE
Services
Analysis (Data Mining)Analysis (OLAP)DTSIntegration ServicesNotification ServicesReporting Services
Programming
CLRConnectivitySQLXML
Other Technologies
ClusteringEnglish QueryFull-Text SearchReplicationService Broker
General
Data WarehousingPerformanceSecuritySetupSQL Server ToolsOther SQL Server Topics
DirectoryUser Groups
Related Topics
MS AccessOther DB ProductsMS Server Products.NET DevelopmentVB DevelopmentJava DevelopmentMore Topics ...

SQL Server Forum / Services / Reporting Services / April 2006

Tip: Looking for answers? Try searching our database.

Datasource Change HELP!!!!

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
OriginalStealth - 05 Apr 2006 18:34 GMT
I am working in a dev environment.  My report uses 20 different datasets but
they all point to the same datasource.  I am moving from Dev to a UAT
environment which points to a different DB.  Is there a way to change the
datasource for all 20 datasets from DevDB to UATDB at once or am I stuck with
going in and changing all the datasources for each of the datasets one by one?

Thanks in advance
OS
William - 05 Apr 2006 22:36 GMT
Try opening XML <F7> and doing a find/replace on the DB name. This is
assuming that the new datasource is already defined in the solution and the
table names are the same.

> I am working in a dev environment.  My report uses 20 different datasets but
> they all point to the same datasource.  I am moving from Dev to a UAT
[quoted text clipped - 4 lines]
> Thanks in advance
> OS
OriginalStealth - 06 Apr 2006 12:51 GMT
William,

This really helped me!  Thanx a bunch!  
OS

> Try opening XML <F7> and doing a find/replace on the DB name. This is
> assuming that the new datasource is already defined in the solution and the
[quoted text clipped - 8 lines]
> > Thanks in advance
> > OS
Amarnath - 06 Apr 2006 05:15 GMT
Hi,
Have you used as a "shared resources" for all your reports? then it should
not be a problem since you need to just change the database and user
name/password  etc.. details at your datasource and you will be up and
running.

Amarnath

> I am working in a dev environment.  My report uses 20 different datasets but
> they all point to the same datasource.  I am moving from Dev to a UAT
[quoted text clipped - 4 lines]
> Thanks in advance
> OS
pradeepmm@gmail.com - 06 Apr 2006 18:22 GMT
How can we programatically change the DB name?
Or
Change them dynamically in the URL?

Prad

> Hi,
> Have you used as a "shared resources" for all your reports? then it should
[quoted text clipped - 12 lines]
> > Thanks in advance
> > OS
Bruce L-C  [MVP] - 06 Apr 2006 18:36 GMT
What you should be doing is to have a shared datasource. The first time you
deploy the datasource is deployed too. Then you go to the Report Manager and
change the datasource to point to the production data. From then on when you
deploy the default is that the datasource is not overwritten so you only
need to do this once.

So there should only be one datasource that you have to change once in this
process.

Signature

Bruce Loehle-Conger
MVP SQL Server Reporting Services

> How can we programatically change the DB name?
> Or
[quoted text clipped - 23 lines]
>> > Thanks in advance
>> > OS
kris - 28 Apr 2006 12:52 GMT
Is there any way to change the datasource for a report on an
execution-by-exection basis?

I have a situation where there are a large numbre of databases and
users need to be able to execute a single report against any of the
databases.

Is there a way to supply the database connection string to the report
when it is executed?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.