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 :
Microsoft Dynamics AX (Archived)

Cannot create a record in Inheritance relation

(0) ShareShare
ReportReport
Posted on by 238,740 Most Valuable Professional

I'm installing AX 2012 R3 and the database synchronization (executed from the initialization checklist) throws ~150 errors similar to the following:

Cannot create a record in Inheritance relation (SysInheritanceRelations). MainTableId: 2051.
The record already exists.

Repeated runs ended with exactly the same outcome.

If you have any experience with this error, please let me know. I don't know yet whether it's going to cause any problems (or it simply tries to insert the same information twice); I'll update this thread if I find out anything useful.

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Martin Dráb Profile Picture
    238,740 Most Valuable Professional on at

    I don't know what caused the error, nevertheless it disappeared after restarting the AOS and running the synchronization once more.

  • Rudi Hansen Profile Picture
    4,079 on at

    I have the same thing, I am doing an update from AX4 to 2012, and under while going through the compile step of the checklist I got those errors.

    I have tried restarting the AOS, and is now doing CIL compilation.

    I will update this post with any further into I find.

  • Sohaib Cheema Profile Picture
    49,659 Super User 2026 Season 1 on at

    Hello Rudi,

    I am not sure about context of event that has been raised in your machine, during in place upgrade, but I can see some words at LCS

  • Rudi Hansen Profile Picture
    4,079 on at

    Hi Sohaib, that seems to be exactly the problem.

    And it looks like restarting the AOS did help.

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!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Pratik Bhosle Profile Picture

Pratik Bhosle 2

#2
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans