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

  • Suggested answer
    yleclerc Profile Picture
    1,549 on at
    RE: Importing a solution error

    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>

  • Jason Eldredge Profile Picture
    on at
    RE: Importing a solution error

    Was anyone able to find a solution to this?

  • Suggested answer
    Community Member Profile Picture
    on at
    RE: Importing a solution error

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

  • Suggested answer
    Yuri Porto Profile Picture
    on at
    RE: Importing a solution error

    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
    RE: Importing a solution error

    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

  • Yuri Porto Profile Picture
    on at
    RE: Importing a solution error

    Hi Guys, 

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

  • Community Member Profile Picture
    on at
    RE: Importing a solution error

    Any update on this one?

  • yleclerc Profile Picture
    1,549 on at
    RE: Importing a solution error

    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!

  • Suggested answer
    razdynamics Profile Picture
    17,308 User Group Leader on at
    RE: Importing a solution error

    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

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,430 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 233,043 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans