SSIS Deployment

Posted on 2012-08-10
Last Modified: 2012-09-20
I created a SSIS solution that contains multiple packages.  Now I need to deploy the solution to another computer.  I've read an article regarding creating a "package configuration", but is very confused with what I'm reading.  I just want to deploy the solution to another computer and make sure it runs properly.  The package configuration file I created, includes the "connection managers, properties, and pretty much everythiing else.  Is this all necessary?  I'm I making this more difficult then it has to be?  Thanks in advance.
Question by:Tyecom
    LVL 65

    Assisted Solution

    by:Jim Horn
    >The package configuration file I created, includes the "connection managers, properties, and pretty much everythiing else.  Is this all necessary?
    Yes, and the resulting .xml file it creates is difficult to read if you're not used to .xml files.

    If the 'other computer' has access to the folder location that the first computer's Configuration file (*.dtsConfig) resides, any other deployment to other pc's should be able to link to it fine without any modifications.  

    Now if any of the paths/database names change between 'first computer' and 'other computer', then you'll need two separate *.dtsConfig files, that point to all the connections each needs, and the SSIS packages need to refer to the correct one.

    Good luck.  Not abundantly simple I know.
    LVL 5

    Expert Comment

    I'm using multiple environments (Development/Test/Production) on multiple servers to manage the packages in their lifecycle.
    Thus I've created the same folder structure on all servers and made sure the packages have the Protection level in the Properties set to "DontSaveSensitive" and the Package configuration has been set to a XML configuration file that's pointed to by a System variable.

    Now make sure that the System variable with the XML configuration file is set properly and that the XML configuration file contains the proper connections for the environment.
    Moving a package can be done in this setting by a simple file move.

    Author Comment

    Is the basic advantage to creating a package configuration file is when you're using variables?  For a simple deployment, why not just copy the folder containing the project to the destination computer?
    LVL 5

    Accepted Solution

    The advantage is the fact that all connections are stored in one (xml) file and moving the solution to another machine linking to another database will only have effect on the xml file.

    The system variable can be set using a (dos) shell command and is used to pass the location of the config file to the solution. This can also be used for having multiple config files and dynamically switching between target databases.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    What Security Threats Are You Missing?

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    Nowadays, some of developer are too much worried about data. Who is using data, who is updating it etc. etc. Because, data is more costlier in term of money and information. So security of data is focusing concern in days. Lets' understand the Au…
    When you hear the word proxy, you may become apprehensive. This article will help you to understand Proxy and when it is useful. Let's talk Proxy for SQL Server. (Not in terms of Internet access.) Typically, you'll run into this type of problem w…
    This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function
    Via a live example, show how to shrink a transaction log file down to a reasonable size.

    737 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

    18 Experts available now in Live!

    Get 1:1 Help Now