Error Restoring Media Files from Recycling Bin

Andre Pfanz asked on February 21, 2017 18:00

We are running on Kentico v9. When attempting to restore a media file from the recycling bin, I get a message saying an error occurred and to check the event log. In the log is this entry:

Message: [SyncManager.UpdateObject]: Cannot translate columns 'FileLibraryID', import the dependent objects first.

Exception type: System.Exception Stack Trace: at CMS.Synchronization.SyncManager.UpdateObject(GeneralizedInfo& infoObj, DataSet ds, TranslationHelper th, Boolean updateChildren, DataSet binaryData, Boolean addToSite, List`1 postProcessList) at CMS.Synchronization.SyncManager.UpdateObjects(BaseInfo infoObj, DataSet ds, TranslationHelper th, Boolean updateChildren, DataSet binaryData, Boolean addToSite, Boolean logTasks) at CMS.Synchronization.SyncManager.UpdateObject(DataSet objectDS, DataSet binaryData, String taskObjectType, TranslationHelper th, Boolean updateChildren, Boolean addToSite) at CMS.Synchronization.SyncManager.ProcessTaskInternal(IStagingTaskData stagingTaskData, Boolean processChildren, StagingSynchronizationHandler handler) at CMS.Synchronization.SynchronizationEngineModule.ProcessTask(Object[] parameters) at CMS.DataEngine.Module.ProcessCommand(String commandName, Object[] parameters) at CMS.DataEngine.ModuleCommands.SynchronizationProcessTask(OperationTypeEnum operationType, TaskTypeEnum taskType, String taskObjectType, String taskData, String taskBinaryData, Boolean processChilds, String siteName) at CMS.Synchronization.ObjectVersionManager.RestoreObjectVersion(ObjectVersionHistoryInfo versionHistory, Boolean processChilds, Int32 siteId) at CMSModules_Objects_Controls_ObjectsRecycleBin.ugRecycleBin_OnAction(String actionName, Object actionArgument)

Has anyone seen this error before?

Recent Answers


Brenden Kehren answered on February 21, 2017 19:25

If you've totally deleted the library and all the files, you need to restore the library first, then the files. Seems like this is your issue.

1 votesVote for this answer Mark as a Correct answer

Andre Pfanz answered on February 21, 2017 19:31

Thanks for the response. I restored the library and don't have any other deleted libraries, yet I still get this error when I try to restore a media file.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.