search
Japanese Chinese Nederlands Espanol Italiano Deutsch Francais Twitter Rss Feeds
MicrosoftArticlesForumsFAQs
C# .NET
VB.NET
Visual Studio .NET
ADO.NET
Xml / Xslt
VB 6.0
.NET CF
GDI+
LINQ
Deployment
Security
FoxPro
Silverlight / WPF
Entity Framework
RIA Services

Web ProgrammingArticlesForumsFAQs
JavaScript
ASP
ASP.NET
Web Services

Non-MicrosoftArticlesForumsFAQs
NHibernate
Perl
PHP
Ruby
Java
Linux / Unix
Apple
Open Source

DatabasesArticlesForumsFAQs
SQL Server
Access
Oracle
MySQL
Other Databases

OfficeArticlesForumsFAQs
Excel
Word
Powerpoint
Outlook
Publisher
Money

Operating SystemsArticlesForumsFAQs
Windows 7
Windows Server
Windows Vista
Windows XP
Windows Update
MAC
Linux / UNIX

Server PlatformsArticlesForumsFAQs
BizTalk
Site Server
Exhange Server
IIS

Graphic DesignArticlesForumsFAQs
Macromedia Flash
Adobe PhotoShop
Expression Blend
Expression Design
Expression Web

OtherArticlesForumsFAQs
Subversion / CVS
Ask Dr. Dotnetsky
Active Directory
Networking
Uninstall Virus
Job Openings
Product Reviews
Search Engines
Resumes

 

View Other Visual Studio .NET Posts   Ask New Question 
Can I stop VS from automatically deploying datasources ?
Mark L posted at Tuesday, June 02, 2009 9:53 PM

Hi,

I am a relative newbie to VS, so forgive me if this is a dumb question!

We are using VS to deploy reports to Reporting Services 2005, into at least two environments (Test / Prod).

The issue is that due to the testing required, and depending on what is being tested, the datasources need to sometimes be different between the environments (e.g. there is a datasource for the test environment that points to a custom version of one of our production systems).  When these reports are deployed to production, they always point to the same database.

When the report is deployed is always deploys ALL of the datasources associated with the project.  This means that we end up with all of the test datasources being created in the production environment all of the time.

Is there a way to make VS only deploy the datasource which the report is actually using?  Or alternatively a way to associate particular datasources with a specific environment (e.g. if 'Test' is selected, deploy all datasources, if 'Live' is selected, only deploy certain datasources).

 

Thanks for any help!

 

Regards,

 

Mark