Saturday, September 1, 2007

Using .net code in SSIS

For doing that you must follow these steps:

  1. Generating a strong name that will be used for your .dll file.This can be done by using sn.exe utility that ships with .net framework, or by using the properties settings of the visual studio 2005 project (example: sn –k “C:\MyKeyFile.snk”).
  2. Using the GUID that was generated by SN utility within Class Library setting Section (Signing Tab).
  3. Setting the Class Library setting Section (Build Tab) to Active (Release).
  4. Use the Global Assembly Cache Tool (Gacutil.exe), which is found in {Drive}:\Program Files\ Microsoft.NET\SDK\v2.0\Bin for adding the assembly to the Global Assembly Cache(GAC). gacutil.exe /i “Path
    The assembly must also be placed in the{Drive}:\WINDOWS\Microsoft.NET\Framework\v2.0.50727.

SSIS requires these custom objects placed within the Global Assembly Cache (GAC) on the machine that is executing the package to maximize performance of the pipeline and tasks

1 comment:

Dinesh Vishe said...

Great so usefulll