Skip to main content

Notifications

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 11

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

  • The.Clem Profile Picture
    51 on at
    Released product creation V2 - DMF import returns error
    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
  • Mohit Rampal Profile Picture
    12,558 Moderator on at
    Released product creation V2 - DMF import returns error
    Are you still facing issues? 
  • Mohit Rampal Profile Picture
    12,558 Moderator on at
    RE: Released product creation V2 - DMF import returns error

    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.

  • Anitha Eswaran Profile Picture
    312 on at
    RE: Released product creation V2 - DMF import returns error

    Hi Silvio,

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

  • Silvio Bartel Profile Picture
    11 on at
    RE: Released product creation V2 - DMF import returns error

    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. 

  • Suggested answer
    Mohit Rampal Profile Picture
    12,558 Moderator on at
    RE: Released product creation V2 - DMF import returns error

    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.

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,206 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,968 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans