Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Deleting non-custom Entity Relationship

Posted on by

I'm trying to import a managed solution into a client's test environment. My import is failing because of the following: 

A managed solution cannot overwrite the EntityRelationship component with Id=xxx-xxx... which has an unmanaged base instance.  The most likely scenario for this error is that an unmanaged solution has installed a new unmanaged EntityRelationship component on the target system, and now a managed solution from the same publisher is trying to install that same EntityRelationship component as managed.  This will cause an invalid layering of solutions on the target system and is not allowed.

I've looked at the import log and pin pointed the entity relationship that's causing the error. It is an N:N relationship between contact and knowledge base record. I did not manually create this, though I was experimenting with turning on the KB record search for contact. When I try to delete the relationship, I get the following error: 

Only custom relationships can be updated or deleted. 

I've ensured that the knowledge base record search for contact is turned off in the settings. The relationship, however, still exists and I cannot delete it. Any ideas how to delete this relationship so I can complete my import? Thanks for any help. 

*This post is locked for comments

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans