"Database update failure. DbUpdateException: System.Data.Entity.Infrastructure.DbUpdateException: An error occurred while updating the entries." occurs when attempting to delete a Job Group Folder.
The Issue
After deleting all the Jobs, Schedules and/or Real-time Monitors from a Job Group Folder, you receive the following error when attempting to delete the Job Group Folder:
"Database update failure. DbUpdateException: System.Data.Entity.Infrastructure.DbUpdateException: An error occurred while updating the entries."
The Solution
When a root path is deleted, the history for the root path needs to be deleted. If you delete a job, the root paths for that job must be deleted, and the history must also be deleted.
If there is a lot of history, the history deletion can take some time. SureSnc performs the deletions in the SureSync Desktop or via the Scheduler service as a background task. Until those deletions are completed, you will not be able to delete the job group. This is because the job and the root paths still exist during the deletion process, even though they are hidden.
In the lower-left corner of the SureSync Desktop there should be a message indicating how many file history records remain to be deleted. If you leave the Desktop running until the file history has been successfully deleted, you can then delete the Job Group Folder.