Solved

SSIS Move Connection managers from multiple packages to project connections

Posted on 2014-03-19
3
2,196 Views
Last Modified: 2016-02-10
I am starting out with SSIS and using BIDS 2012 have created a dozen packages each with their own connection managers.  Now that I am ready to move these packages to production I believe I should have used project connections.  What is the best way for me update these packages to use shared connections?

Once this is done what is the best way to deploy the packages to the server such that the DB  connections are updated to point to the appropriate data sources?
0
Comment
Question by:canuckconsulting
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 9

Accepted Solution

by:
Sreedhar Vengala earned 500 total points
ID: 39941399
For converting package connection to project connection.  Either you can convert Project connection from one of the connection from a package and manually open other packages and update the connection and refresh the referring component.

Else other way is find and replace in you code view.  Have further reading at here

And to point the data sources to appropriate connections.  You have to create Project Parameters within you SSIS project to hold the connection string and map it to your Project connection.  Later on your server where you deploy you can create different environments eg. Dev, Test, Production etc and have environment specific parameter values, which can be mapped to your project parameters.

Further reading here
0
 
LVL 8

Expert Comment

by:Andrei Fomitchev
ID: 39941541
Right click and in pop up menu choose to save config as an XML file.
Put there connection string.

Use the same folder like C:\SSIS_Config as on production as on development server.

Edit config.xml file on each instance.
When you run SSIS package it will use different settings in different environment. No changes in SSIS is required.
0
 

Author Closing Comment

by:canuckconsulting
ID: 39947979
Simply superb...thanks!
0

Featured Post

Major Incident Management Communications

Major incidents and IT service outages cost companies millions. Often the solution to minimizing damage is automated communication. Find out more in our Major Incident Management Communications infographic.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

These days, all we hear about hacktivists took down so and so websites and retrieved thousands of user’s data. One of the techniques to get unauthorized access to database is by performing SQL injection. This article is quite lengthy which gives bas…
This article shows the steps required to install WordPress on Azure. Web Apps, Mobile Apps, API Apps, or Functions, in Azure all these run in an App Service plan. WordPress is no exception and requires an App Service Plan and Database to install
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question