I have a SSIS package where I am using a script component in DFT to retrieve the error column and error description from an insert into a SQL table.
My code is below. However, after the DFT is done (it completes all its steps) the package cannot continue onto the next DFT task with error of
[SSIS.Pipeline] Error: No object exists with the ID 0.
My code is below for the component
I have tried to delete the script component and re-create it but this did not work
public override void Input0_ProcessInputRow(Input0Buffer Row)
{
Row.ErrorDescription = this.ComponentMetaData.GetErrorDescription(Row.ErrorCode);
IDTSComponentMetaData130 componentMetaData = this.ComponentMetaData as IDTSComponentMetaData130;
Row.ErrorColumnName = componentMetaData.GetIdentificationStringByID(Row.ErrorColumn);
}
Error Description and Error Column get to error table but package does not continue.