SQL Server Error Msg 21572 – Cannot add a logical record relationship because the foreign key constraint ‘%s’ on table ‘%s’ is disabled. To create the logical record relationship, first enable the foreign key constraint.

In this blog post, let’s learn about the error message “21572 – Cannot add a logical record relationship because the foreign key constraint ‘%s’ on table ‘%s’ is disabled. To create the logical record relationship, first enable the foreign key constraint.” in Microsoft SQL Server, the reason why it appears and the solution to fix it.

SQL Server Error Message

21572 – Cannot add a logical record relationship because the foreign key constraint ‘%s’ on table ‘%s’ is disabled. To create the logical record relationship, first enable the foreign key constraint.

Reason for the Error

To be update soon…

Solution

To be update soon…