NewDBAGuy
2005-03-17 22:20:49 UTC
I was wondering if anyone knew how to resolve a certain problem I have. When
I set up a DTS package, and do straight column-copy transformations, I have
no problem doing so. However, when I need to do an ActiveX script
transformation, I keep getting an error afterwards. When I look at the error
log file, I see:
Error at Destination for Row number 1. Errors encountered so far in this
task: 1.
Error Source: Microsoft Data Transformation Services (DTS) Data Pump
Error Description:Insert error, column 1 ('DDAFeedID', DBTYPE_I4), status
10: Integrity violation; attempt to insert NULL data or data which violates
constraints.
Error Help File:sqldts80.hlp
Error Help Context ID:30702
The table I am importing into has an identity column as the primary key,
which does not allow Nulls. All other fields allow Null values. I have
unchecked in the tranformation Options section where it says 'enable identity
insert.' Even if I comment out every line of the ActiveX script
transformation, I get the same error. If I delete this transformation and
just leave the copy column type in, it works fine. Sometimes I have to create
entirely separate transformations for each column being copied just to get
past this annoyance.
Any help is appreciated. It seems every time I modify a perfectly-good DTS
package I am back in the same spot.
System specs:
Win2k3
Sql 2000 Std Sp3a with MS0-031 and kb826161 patches installed.
I set up a DTS package, and do straight column-copy transformations, I have
no problem doing so. However, when I need to do an ActiveX script
transformation, I keep getting an error afterwards. When I look at the error
log file, I see:
Error at Destination for Row number 1. Errors encountered so far in this
task: 1.
Error Source: Microsoft Data Transformation Services (DTS) Data Pump
Error Description:Insert error, column 1 ('DDAFeedID', DBTYPE_I4), status
10: Integrity violation; attempt to insert NULL data or data which violates
constraints.
Error Help File:sqldts80.hlp
Error Help Context ID:30702
The table I am importing into has an identity column as the primary key,
which does not allow Nulls. All other fields allow Null values. I have
unchecked in the tranformation Options section where it says 'enable identity
insert.' Even if I comment out every line of the ActiveX script
transformation, I get the same error. If I delete this transformation and
just leave the copy column type in, it works fine. Sometimes I have to create
entirely separate transformations for each column being copied just to get
past this annoyance.
Any help is appreciated. It seems every time I modify a perfectly-good DTS
package I am back in the same spot.
System specs:
Win2k3
Sql 2000 Std Sp3a with MS0-031 and kb826161 patches installed.