SolvedPrivate

SSIS - ETL - Connection Manager

Posted on 2013-01-18
8
29 Views
Last Modified: 2016-02-10
Hi

I have a etl package that i want to repoint to another database and server, problem is on other packages i have reporinted by changing the database name and server name in the connection manager, i have made the change and saved it but the package connection reverts back to the original database and server name at run time.

Can anyone tell me if they have experienced this bug and if so how they corrected it?

Thanks
0
Comment
Question by:ac_davis2002
  • 4
  • 2
  • 2
8 Comments
 
LVL 65

Accepted Solution

by:
Jim Horn earned 250 total points
ID: 38794195
The below instructions are the 'Microsoft' way of handling dynamic connections (i.e. servers/databases) outside of an SSIS package, so you don't have to go it and edit to make a change.  

______________


Go to the SSIS menu, Package Configurations..., check the Enable Package Configurations checkbox, hit the Add button, and follow the prompts to create your own .dtsConfig file that will have all of the connection string info for your connections.

This .dtsConfig file is in .xml format, so it'll be difficult to read if you're not used to .xml files.

Then to deploy to another environment...

(1)  Make a copy of the .dtsConfig, and change the connection settings to the new environment.
(2)  Move the project files + new .dtsConfig file to wherever.
You may have to open the SSIS, go again to SSIS menu / Package Configurator, and set the new path to the .dtsConfig.  Not sure about that one.

Good luck.  Not abundantly simple I know.
0
 
LVL 6

Assisted Solution

by:liija
liija earned 250 total points
ID: 38800148
Hi,

Your current problem might be caused by mixture of project and package level connection managers. If you are not using package configurations yet - you should use project level connections. Then you only need one change and it affects all the packages.

Now you might have package level connections in most of your packages - and one project level connection in your 'problemmatic' package.
0
 

Author Comment

by:ac_davis2002
ID: 38805458
Thanks Guys First Class!
0
 

Author Closing Comment

by:ac_davis2002
ID: 38805463
Thanks again
0
Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

 
LVL 65

Expert Comment

by:Jim Horn
ID: 38805481
Thanks for the split.  Good luck with your project.  -Jim
0
 

Author Comment

by:ac_davis2002
ID: 38806330
Just one more question about this though...if I use this method on packages i create going forward, will it affect current packages? I dont want to mess up any that are currently live!!

Adam
0
 
LVL 6

Expert Comment

by:liija
ID: 38806795
Package configuration file is configured on the package level. So - it doesn't affect your current packages.

Same thing with package vs. project level data sources. You define the usage of data source connection on the packages. So - it doesn't affect your current packages either.

Jani
0
 

Author Comment

by:ac_davis2002
ID: 38807011
ACE thanks again!!
0

Featured Post

Complete Microsoft Windows PC® & Mac Backup

Backup and recovery solutions to protect all your PCs & Mac– on-premises or in remote locations. Acronis backs up entire PC or Mac with patented reliable disk imaging technology and you will be able to restore workstations to a new, dissimilar hardware in minutes.

Join & Write a Comment

Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
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…
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.
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.

747 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

13 Experts available now in Live!

Get 1:1 Help Now