The MetaForeignKeyAssociation Can't Be Created. The CLR Type Mapping For The Source Member Does Not Match The CLR Type Mapping For Target Member

This article is relevant to entity models that utilize the deprecated Visual Studio integration of Telerik Data Access. The current documentation of the Data Access framework is available here.

This error occurs when you try to create a new foreign key association with different CLR types for the source and target members.

Solution

To resolve this error, change the CLR type for one of the navigation ends.