none
unexpected error while writing a change RRS feed

  • Question

  • I am having a problem with SyncToy 2.0 I keep getting an error durring the run and it bombs out.
    Here is the error in the log below:

    SYNC: 04/01/2009 18:05:34:820: *** Exception during run: {0} :
     System.IO.FileNotFoundException: The FileSyncProvider received an unexpected error while writing a change.
       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)
       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.Sync()
       at SyncToyUI.PreviewDialog.RunOnePair(SyncEngine syncEngine)
    SYNC: 04/01/2009 18:05:34:820: *** Exception during run: The FileSyncProvider received an unexpected error while writing a change.
    Wednesday, April 1, 2009 10:12 PM

Answers

  • Hi Karl,

    Looks like one of your files on the destination side couldn't be written onto. This might happen if the file on the right is locked. But even so, SyncToy should not crash in most cases.

    Would be helpful if you can provide some more info:
    - what's the sync partnership (sync/echo)
    - are you able to determing which file or folder is causing the issue. One way would be to run Preview and watch out for errors. If on multiple Previews, same file/folder error, that could narrow down. If you find some such file, can you share if there's something special about the file - it's attributes, does it's name match with the name of some file or folder on the destination.


    Thanks,
    Sameer

    Thursday, April 2, 2009 5:17 PM