Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)

AX 4.0 to AX 2012 Upgrade Error

Posted on by 5

Hi All,

I am currently working on both code and data upgrade from AX 4.0 SP2 to AX 2012 R3 Cu12 and i am getting the following error after specifying the Server and database name in the target "connect to source database" checklist.

Please let me know, how i could fix this issue.

AX-2012-Upgrade-Error.png

*This post is locked for comments

  • Wilbertregan Profile Picture
    Wilbertregan 5 on at
    RE: AX 4.0 to AX 2012 Upgrade Error

    Thanks for your input, i will perform the above actions and let you know.

  • Verified answer
    Vilmos Kintera Profile Picture
    Vilmos Kintera 46,149 on at
    RE: AX 4.0 to AX 2012 Upgrade Error

    Take a backup of your in progress data and model databases just in case something would go wrong.

    Export your models from all customized layers in the partially upgraded environment.

    Create a new Database installation using the AX 2012 installer kit, and mark all models (foundation, foundation upgrade, foundation labels). Export the modelstore using the AX Management Shell from this fresh instance.

    Import the modelstore with ID overwrite over your in progress upgrade environment.

    Import the models to the layers which you have saved before.

    Do an AXBuild to compile the newly added elements.

  • Suggested answer
    Pravasti AK Profile Picture
    Pravasti AK 2,985 on at
    RE: AX 4.0 to AX 2012 Upgrade Error

    Hi,

    When installing AX 2012 R3 there was the option "Install foundation labels" that was unchecked by default

  • Wilbertregan Profile Picture
    Wilbertregan 5 on at
    RE: AX 4.0 to AX 2012 Upgrade Error

    Since i have already installed Ax 2012 and started the upgrade checklist in ax 2012, please let me know on how to install the foundation upgrade model.

  • Saurabh P Singh Profile Picture
    Saurabh P Singh 890 on at
    RE: AX 4.0 to AX 2012 Upgrade Error

    Please mark the answer as verified.

    Saurabh

  • Wilbertregan Profile Picture
    Wilbertregan 5 on at
    RE: AX 4.0 to AX 2012 Upgrade Error

    Thanks for the clarification it was my mistake, i did not choose the foundation upgrade model while installing the Ax 2012. Since installation is already done, please let me know on how to install the foundation upgrade model.

  • Suggested answer
    Vilmos Kintera Profile Picture
    Vilmos Kintera 46,149 on at
    RE: AX 4.0 to AX 2012 Upgrade Error

    André was not referring to marking the DB for upgrade, but when you do a clean installation of an AX 2012 environment, then you may choose what models should be installed. There the Foundation, Foundation Labels and Upgrade models should all be ticked in order to have the necessary objects in the modelstore required for a code and data upgrade.

  • Wilbertregan Profile Picture
    Wilbertregan 5 on at
    RE: AX 4.0 to AX 2012 Upgrade Error

    Hi Andre,

    Yes, "register database for upgrade from Microsoft dynamics AX 4.0 or Microsoft Dynamics AX 2009" check box is selected during the installation process of AX 2012.

    Thanks,

    Wilbert

  • Verified answer
    André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 291,253 Super User 2024 Season 2 on at
    RE: AX 4.0 to AX 2012 Upgrade Error

    Hi Wilbertregan,

    During setup, did you choose to install the upgrade models? The missing class is probably part of the additional model.

  • Wilbertregan Profile Picture
    Wilbertregan 5 on at
    RE: AX 4.0 to AX 2012 Upgrade Error

    Any suggestions..? about this error

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans