Solved

SSIS Move Connection managers from multiple packages to project connections

Posted on 2014-03-19
3
2,114 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
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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
A couple of weeks ago, my client requested me to implement a SSIS package that allows them to download their files from a FTP server and archives them. Microsoft SSIS is the powerful tool which allows us to proceed multiple files at same time even w…
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

856 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