Hey I have an application with a bunch of inproc caching and entity framework. When I want to write an update to an entity I reattach the cached copy. I track all things I\'
I have just been experiencing the same issue and the resolution to mine was that I had added mappings to the association and then setup the referential contstraints.
Inorder to resolve the issue I had to open the mappings window for the association and there was a link to delete the mappings. Once done the Mapping Details window then said Mappings are not allowed.. It appears that adding the referential constraint leaves any mappings in place.
Thought it may be worth posting in case anyone else is looking for solutions to this error message in the future.