Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


ssis package configuration


ssis package configuration

Author
Message
keywestfl9
keywestfl9
SSC Veteran
SSC Veteran (237 reputation)SSC Veteran (237 reputation)SSC Veteran (237 reputation)SSC Veteran (237 reputation)SSC Veteran (237 reputation)SSC Veteran (237 reputation)SSC Veteran (237 reputation)SSC Veteran (237 reputation)

Group: General Forum Members
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
Bob McEuen
Bob McEuen
Old Hand
Old Hand (373 reputation)Old Hand (373 reputation)Old Hand (373 reputation)Old Hand (373 reputation)Old Hand (373 reputation)Old Hand (373 reputation)Old Hand (373 reputation)Old Hand (373 reputation)

Group: General Forum Members
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.

Smile
Padma-1078840
Padma-1078840
Forum Newbie
Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)

Group: General Forum Members
Points: 5 Visits: 147
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.
Koen Verbeeck
Koen Verbeeck
SSCoach
SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)

Group: General Forum Members
Points: 16560 Visits: 13210
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 SQLKover.

MCSA SQL Server 2012 - MCSE Business Intelligence
nick.mcdermaid
nick.mcdermaid
SSC Veteran
SSC Veteran (216 reputation)SSC Veteran (216 reputation)SSC Veteran (216 reputation)SSC Veteran (216 reputation)SSC Veteran (216 reputation)SSC Veteran (216 reputation)SSC Veteran (216 reputation)SSC Veteran (216 reputation)

Group: General Forum Members
Points: 216 Visits: 767
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.
hcprasadv
hcprasadv
Right there with Babe
Right there with Babe (729 reputation)Right there with Babe (729 reputation)Right there with Babe (729 reputation)Right there with Babe (729 reputation)Right there with Babe (729 reputation)Right there with Babe (729 reputation)Right there with Babe (729 reputation)Right there with Babe (729 reputation)

Group: General Forum Members
Points: 729 Visits: 342
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...
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search