locked
SyncToy 2 + FTPDrive = FAIL. RRS feed

  • Question

  • I'm trying to synchronize a folder structure to an FTP server on a regular basis.

    My current solution is to use a program called FTP Drive ( http://www.killprog.com/fdrve.html ) and SyncToy (2.0).

    When I attempt a synchronization using SyncToy, and using a folder which was an FTP connection/pointer/whatever created by FTP Drive, I get this error message;

    Exception during run: The FileSyncProvider received an unexpected error while applying a synchronized change.

    (UPDATE: This occurs in both XP & Vista, so I wonder if it's the Sync Framework.......)

    I realize this is an (semi-)unusual situation (syncing to FTP, rather than extHD/NAS/WebDAV/whatever) -- but if anyone's got a free alternative idea, I'm all ears. Smile
    Monday, December 29, 2008 8:09 AM

Answers

  • Hi -

     

    The Access Denied exception clearly indicates that we are unable to write to that location. Have you tried creating a temporary/test file of your own in that location and checking to see if that works? Can you create it from a command prompt or in the shell window?

     

    Thanks

    Deepa

    Monday, January 5, 2009 5:30 AM

All replies

  • Hi -

     

    As you point out - this is a little unusual Smile Can you take a look at the instructions in the FAQ on how to create a more detailed log and then retry the sync? If you can then post what the log has after the failed sync that will make it easier for us to figure out what is failing.

     

    Thanks

    Deepa

     

    Saturday, January 3, 2009 1:31 AM
  • SYNC: 01/03/2009 20:39:32:176: -------------------------------------------------------------------------
    SYNC: 01/03/2009 20:39:32:183: Starting SyncToy, version 2.0.100.0, built 8/12/2008 2:07:12 PM.
    SYNC: 01/03/2009 20:40:01:314: *** Error: System.UnauthorizedAccessException: Access to the path 'W:\hobbesnet\Other\SyncToy_e1c59c36-4901-45e9-8f06-82f0ae559c7f.dat' is denied.
       at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
       at System.IO.File.SetAttributes(String path, FileAttributes fileAttributes)
       at SyncToy.SyncEngine.CreateReplicaRootMarkerFile(String replicaRootMarkerFile, Byte[] bytesToWriteInFile, Boolean& markerFileCreated)
    SYNC: 01/03/2009 20:40:05:208: Started scanning directory : W:\hobbesnet\Other\
    SYNC: 01/03/2009 20:40:05:208: Started scanning directory : C:\Users\Ben\Desktop\BethelPlayers\
    SYNC: 01/03/2009 20:40:05:378: Stopped scanning directory : W:\hobbesnet\Other\
    SYNC: 01/03/2009 20:40:05:577: Stopped scanning directory : C:\Users\Ben\Desktop\BethelPlayers\
    SYNC: 01/03/2009 20:40:06:167: Preview of test (W:\hobbesnet\Other\, C:\Users\Ben\Desktop\BethelPlayers\) in time 00:00:00:991.
    SyncToy action was 'Synchronize'
    Found 97 actions to perform.
    Found 0 files that did not require action.

    SYNC: 01/03/2009 20:40:14:472: *** Exception during run: {0} : 
     Microsoft.Synchronization.SyncException: The FileSyncProvider received an unexpected error while applying a synchronized change. ---> System.Runtime.InteropServices.COMException (0x80070032): The FileSyncProvider received an unexpected error while applying a synchronized 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)
       --- 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.Sync()
       at SyncToyUI.PreviewDialog.RunOnePair(SyncEngine syncEngine)
    SYNC: 01/03/2009 20:40:14:473: *** Exception during run: The FileSyncProvider received an unexpected error while applying a synchronized change.

    SYNC: 01/03/2009 20:44:13:669: Started scanning directory : W:\hobbesnet\Other\
    SYNC: 01/03/2009 20:44:13:669: Started scanning directory : C:\Users\Ben\Desktop\BethelPlayers\
    SYNC: 01/03/2009 20:44:13:903: Stopped scanning directory : W:\hobbesnet\Other\
    SYNC: 01/03/2009 20:44:13:978: Stopped scanning directory : C:\Users\Ben\Desktop\BethelPlayers\
    SYNC: 01/03/2009 20:44:14:473: Preview of test (W:\hobbesnet\Other\, C:\Users\Ben\Desktop\BethelPlayers\) in time 00:00:00:803.
    SyncToy action was 'Synchronize'
    Found 98 actions to perform.
    Found 0 files that did not require action.

    SYNC: 01/03/2009 20:44:20:835: *** Exception during run: {0} : 
     Microsoft.Synchronization.SyncException: The FileSyncProvider received an unexpected error while applying a synchronized change. ---> System.Runtime.InteropServices.COMException (0x80070032): The FileSyncProvider received an unexpected error while applying a synchronized 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)
       --- 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.Sync()
       at SyncToyUI.PreviewDialog.RunOnePair(SyncEngine syncEngine)
    SYNC: 01/03/2009 20:44:20:836: *** Exception during run: The FileSyncProvider received an unexpected error while applying a synchronized change.

    Sunday, January 4, 2009 4:45 AM
  • Hi -

     

    The Access Denied exception clearly indicates that we are unable to write to that location. Have you tried creating a temporary/test file of your own in that location and checking to see if that works? Can you create it from a command prompt or in the shell window?

     

    Thanks

    Deepa

    Monday, January 5, 2009 5:30 AM
  • I have been able to complete standard drag-and-drop file transfers, using Windows Explorer.
    I (upon your request) have been able to complete command-line transfers, as well, with this caveat;
    If one invokes a 'normal' command prompt (i.e. Start Menu -> Run -> cmd.exe ), a network drive is not available.
    However, if in My Computer, one SHIFT+Right-Clicks on a network drive, the option "Open Command Window Here" is available, providing the prompt needed to complete the successful file transfer. (and file delete).
    Monday, January 12, 2009 8:41 AM
  • Can you try running SyncToy with elevated/admin privileges and see if that resolves your problem?

    Monday, January 12, 2009 6:31 PM
  • I have the same problem. If I do the synchronisation with directories containing pictures or videos  (large files) nothing happens, but with directories containing documents (small files) the problem appears.

    I hope this could help Microsoft to find the problem.

    Wednesday, January 14, 2009 2:54 PM
  • >Can you try running SyncToy with elevated/admin privileges and see if that resolves your problem?

    When I ran SyncToy, using elevated privileges, it could not see the FTPDrive.
    (my belief was that this was due to the mix of privileges -- FTPDrive having none, and SyncToy did)
    So, I ran FTPDrive _also_ with elevated/admin privileges.  Then, (naturally) I was unable to see the FTPDrive in My Computer, but when I ran SyncToy w/ similiar privileges, it saw the FTPDrive, no problem.

    However, it didn't work.

    FWIW -- This was (I thought) a nifty idea/way to make this solution work.  I'd like to help the SyncToy team solve a bug (or two) -- but if this problem isn't worth tackling, I understand.  But, again, I'm willing to help solve this, however I can.

    SyncToy log follows....

    SYNC: 01/19/2009 11:03:13:017: -------------------------------------------------------------------------
    SYNC: 01/19/2009 11:03:13:079: Starting SyncToy, version 2.0.100.0, built 8/12/2008 2:07:12 PM.
    SYNC: 01/19/2009 11:03:22:610: -------------------------------------------------------------------------
    SYNC: 01/19/2009 11:03:22:622: Starting SyncToy, version 2.0.100.0, built 8/12/2008 2:07:12 PM.
    SYNC: 01/19/2009 11:04:23:053: -------------------------------------------------------------------------
    SYNC: 01/19/2009 11:04:23:061: Starting SyncToy, version 2.0.100.0, built 8/12/2008 2:07:12 PM.
    SYNC: 01/19/2009 11:04:34:341: *** Failed to execute folder pair test. Could not locate folder W:\hobbesnet\Other\. 
    SYNC: 01/19/2009 11:04:50:328: *** Failed to execute folder pair test. Could not locate folder W:\hobbesnet\Other\. 
    SYNC: 01/19/2009 11:04:58:912: -------------------------------------------------------------------------
    SYNC: 01/19/2009 11:04:58:916: Starting SyncToy, version 2.0.100.0, built 8/12/2008 2:07:12 PM.
    SYNC: 01/19/2009 11:05:03:084: *** Failed to execute folder pair test. Could not locate folder W:\hobbesnet\Other\. 
    SYNC: 01/19/2009 11:10:14:018: -------------------------------------------------------------------------
    SYNC: 01/19/2009 11:10:14:021: Starting SyncToy, version 2.0.100.0, built 8/12/2008 2:07:12 PM.
    SYNC: 01/19/2009 11:10:35:105: *** Error: System.UnauthorizedAccessException: Access to the path 'W:\hobbesnet\Other\SyncToy_a7893667-9a78-4981-ba36-7499b0f11fbf.dat' is denied.
       at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
       at System.IO.File.SetAttributes(String path, FileAttributes fileAttributes)
       at SyncToy.SyncEngine.CreateReplicaRootMarkerFile(String replicaRootMarkerFile, Byte[] bytesToWriteInFile, Boolean& markerFileCreated)
    SYNC: 01/19/2009 11:10:38:342: Started scanning directory : C:\Users\Ben\Desktop\BethelPlayers\
    SYNC: 01/19/2009 11:10:38:342: Started scanning directory : W:\hobbesnet\Other\
    SYNC: 01/19/2009 11:10:38:612: Stopped scanning directory : W:\hobbesnet\Other\
    SYNC: 01/19/2009 11:10:38:738: Stopped scanning directory : C:\Users\Ben\Desktop\BethelPlayers\
    SYNC: 01/19/2009 11:10:39:638: Preview of test (W:\hobbesnet\Other\, C:\Users\Ben\Desktop\BethelPlayers\) in time 00:00:01:248.
    SyncToy action was 'Synchronize'
    Found 99 actions to perform.
    Found 0 files that did not require action.

    SYNC: 01/19/2009 11:10:47:258: *** Exception during run: {0} : 
     Microsoft.Synchronization.SyncException: The FileSyncProvider received an unexpected error while applying a synchronized change. ---> System.Runtime.InteropServices.COMException (0x80070032): The FileSyncProvider received an unexpected error while applying a synchronized 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)
       --- 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.Sync()
       at SyncToyUI.PreviewDialog.RunOnePair(SyncEngine syncEngine)
    SYNC: 01/19/2009 11:10:47:265: *** Exception during run: The FileSyncProvider received an unexpected error while applying a synchronized change.
    SYNC: 01/19/2009 11:12:02:126: -------------------------------------------------------------------------
    SYNC: 01/19/2009 11:12:02:145: Starting SyncToy, version 2.0.100.0, built 8/12/2008 2:07:12 PM.
    SYNC: 01/19/2009 11:12:07:116: Started scanning directory : W:\hobbesnet\Other\
    SYNC: 01/19/2009 11:12:07:116: Started scanning directory : C:\Users\Ben\Desktop\BethelPlayers\
    SYNC: 01/19/2009 11:12:07:445: Stopped scanning directory : W:\hobbesnet\Other\
    SYNC: 01/19/2009 11:12:07:538: Stopped scanning directory : C:\Users\Ben\Desktop\BethelPlayers\
    SYNC: 01/19/2009 11:12:08:412: Preview of test (W:\hobbesnet\Other\, C:\Users\Ben\Desktop\BethelPlayers\) in time 00:00:01:229.
    SyncToy action was 'Synchronize'
    Found 99 actions to perform.
    Found 2 files that did not require action.
    Analyzed 1.6 files per second.
    Avoided copying 348 bytes in 2 files.

    SYNC: 01/19/2009 11:12:10:651: *** Exception during run: {0} : 
     Microsoft.Synchronization.SyncException: The FileSyncProvider received an unexpected error while applying a synchronized change. ---> System.Runtime.InteropServices.COMException (0x80070032): The FileSyncProvider received an unexpected error while applying a synchronized 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)
       --- 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.Sync()
       at SyncToyUI.PreviewDialog.RunOnePair(SyncEngine syncEngine)
    SYNC: 01/19/2009 11:12:10:659: *** Exception during run: The FileSyncProvider received an unexpected error while applying a synchronized change.

    Monday, January 19, 2009 7:18 PM