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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

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

DB Sync errors on Ax 2012 R2 - R3 Upgrade

(0) ShareShare
ReportReport
Posted on by 1,673

Hi everyone

I've just performed an upgrade from Ax 2012 R2 CU6 to Ax 2012 R3 CU13 according to this documentation:

https://docs.microsoft.com/en-us/dynamicsax-2012/appuser-itpro/scenario-perform-in-place-upgrade-to-ax-2012-r2-or-ax-2012-r3

I'm at the point where the upgraded models are in the R3 environment, and I need to run the data upgrade.

I make it through the pre-Sync fine, but the actual Synchronization fails with errors - all of them on DMF tables. I noticed that on the DMF tables reported in the error, there are field id conflicts. I run a job to fix them, and try  to sync again, but then I get tons of errors on indexes that can't be updated, so I think I'm on the wrong path.

Some of the DMF tables had modifications on them. In the upgrade documentation, you're supposed to delete the DMF or FPK model. I did that. However, there were DMF modifications in an ISV layer that got merged back into the code after the code upgrade was done. I suspect I did something wrong here - what did I do wrong? When are you supposed to merge DMF customisations back into the code? Since DMF changed so much between R2 and R3, does it require re-implementation? The documentation says nothing about it, only that the FPK model must be initially deleted - which it was.

My strategy now is to delete the DMF modifications, recompile the code, recompile CIL, and then run the dataupgrade again. Will this work? What must I do with the DMF modifications? 

Any help is appreciated as always.

Thanks

I have the same question (0)
  • Suggested answer
    Khushhal Garg Profile Picture
    1,514 on at

    You are supposed to remove DMF from FPK layer.

  • BrandonSA Profile Picture
    1,673 on at

    Hi Khushhal

    Thanks for the reply. As stated, I did do that. Something else is wrong.

    Thanks

  • Suggested answer
    Khushhal Garg Profile Picture
    1,514 on at

    What kind of modifications are there in DMF? Did you add new fields?

  • BrandonSA Profile Picture
    1,673 on at

    The changes are from another ISV partner. Some of the changes include new fields. Some of the changes are changed field properties, like changing mandatory from no to yes. Some of the changes include small changes on relationships etc.

    The documentation also seems to indicate that there should be an updated FPK model in R3, but I can't see one. It looks like all DMF objects now reside on the SYS layer. I don't understand why Ax is unable to update these tables.

  • Suggested answer
    Khushhal Garg Profile Picture
    1,514 on at

    seems significant changes that could be impacting upgrade. You can try removing these changes and put these back after upgrade. Only thing if you want to bring data in these new fields then those have to migrated later manually. If not, then removing these customizations before upgrade and adding later after upgrade should be fine.

  • Suggested answer
    nmaenpaa Profile Picture
    101,172 Moderator on at

    Do you have R3 compatible version of the ISV solution, or are you using the old one?

    What errors do you get? Perhaps you should talk to the ISV if the issue seems to be related to their stuff.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

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

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 689

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 606 Super User 2026 Season 1

#3
CP04-islander Profile Picture

CP04-islander 356

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans