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

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested answer

BYOD - Mapping error has occurred

(0) ShareShare
ReportReport
Posted on by 5

Hi all,

I'm stuck in a loop that I can't get out of in any way. I've followed the instructions step by step, deleted everything and redone several times but I can't figure it out. Exporting some tables to my BYOD DB always fails for the same error:

 System - Providers [ Name] Microsoft-Dynamics-AX-DIXFRuntime [guid] {66cca55b-b192-4e1e-b75b-6d0d199e8475} Event ID 122 Version 0 Level 2 Task 82 Opcode 0 Keywords 0x4000000100000002 -TimeCreated [SystemTime] 2023-01-16T10:11:53.9198124Z Event Record ID 35966 - Correlation [ActivityID] {da512f6d-26ab-0004-cfde-51daab26d901} - Execution [ProcessID] 2356 [ThreadID] 1856 Channel Microsoft-Dynamics-AX-DIXFRuntime/Operational Computer dev6fac4158f1-1 -Security [UserID] S-1-5-20 - EventData EventName ServiceCallerError executionID 2626 BYOD test-2023-01-16T10:10:36-F82B4BCFE4854A209DB56B6F3108D3FA dataProject 2626 BYOD testing source DMFGenerateSSISPackage.getDescription entityName Associated Service objects targetEntityName message Mapping error has occurred, please try to republish the entity and create a new export project. executionContext exceptionDetails SqlQuery details { "Company": "2626", "ErrorCode": "DMF2006", "OperationMode": "Batch" } parameters { "labelId": "@DMF2006", "localizedErrorMessage": "Mapping error has occurred, please try to republish the entity and create a new export project.", "_timeOut": 7200, "_timeOutName": "Sql command timeout (in seconds)", "_stagingTable": "" }

can you help me?

I have the same question (0)
  • Suggested answer
    huijij Profile Picture
    19,811 on at
    RE: BYOD - Mapping error has occurred

    Hi Mimmogp,

    You can check the timeouts for the BYOD. The default timeouts for BYOD exports are set to ten minutes for truncation operations. You can update the timeout settings by navigating to Data management > Framework parameters > Bring your own database. These timeouts are company specific and must be set separately for each company.

  • Suggested answer
    Alireza Eshaghzadeh Profile Picture
    14,637 Super User 2025 Season 2 on at
    RE: BYOD - Mapping error has occurred

    Hi Mimmogp,

    Does it apply to customs entities or specific export refresh type (e.g. Incremental push)?

    Ref to the error message, there is a mapping error. Please open one of the affected entity from entity list and then click on "Drop entity"

    pastedimage1673950300473v1.png

    Then click on "Modify target mapping" and click on "Generate mapping"

    pastedimage1673950376427v2.png

    Then "Publish" the entity against BYOD AzureSQLDB and create a new data export project and export the entity in "FullPush" to AzureSQLDB.

    Please let us know if you get the same error messgae.

  • Mimmogp Profile Picture
    5 on at
    RE: BYOD - Mapping error has occurred

    Hi Alireza,

    thanks for your answare, it's a custom entity. 

    I have done the procedure you suggest many times. The publication in Azure SQL DB is done correctly and the fields are all correct. The table is very simple, whit only 4 field. 
    pastedimage1673956215851v1.png

    pastedimage1673956273482v2.png

    In Debug i found that the error is raised by class dmf.EntityProxy.createAndExecutePackgeEntityDbexport

    Something is missing or wrong in the custom entity, can you suggest me what?

    thanks very mutch
    Mimmo
  • Suggested answer
    Alireza Eshaghzadeh Profile Picture
    14,637 Super User 2025 Season 2 on at
    RE: BYOD - Mapping error has occurred

    Hi Mimmo,

    Can you export data with this custom entity? (for example export to Excel)

  • Mimmogp Profile Picture
    5 on at
    RE: BYOD - Mapping error has occurred

    pastedimage1674062675748v1.png

    perfectly

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…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

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

#2
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 569

#3
Martin Dráb Profile Picture

Martin Dráb 551 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans