logo

Can I stop VS from automatically deploying datasources ? (Visual Studio .NET)
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

Reply    Reply Using Power Editor
  Rank Winnings Points
February 0 $0.00 0
January 0 $0.00 0

Didn't Find The Answer You Were Looking For?

EggHeadCafe has experts online right now that may know the answer to your question.  We pay them a bonus for answering as many questions as they can.  So, why not help them and yourself by becoming a member (free) and ask them your question right now?
Ask Question In Live Forum

If you have an OpenID and do not want to become a member of the EggHeadCafe forum, you can also sign on to Chat Chaos and post your question to our real time Silverlight chat application.
Ask Question In Chat Chaos










  $1000 Contest    [)ia6l0 iii - $228  |  Jonathan VH - $161  |  Huggy Bear - $135  |  F Cali - $95  |  egg egg - $94  |  more Advertise  |  Privacy  |   (c) 2010