Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

ssis package configuration Expand / Collapse
Author
Message
Posted Sunday, December 02, 2007 1:07 PM
SSC Veteran

SSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC Veteran

Group: General Forum Members
Last Login: Wednesday, February 01, 2012 8:16 PM
Points: 237, Visits: 764
could anybody help me how to configure dynamic my ssis package to all environment like development, QA, production

my ssis package functionality creating a text file from a table.

i need to figure how to create the package config file dynamic to all environment
Post #428516
Posted Monday, December 03, 2007 6:58 AM
Old Hand

Old HandOld HandOld HandOld HandOld HandOld HandOld HandOld Hand

Group: General Forum Members
Last Login: Wednesday, February 16, 2011 6:48 AM
Points: 373, Visits: 42
You could place the file location information in a xml file or a sql table, using a package configuration to retrieve the information into a variable. You could then use a property expression to set the value of the file location with the variable. When you change the file location info info in the xml file or sql table, it will propagate to the package everytime it is loaded and run.

:)
Post #428713
Posted Wednesday, December 21, 2011 10:52 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Yesterday @ 5:57 PM
Points: 5, Visits: 114
Can someone please post an example on how exactly to implement changing configurations dynamically? I have about 350 packages that I need to run first on test and then on production. Is there a way to do it for all the packages at the same time? I have a sqlserver table set up with a list of all the production and test connection strings.
Post #1225331
Posted Thursday, December 22, 2011 2:52 AM


SSChampion

SSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampion

Group: General Forum Members
Last Login: Today @ 7:14 AM
Points: 12,228, Visits: 9,204
Padma-1078840 (12/21/2011)
Can someone please post an example on how exactly to implement changing configurations dynamically? I have about 350 packages that I need to run first on test and then on production. Is there a way to do it for all the packages at the same time? I have a sqlserver table set up with a list of all the production and test connection strings.


Please start a new thread instead of hijacking an old one.
Regarding your question, you can maybe automate it with .NET, but you better have some strong coding skills.

Another option is that you do not include the package configuration directly in the package, but that you provide an XML config file at runtime when you launch the package. All you have to do is create valid XML config files for each package using the values that are inside your table.




How to post forum questions.
Need an answer? No, you need a question.
What’s the deal with Excel & SSIS?

Member of LinkedIn. My blog at LessThanDot.

MCSA SQL Server 2012 - MCSE Business Intelligence
Post #1225642
Posted Thursday, December 22, 2011 3:16 AM


SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Today @ 6:18 AM
Points: 177, Visits: 532
How do your environments differ? for example do your DEV, TEST, PROD environments all exist on different servers? In that case its probably easiest to use an environment variable to point at different configuration databases.

Post #1225666
Posted Friday, December 28, 2012 8:19 AM
Right there with Babe

Right there with BabeRight there with BabeRight there with BabeRight there with BabeRight there with BabeRight there with BabeRight there with BabeRight there with Babe

Group: General Forum Members
Last Login: Friday, April 04, 2014 12:20 AM
Points: 728, Visits: 339
SSIS Package Configuration types are XML, SQL Server, Environment Variable,Registry Entries and Parent Package Variables.

Security Maintainability Portability
XML: NO No yes
SQL Server: Yes yes No
Env. Variable: NO No -
Reg.Entry: NO No -
Parent Package is used to pass variables value from one package to other and is independent from changes in environment

So by this we can configure the packages according to our need and personally I prefer XML and SQL Server configuration...
Post #1400933
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse