Add Script Component Programmatically

  • I want to add Script Component to my SSIS Package without using designer i.e. programmatically.

    My script component will be Transformation Type.

    So how can this task be performed?

  • I have tried above thing but I am getting following error:

    when I compile my application I get following errors:

    Error Code :-1073450910

    Sub Component :- Script Component [43]

    Description :- System.NullReferenceException: Object reference not set to an instance of an object.

       at Microsoft.SqlServer.Dts.Pipeline.ScriptComponentHost.CreateUserComponent()

     

    Error Code :-1073450901

    Sub Component :-DTS.Pipeline

    Description :- "component "Script Component" (43)" failed validation and returned validation status "VS_ISBROKEN".

     

    So what can be done to solve this?

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply