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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Unmanaged Solution deployment after Full copy fails with error message Cannot insert duplicate key row in object 'dbo.DependencyBase' with unique index 'ndx_UniqueDependencyNodes'.

(0) ShareShare
ReportReport
Posted on by 239

We just did a full copy from Dev to a Demo instance (both sandbox), after the full copy the environemtn works well, but when we try to deploy an unmanaged solution from same Dev to Demo instance it fails with following error message.

Cannot insert duplicate key row in object 'dbo.DependencyBase' with unique index 'ndx_UniqueDependencyNodes'. The duplicate key value is (f6b41023-89fc-4efe-9d24-b5d8af70c580, 0c592a9c-e544-47f5-8283-65210c46e22a).

Any idea what might be causing this?

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Kokulan Profile Picture
    18,054 on at

    Hi

    It looks like something was not fully/properly completed by the Full Copy process itself.

    I would first try the following and see if this fixes the issue

    01. Reset the Demo instance

    02. Copy the Dev to Demo again - Full Copy

    03. Try and import your unmanaged solution from dev and see if it fixes the issue

    If you still have the issue,  you may have to raise a ticket with Microsoft, have a look at the link below as well

    stackoverflow.com/.../error-on-dbo-dependencybase-when-importing-from-dynamics-crm-2016-to-dynamics-36

  • Suggested answer
    RaviKashyap Profile Picture
    55,410 Moderator on at

    Hi,

    There is a potential fix for this issue in the below blog-

    ssharmacrm.wordpress.com/.../dynamics-crm-solution-import-error

    Hope this helps.

  • Suggested answer
    Dynamics365 Rocker Profile Picture
    7,755 on at

    Check you solution XML , It may be possible that there are some duplicate value tags.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
AS-17030037-0 Profile Picture

AS-17030037-0 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans