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)

The UPDATE statement conflicted with the FOREIGN KEY constraint "FK_ModelElementData_HasModelId_LayerId".

(0) ShareShare
ReportReport
Posted on by

Error Message Cannot execute a stored procedure.

The SQL database has issued an error.
Info Message SQL error description:The UPDATE statement conflicted with the FOREIGN KEY constraint "FK_ModelElementData_HasModelId_LayerId". 

*This post is locked for comments

  • Iulian Cordobin Profile Picture
    8,201 on at

    As the error says, you have a some corrupted metadata in the ModelStore. This is most of the times the result of some operations (import models, move to model, etc), not committing properly the data in the database. There are multiple ways to fix these errors, depending on their complexity.

    What I would recommend for you would be first to identify the objects that are causing these problems, and try to resolve the error in the underlying layer by recreating the object (export them, delete and recreate).

  • Community Member Profile Picture
    on at

    Hi Lulian Thanks for the response

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
nmaenpaa Profile Picture

nmaenpaa 2 Moderator

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans