none
SyncToy 2.0 Operation Fail RRS feed

  • Question

  • I recently copy/pasted files from one drive to another. I wanted to use SyncToy to verify that all the files were successfully coppied, and if not, then copy whatever's missing from Drive "H" to Drive "W". I set up an echo file pair between the two drives, and left it to run over night (there's about 120 GB of files so it took a while).

    4 hours later, while setting up "actions" for certain files, the operation fails and an error message pops up. I retrieved this information from the logs:

    SYNC: 12/17/2008 05:20:33:370: -------------------------------------------------------------------------
    SYNC: 12/17/2008 05:20:33:370: Starting SyncToy, version 2.0.100.0, built 8/12/2008 2:07:12 PM.
    SYNC: 12/17/2008 05:20:59:641: *** Error: System.UnauthorizedAccessException: Access to the path 'H:\SyncToy_8baa19a8-237b-4461-82ce-979d404e2890.dat' is denied.
       at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
       at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
       at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
       at SyncToy.SyncEngine.CreateReplicaRootMarkerFile(String replicaRootMarkerFile, Byte[] bytesToWriteInFile, Boolean& markerFileCreated)
    SYNC: 12/17/2008 05:21:01:950: Started scanning directory : H:\
    SYNC: 12/17/2008 05:21:01:965: Started scanning directory : W:\
    SYNC: 12/17/2008 06:02:57:522: Stopped scanning directory : W:\
    SYNC: 12/17/2008 06:27:14:355: Stopped scanning directory : H:\
    SYNC: 12/17/2008 11:31:48:422: *** Exception during preview: {0} :
     Microsoft.Synchronization.SyncException: A storage engine operation failed with error code 25091 (HRESULT = 0x80004005, Source IID = {0C733A63-2A1C-11CE-ADE5-00AA0044773D}).
     ---> System.Runtime.InteropServices.COMException (0x80041288): A storage engine operation failed with error code 25091 (HRESULT = 0x80004005, Source IID = {0C733A63-2A1C-11CE-ADE5-00AA0044773D}).

       at Microsoft.Synchronization.CoreInterop.ISyncSession.Start(CONFLICT_RESOLUTION_POLICY resolutionPolicy, _SYNC_SESSION_STATISTICS& pSyncSessionStatistics)
       at Microsoft.Synchronization.KnowledgeSyncOrchestrator.DoOneWaySyncHelper(SyncIdFormatGroup sourceIdFormats, SyncIdFormatGroup destinationIdFormats, KnowledgeSyncProviderConfiguration destinationConfiguration, SyncCallbacks DestinationCallbacks, ISyncProvider sourceProxy, ISyncProvider destinationProxy, Int32& changesApplied, Int32& changesFailed)
       --- End of inner exception stack trace ---
       at Microsoft.Synchronization.KnowledgeSyncOrchestrator.DoOneWaySyncHelper(SyncIdFormatGroup sourceIdFormats, SyncIdFormatGroup destinationIdFormats, KnowledgeSyncProviderConfiguration destinationConfiguration, SyncCallbacks DestinationCallbacks, ISyncProvider sourceProxy, ISyncProvider destinationProxy, Int32& changesApplied, Int32& changesFailed)
       at Microsoft.Synchronization.KnowledgeSyncOrchestrator.DoOneWayKnowledgeSync(SyncProvider sourceProvider, SyncProvider destinationProvider, Int32& changesApplied, Int32& changesFailed)
       at Microsoft.Synchronization.KnowledgeSyncOrchestrator.Synchronize()
       at Microsoft.Synchronization.SyncOrchestrator.Synchronize()
       at SyncToy.SyncEngine.CreateAndStartSession(FileSyncProvider destinationProvider, FileSyncProvider sourceProvider)
       at SyncToy.SyncEngine.RunSyncSessionsForChosenSyncType(FileSyncProvider leftProvider, FileSyncProvider rightProvider, SyncMode syncMode)
       at SyncToy.SyncEngine.Run(Boolean previewMode)
       at SyncToy.SyncEngine.Preview()
       at SyncToyUI.PreviewDialog.PreviewOnePair(SyncEngine she)
    SYNC: 12/17/2008 11:31:48:469: *** Exception during preview: A storage engine operation failed with error code 25091 (HRESULT = 0x80004005, Source IID = {0C733A63-2A1C-11CE-ADE5-00AA0044773D}).
    Wednesday, December 17, 2008 9:12 AM