Solved

Deploying SSIS package with configuration file

Posted on 2014-02-17
3
396 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
Comment Utility
"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
Comment Utility
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
Comment Utility
Thank you!
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
SQL Query Assistance 4 30
SQL Query Syntax Error 9 30
Date conversion in sql server 2012 6 25
SQL Date Retrival 7 26
My client sends data in an Excel file to me to load them into Staging database. The file contains many sheets that they have same structure. In this article, I would like to share the simple way to load data of multiple sheets by using SSIS.
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, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.

743 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