web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Supply chain | Supply Chain Management, Commerce
Suggested Answer

Released product creation V2 - DMF import returns error

(1) ShareShare
ReportReport
Posted on by 13

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

I have the same question (0)
  • Suggested answer
    Mohit Rampal Profile Picture
    12,565 Moderator on at

    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.

  • Silvio Bartel Profile Picture
    13 on at

    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. 

  • Anitha Eswaran Profile Picture
    312 on at

    Hi Silvio,

    Try importing with couple of records and confirm if the template is right.

  • Mohit Rampal Profile Picture
    12,565 Moderator on at

    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.

  • Mohit Rampal Profile Picture
    12,565 Moderator on at
    Are you still facing issues? 
  • The.Clem Profile Picture
    53 on at
    Hi folks. 
    I have been having a similar issue with a different data entity - "Set up Certifications V2"
     
    I am able to successfully import a single row of data, but when I add a second row to my import data I get the following error: 
    <?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
    I was able to successfully import either of the two test rows on their own, but as soon as they are in the same file the error occurs. 
     
    Importing every record one by one would make this a rather inefficient data entity. 🤣
    If anyone has thoughts on what the issue might be, any help would be appreciated. 
     
    -Clem

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Supply chain | Supply Chain Management, Commerce

#1
Laurens vd Tang Profile Picture

Laurens vd Tang 302 Super User 2025 Season 2

#2
Siv Sagar Profile Picture

Siv Sagar 183 Super User 2025 Season 2

#3
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 120 Super User 2025 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans