?
Solved

Deploying SSIS package with configuration file

Posted on 2014-02-17
3
Medium Priority
?
426 Views
Last Modified: 2016-02-10
I deployed an SSIS package from my development machine to the server where it will run via management Studio. Then I manually copied the configuration file to the target server. When executing the package via Management Studio I specified the path to the config file on the target server (the one I copied manually) but when the package ran, it was looking for the configuration file path from my development machine. I do not even think it used the config file I copied, but rather data sources i specified before runnign the package.

My question is how do I deploy the configuration file along with SSIS package and prevent the package from trying to reference the old config file from the development machine?
0
Comment
Question by:YZlat
  • 2
3 Comments
 
LVL 37

Accepted Solution

by:
ValentinoV earned 2000 total points
ID: 39866993
"When executing the package via Management Studio "

That's probably the issue.  In SSMS, when you right-click a package and execute it through Run Package it will actually run on your local machine.  To avoid this it's better to create a SQL Agent Job (using the SQL Server Integration Services Package job step type).
0
 
LVL 37

Assisted Solution

by:ValentinoV
ValentinoV earned 2000 total points
ID: 39866996
In addition to the above: let's say your config file is configured to be located at D:\SSIS_config.  When running the package through SSMS it will use the file from your local D: partition.  Using a job it will use the D: partition on the SSIS server.
0
 
LVL 35

Author Closing Comment

by:YZlat
ID: 39877625
Thank you!
0

Featured Post

Fill in the form and get your FREE NFR key NOW!

Veeam is happy to provide a FREE NFR server license to certified engineers, trainers, and bloggers.  It allows for the non‑production use of Veeam Agent for Microsoft Windows. This license is valid for five workstations and two servers.

Question has a verified solution.

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

An alternative to the "For XML" way of pivoting and concatenating result sets into strings, and an easy introduction to "common table expressions" (CTEs). Being someone who is always looking for alternatives to "work your data", I came across this …
Ready to get certified? Check out some courses that help you prepare for third-party exams.
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.
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…
Suggested Courses

840 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