Tuesday, May 8, 2012

SSIS : Step by step process of creating a deployment Manifest file

It may be a simple process to create a deployment manifest file in SSIS for experienced guys, but may be difficult for those who are new to SSIS. So, this article will walk you through the steps to create a manifest file, in other words, deployment utility in SSIS.

Before we start discussion, let me tell you what is manifest file in SSIS. :)

Once we complete the development of the package, the next step would be deploying the package in different machine / server. The deployment utility which contains the files you need to deploy like packages, configuration files, Readme file (which might be placed in Miscellaneous folder) etc., These files are included automatically in the deployment utility when we built the package.

Now, Its time to create a manifest file in SSIS. :)

For this example, I have already created one sample package and the package folder will contains the following files before you build a solution or package.

When you build a package as shown below :

After you built the package, you could see one extra folder is created in the name of “bin” inside the package folder which will contain the deployment utility once we create it.

By default, the output path would be “bin”, but this folder name can be changed by selecting the project and right click properties as below :

Just open the bin folder and check, you could see only ImportCSV.dtsx file.

As I said before, its very easy process to create a deployment manifest file which I am going to show now :

Select your project and right click -> Go to Properties -> Deployment Utility and make CreateDeploymentUtility as "True" which is by default “False”.

The deployment utility path can be changed in DeploymentOutputPath as when required. :)

Click “OK” button.

Again, Let us go and build / rebuild solution or package.

Once you built, just go to “bin” folder and check, you could see a new folder as “Deployment”.

Open the folder and could see the manifest file has been created in the name of “ImportCSV.SSISDeploymentManifest” which will be used to send for deployment in other machines / servers.

Let us test, how it works? Double click the manifest file and follow the steps as below :

Press “Next” button.

You can deploy the package either in “File System” or “SQL Server” deployment. For this demo, let us go with default option i.e “File System” deployment. Press "Next" button.

Change the folder location, if you want, otherwise press “Next” button.

Press “Next” button.

Here, you can see the installation details and click “Finish” button to complete the deployment.
In this example, I have not included any configuration or miscellaneous files, so you could see only “ImportCSV.dtsx” file in the deployed folder.

Keep reading this page for XML configuration and adding miscellaneous files in the SSIS package.

Hope, you have enjoyed by reading this article and your comments on this article would be highly appreciated.:)

Note :

  1. Please keep in mind that you cannot deploy a single package, if you have multiple packages in the project. In this case all the packages will be deployed.
  2. For further info, please refer Books Online.

23 comments:

  1. Nice Article. Nice explanation with screens. Expecting basics on SSIS package creation and more.

    ReplyDelete
    Replies
    1. Radhika,

      Thanks for your comments and keep reading this page for sample SSIS packages.

      Regards,
      Siva

      Delete
  2. Good Article Siva. Waiting for more articles on creating configuration files and how to execute the package from command line.

    ReplyDelete
    Replies
    1. Thanks for your comments! Sure, I will post article on configuration and different way of executing the package.

      Regards,
      Siva

      Delete
  3. Thanks a lot for sharing this when i am in need.Its very useful and anyone can create manifest file by going through the explanation given by you.

    ReplyDelete
  4. Nice Article. Thanks for Sharing Siva.

    From
    P.Shailaja

    ReplyDelete
  5. really nice one siva, but how we approach it in sql 2012

    ReplyDelete
  6. Nice Article..But i have one doubt.
    Log providers are included in manifest file or not.

    ReplyDelete
  7. Thanks siva..Can you publish article with server and client configuration

    ReplyDelete
  8. Thanks Siva this article helped me a lot

    Regards
    Srikanth

    ReplyDelete
  9. You did explain, such a reader can easily understanding way..
    Thanks for, this article is really helped me.

    ReplyDelete
  10. thank you so much for this article ,it was the best description whish I read,please the article deploye with XML configuration and adding miscellaneous files in the SSIS package

    ReplyDelete
  11. Very nice article Siva. This article helped me a lot!!

    ReplyDelete
  12. Nice article SivaKumar ,,,Good keepit up

    ReplyDelete
  13. Really Nice article .but i am not able to see deployment folder after deploying package.

    ReplyDelete
  14. Thanks for your post! ITS AMAZINGLY teaching article. I have learned how to creating a deployment manifest file.

    ReplyDelete