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

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

SyncError Dependency Issue

(0) ShareShare
ReportReport
Posted on by 15

Since we installed the December 2016 update (8.2.0000.0749) in our development and test environment we are having issues. We are preparing an upgrade from CRM4 to CRM 365. Issues arise when the organization database has been imported to CRM 365. First a managed solution was applied to change all customization to managed. 

After importing a new solution version it is not possible to apply the upgrade anymore (it was before the December update).The new solution version would delete custom entities from the system that have been in the organization prior to the upgrade. (initially all cutomizations were unmanaged. We applied a managed solution to change all customization to managed. We now want to install and apply a solution upgrade that will remove redundant entities from the system.) When we apply the upgrade we get the following error:

apply_2D00_upgrade_2D00_error.png

The list of details displayed when clicking on Details is empty.

apply_2D00_upgrade_2D00_dependency_2D00_list.png

A very similar issue, which is assumed to have the same cause

Technically the same issue arises in a development organization that is upgraded to CRM 365 after applying the December 2016 upgrade, i.e. by importing the organization's CRM 2015 database into a new organization in dynamics CRM 365 using the deployment manager.  Deleting one of the custom entities after the upgrade fails. Error message:

delete_2D00_entity_2D00_error.png

In this case error details are not empty:

delete_2D00_entity_2D00_dependency_2D00_list.png

This is a CRM issue, since the relationship to the Sync Error entity should not be blocking the deletion of a custom entity. It is a relationship that is implicitly added to any custom entity.

Impact

If I only were removing a single entity at one point of the migration process, it would be possible to delete the 1-n relationship of the custom entity to the Sync Error entity, but due to a whole list of necessary deletions during the migration of our large database this is not an option.

We need another solution to resolve this issue.

Database Script?

By comparing an upgraded database that was upgraded before the December 2016 upgrade was installed to a database that was upgraded after the upgrade was installed, I have come up with a script that deletes entries in the DependencyBase and DependencyNodeBase tables. This is definitely not a supported route for the migration process. Since this will be performed on a customer's production database, we think it is necessary to have a supported solution from Microsoft for this issue.

*This post is locked for comments

I have the same question (0)
  • Kjeld Poulsen Profile Picture
    180 on at
    RE: SyncError Dependency Issue

    Long time since this thread started but it is still an issue.

    Does anybody know it there is a workaround for this. I have the problem on an on-prem developer instance.

    I am not able to delete a custom entity because it has a reference to syncErrors. I am on this version: Version 2104 (9.1.1.914) (DB 9.1.1.914) on-premises

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
HR-09070029-0 Profile Picture

HR-09070029-0 2

#1
UllrSki Profile Picture

UllrSki 2

#3
ED-30091530-0 Profile Picture

ED-30091530-0 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans