Floating FB popout byF5debug

SQL Server Integration Services (SSIS) – Part 7 – Options to deploy a package in SSIS

 

This is part 7 of the series of article on SSIS.

Introduction

In this article we are going to see on how to deploy a SSIS package once we are done with developing, building and executing the package. Deploying an application is something which we need to take care since it performs based on the requirement like when the package should execute, who should execute the package etc. We have 3 options available with deploying a SSIS package and the options are as follows

[more]

1. Deployment Utility

2. Command line Executable

3. SQL Server Management Studio

We will see on each approach and the steps involved in deploying the package. You can refer to my previous articles on SSIS to get some idea before going ahead with this article.


Approaches:

Approach 1 : Deployment Utility

This approach is used to create an installer for the package and can be execute at the place where ever it’s required. This Utility is available by default to all the Integration projects; we will see the steps to make use of this utility.

Steps:

Go to BIDS (Check my previous articles on how to go to BIDS) and open the package solution which you want to deploy and right click on the project and go to properties as shown in the below figure.

clip_image001

A dialog will open where you have the option as Deployment Utility. Clicking on that will show the options at the right side of the dialog box where we need to set the CreateDeploymentUtility to TRUE and give the path where the installer need to be created as shown in the below screen

clip_image002

Once we are done, now right click on the project and give BUILD it will show the result at the bottom of the page if the build is succeeded or failed. If it’s succeeded it will create the deployment installer as shown in the below screen. You can copy these files to any location and double click to make use of it

clip_image003

 

Approach 2: Command Line Executable

Microsoft has provided an Executable DTUTIL.EXE that can be used to deploy SSIS packages. This command like utility is a good option to script the package. We can use this executable directly or can make use of it in the batch file.

To execute it at the command prompt check the below script. Go to the path of the package and execute the below scripts.

DTUTIL /FILE Package1.dtsx

/COPY

SQL;SSISPackage1

In order to deploy the package at the file system level then go with the below script

DTUTIL /FILE Package1.dtsx

/COPY

FILE;C:\SSIS\SSISPackage1.dtsx

For more option on this utility check the below url

http://msdn.microsoft.com/en-us/library/ms162820%28SQL.90%29.aspx

Approach 3: SQL Server Management Studio

This approach required integration services to be connected and must be in running mode in order to use this deployment option. In the object browser you can see something like below

clip_image004
To deploy our package right click on the File system and select the Import Package from the menu. Fill the details as shown in the below screen

clip_image005

Clicking on OK will deploy the package

Conclusion

This article describes on the options available to deploy the SSIS packages.

About Author: Karthikeyan Anbarasan, Microsoft MVP (Most Valuable Professional) in ASP.NET/IIS Architecture. He is the Founder and Chief Editor of the www.f5debug.net website and has authored books on Windows Phone and Business Intelligence(SSIS). He is also a Passionate Speaker and a Blogger on Microsoft Technologies.

You can Join Me On: Facebook, Twitter, Google Plus, LinkedIn

Add comment

  Country flag

biuquote
  • Comment
  • Preview
Loading

Recent Posts

Random Posts

Most Viewed

URL Shortner

Create your own short urls!!!

Site Counter

free counters

Disclaimer

This is a personal weblog. The opinions expressed here represent my own and not those of my employer. For accuracy and official reference refer to MSDN/ TechNet. I have documented my personal experience on this blog.

Protected by Copyscape Web Plagiarism Finder

Site Meter