Skip to main content

Notifications

Microsoft Dynamics CRM (Archived)

Custom Control Default Config dependency issues

Posted on by Microsoft Employee

Recently i got error when import solution:  

Cannot insert duplicate key row in object 'dbo.DependencyBase' with unique index 'ndx_UniqueDependencyNodes'. The duplicate key value is (984ab48e-1c38-40c6-a762-584a79a5cffd, 47557c08-e7c3-48b8-b71e-26a325ab3d90).
The statement has been terminated.

I tried investigate and found out that  guid 47557c08-e7c3-48b8-b71e-26a325ab3d90 related to Custom Control Default Config record. So, what is it Custom Control Default Config and what can i do to solve this problem?

Strange thing, that I imported same solution to my second env (identical to my first env) without any errors. 

I tried to remove related Custom Control Default Config section from customization.xml, but got new error with different Custom Control Default Config section. I guess i can delete all of them, but it doesn't seem to be good solution, because i don't want to get same error next time when i will import solution with same entities.

*This post is locked for comments

  • Verified answer
    Shai Bar-Lev Profile Picture
    Shai Bar-Lev 170 on at
    RE: Custom Control Default Config dependency issues

    Maybe this will help ypu :

    To solve the issue you need to open the index "ndx_UniqueDependencyNodes" for "dbo.DependencyBase" and select "Skip repeating values" option on "Parameters" tab (not sure if it is the correct name in english because we have russian UI). This option is next after "Rebuild index".

    From :

    social.microsoft.com/.../error-installing-crm-2011-update-rollup-11-v2

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!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans