How to upgrade a script in Script Task Plus from 2005 to 2008

How to upgrade a script in Script Task Plus from 2005 to 2008

In order for this process to work, you must have both SQL 2005 and 2008 installed side-by-side on the same machine.

Most of the scripts published in the public script repository are for SQL 2005. However they can be easily upgraded to SQL 2008 by following these 10 steps:

  1. Create the SSIS 2005 package and insert COZYROC Script Task Plus.
  2. Load a script in the task and break the link to the script. Save the package.
  3. Go to the SSIS 2008 solution. Right-click on the solution and select 'Add Existing Package'.
  4. Select the package you have created in step 1. SSIS 2008 will do an automatic upgrade of the package and show some warnings.
  5. Open the imported package.
  6. Double-click on the COZYROC Script Task Plus and enter the script IDE.
  7. Right-click on the script project and select Properties.
  8. Go to the References tab and add a reference to CozyRoc.SSISPlus.2008 from the "Microsoft SQL Server\100\SDK\Assemblies" folder.
  9. Save and close the project settings. Make sure the script compiles.
  10. Close the script IDE and export the script.