Announcements
Hi Folks,
I am running the Released Product Creation V2 DMF import as part of a product creation process as I have many times before but now I am getting the following error message.
It seems to be some sort of duplicate key issue but I checked the product ID's that I want to create and none of them exists yet.
Error Message
n="1.0"?><Errors><Error><ErrorCode>-1071636471</ErrorCode><SubComponent>OLE DB Destination [127]</SubComponent><Description>SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80004005.
An OLE DB record is available. Source: "Microsoft SQL Server Native Client 11.0" Hresult: 0x80004005 Description: "The statement has been terminated.".
An OLE DB record is available. Source: "Microsoft SQL Server Native Client 11.0" Hresult: 0x80004005 Description: "Violation of PRIMARY KEY constraint 'I_20669STAGINGIDX'. Cannot insert duplicate key in object 'dbo.ECORESRELEASEDPRODUCTCREATIONV2STAGING'. The duplicate key value is (5637144576, Product SKU Creation, Product SKU Creation-2023-06-09T15:25:02-CF7E98B9637D4021933CC08751E135CC, ).".
</Description></Error><Error><ErrorCode>-1071607767</ErrorCode><SubComponent>OLE DB Destination [127]</SubComponent><Description>SSIS Error Code DTS_E_INDUCEDTRANSFORMFAILUREONERROR. The "OLE DB Destination.Inputs[OLE DB Destination Input]" failed because error code 0xC020907B occurred, and the error row disposition on "OLE DB Destination.Inputs[OLE DB Destination Input]" specifies failure on error. An error occurred on the specified object of the specified component. There may be error messages posted before this with more information about the failure.
</Description></Error><Error><ErrorCode>-1073450974</ErrorCode><SubComponent>SSIS.Pipeline</SubComponent><Description>SSIS Error Code DTS_E_PROCESSINPUTFAILED. The ProcessInput method on component "OLE DB Destination" (127) failed with error code 0xC0209029 while processing input "OLE DB Destination Input" (140). The identified component returned an error from the ProcessInput method. The error is specific to the component, but the error is fatal and will cause the Data Flow task to stop running. There may be error messages posted before this with more information about the failure.
</Description></Error></Errors>
Failed to insert record into staging table. The keys of the record are DEFINITIONGROUP, EXECUTIONID, ITEMNUMBER, PARTITION. Duplicate records must be removed from the file prior to import.
'0' 'Released product creation V2' record(s) inserted in staging
<?xml version="1.0"?><Errors><Error><ErrorCode>-1071636471</ErrorCode><SubComponent>OLE DB Destination [85]</SubComponent><Description>SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80004005.
An OLE DB record is available. Source: "Microsoft SQL Server Native Client 11.0" Hresult: 0x80004005 Description: "The statement has been terminated.".
An OLE DB record is available. Source: "Microsoft SQL Server Native Client 11.0" Hresult: 0x80004005 Description: "Violation of PRIMARY KEY constraint 'I_68755STAGINGIDX'. Cannot insert duplicate key in object 'dbo.VENDCERTIFICATIONV2STAGING'. The duplicate key value is (5637144576, VendCert Import, VendCert Import-2023-09-20T10:38:30-154F8E77303847218CE9BE542D5E1517).".
</Description></Error><Error><ErrorCode>-1071607767</ErrorCode><SubComponent>OLE DB Destination [85]</SubComponent><Description>SSIS Error Code DTS_E_INDUCEDTRANSFORMFAILUREONERROR. The "OLE DB Destination.Inputs[OLE DB Destination Input]" failed because error code 0xC020907B occurred, and the error row disposition on "OLE DB Destination.Inputs[OLE DB Destination Input]" specifies failure on error. An error occurred on the specified object of the specified component. There may be error messages posted before this with more information about the failure.
</Description></Error><Error><ErrorCode>-1073450974</ErrorCode><SubComponent>SSIS.Pipeline</SubComponent><Description>SSIS Error Code DTS_E_PROCESSINPUTFAILED. The ProcessInput method on component "OLE DB Destination" (85) failed with error code 0xC0209029 while processing input "OLE DB Destination Input" (98). The identified component returned an error from the ProcessInput method. The error is specific to the component, but the error is fatal and will cause the Data Flow task to stop running. There may be error messages posted before this with more information about the failure.
</Description></Error></Errors>
Failed to insert record into staging table. The keys of the record are DEFINITIONGROUP, EXECUTIONID, PARTITION. Duplicate records must be removed from the file prior to import.
'0' 'Set up certifications V2' record(s) inserted in staging
Can you export the data entity to file (Excel or CSV), then use it to import few records. As mentioned above, this will ensure that its not incorrect template issue.
Hi Silvio,
Try importing with couple of records and confirm if the template is right.
Thanks Mohit for the swift response.
The only duplication I can see is that the productname is the same as the Itemnumber but I have imported such examples successfully before.
Hi, please check below two possible reason for this error.
1) Duplicate data in the file. Please check unique index (Key) of data entity and verify the file is correct. There might be multiple records with same index fields in file.
2) The template is incorrect, specially missing one of the unique index field.
André Arnaud de Cal...
294,206
Super User 2025 Season 1
Martin Dráb
232,968
Most Valuable Professional
nmaenpaa
101,158
Moderator