views:

53

answers:

1

Using Script Task, I have written a code to create a folder and create a file of msword document inside the created folder. Its working in local machine. But its not working in another server, after I deployed it. The folder is created successfully, but the word document file is not created. for word document creation, I had to refer another dll where I had included an additional namespace "Microsoft.Office.Interop.Word". Is there anything else to do before deployment ?

+1  A: 

Based upon rfonn's comments, your choices are as follows:

  1. Install Word 2007 on the server.
  2. Re-do your package on a dev box with Word 2003 installed and deploy to your server.
  3. Use some other tool to generate the Word Document.

SSIS is generally used for movement of data, so while it is possible to do what you are doing, it is likely not the best tool for the job. If you are capable of writing code in a script task to do what you want in SSIS, it is possible to write a program (VB or C# or any other tool you choose) to do the same thing without SSIS being wrapped around it. My money is on option #3 being your best choice.

William Todd Salzman
ok. Thanks William.
Sreejesh Kumar

related questions