web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Importing a solution error

(0) ShareShare
ReportReport
Posted on by

Hi,

I'm trying to import a solution and getting the following error on item type 'Dependencies Calculation':

Cannot insert duplicate key row in object 'dbo.DependencyBase' with unique index 'ndx_UniqueDependencyNodes'. The duplicate key value is (add52354-c1db-49fc-b0c7-67729a502437, ca357157-0696-4b68-a307-011621437c8d). The statement has been terminated.

Is someone familiar with this error?

Thanks

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    razdynamics Profile Picture
    17,308 User Group Leader on at

    Hi may I ask what version of CRM your on? The cause is likely to be related to a lookup or Subgrid referencing a non-existing view in your Target CRM. You can try removing the reference from the solution Or Try removing all SubGrids from the form giving the error?

    Best Wishes, Raz

  • yleclerc Profile Picture
    1,549 on at

    I'm facing the same issue.

    We are using CRM 2016.

    The reference key values are not present in the customization.xml file, so I can't remove them.

    Still searching!

  • Community Member Profile Picture
    on at

    Any update on this one?

  • Yuri Porto Profile Picture
    on at

    Hi Guys, 

    I'm having a problem, someone has already been able to get around this situation???

  • Suggested answer
    Community Member Profile Picture
    on at

    I deleted and reuploaded a backup of the "broken" solution. This did the trick for me.

    But I also got an email from Microsoft this morning that they had problems with my instance of dynamics 365 yesterday when the error occurred

  • Suggested answer
    Yuri Porto Profile Picture
    on at

    I have news.

    We tried to reimplant the solution without success. After much research, the architect of our team found a post in Turkish that contains the solution to the problem.
    The following link: https://yazbunu.wordpress.com/2013/05/10/dependencybase-index-hatasi/

  • Suggested answer
    Community Member Profile Picture
    on at

    Microsoft support solved it for me but it took them about a month.

  • Jason Eldredge Profile Picture
    on at

    Was anyone able to find a solution to this?

  • Suggested answer
    yleclerc Profile Picture
    1,549 on at

    Hi Jason,

    This post worked for me. https://community.dynamics.com/crm/f/117/t/207666

    You need to remove the part in red below from your customization.xml file.

    You might have more than one section like this in your customization.xml file, but you need to find the one that is related to the entity or attribute that is causing the error.

         <CustomControlDefaultConfigs>

            <CustomControlDefaultConfig>

              <PrimaryEntityTypeCode>10073</PrimaryEntityTypeCode>

     <CustomControlDefaultConfigId>{bd771d8c-2cd6-e511-80d4-00155d0e4417}</CustomControlDefaultConfigId>

                 <ControlDescriptionXML>

                  <controlDescriptions />

              </ControlDescriptionXML>

              <IntroducedVersion>1.0</IntroducedVersion>

            </CustomControlDefaultConfig>

          </CustomControlDefaultConfigs>

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans