Solved

SSIS Move Connection managers from multiple packages to project connections

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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This post contains step-by-step instructions for setting up alerting in Percona Monitoring and Management (PMM) using Grafana.
This post looks at MongoDB and MySQL, and covers high-level MongoDB strengths, weaknesses, features, and uses from the perspective of an SQL user.
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

627 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