Solved

SSIS Move Connection managers from multiple packages to project connections

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

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Question has a verified solution.

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

Suggested Solutions

JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

932 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

5 Experts available now in Live!

Get 1:1 Help Now