Solved

Deploying SSIS package with configuration file

Posted on 2014-02-17
3
401 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 500 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 500 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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

My client sends a request to me that they want me to load data, which will be returned by Web Service APIs, and do some transformation before importing to database. In this article, I will provide an approach to load data with Web Service Task and X…
Slowly Changing Dimension Transformation component in data task flow is very useful for us to manage and control how data changes in SSIS.
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.
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

867 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

20 Experts available now in Live!

Get 1:1 Help Now