Solved

SSIS Move Connection managers from multiple packages to project connections

Posted on 2014-03-19
3
1,949 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
Comment Utility
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
Comment Utility
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
Comment Utility
Simply superb...thanks!
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
Slowly Changing Dimension Transformation component in data task flow is very useful for us to manage and control how data changes in SSIS.
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

762 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

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now