none
The method or operation is not implemented - UnmanagedFileDataRetriever.GetFileHash

    Question

  • Our file sync components uses a proxy to communicate over the wire and run file sync. When we try to run in CompareFileStreams mode, it gives the below error. Can someone help with this?

    The method or operation is not implemented.

       at Microsoft.Synchronization.Files.UnmanagedFileDataRetriever.GetFileHash(Byte[] fileHash, UInt32& fileHashLength)
       at Microsoft.Synchronization.Files.Interop.FileSyncProviderClass.ProcessChangeBatch(CONFLICT_RESOLUTION_POLICY resolutionPolicy, ISyncChangeBatch pSourceChangeBatch, Object pUnkDataRetriever, ISyncCallback pCallback, _SYNC_SESSION_STATISTICS& pSyncSessionStatistics)
       at Microsoft.Synchronization.UnmanagedSyncProviderWrapper.ProcessChangeBatch(ConflictResolutionPolicy resolutionPolicy, ChangeBatch sourceChanges, Object changeDataRetriever, SyncCallbacks syncCallbacks, SyncSessionStatistics sessionStatistics)
       at PeerServerLocalFileSyncProvider.ProcessChangeBatch(ConflictResolutionPolicy resolutionPolicy, ChangeBatch sourceChanges, Object changeDataRetriever, SyncCallbacks syncCallbacks, SyncSessionStatistics sessionStatistics) in \PeerServerLocalFileSyncProvider.cs:line 395
       at Microsoft.Synchronization.KnowledgeProviderProxy.ProcessChangeBatch(CONFLICT_RESOLUTION_POLICY resolutionPolicy, ISyncChangeBatch pSourceChangeManager, Object pUnkDataRetriever, ISyncCallback pCallback, _SYNC_SESSION_STATISTICS& pSyncSessionStatistics)



    • Edited by VijayMD Thursday, April 18, 2013 8:22 PM
    Thursday, April 18, 2013 4:28 PM

All replies

  • Have you made any progress on this error?  I am getting the same error after downloading files from Windows Azure to a local file store.  Here is the relevant code snippet:
    2013-11-16 09:03:30.0892 CGDSyncIt.Engine.SyncEngine.synchronizer_MessageEvent Info Download: Updating File: GT_ReleaseNotes.txt...
    2013-11-16 09:03:30.1072 CGDSyncIt.Engine.SyncEngine.synchronizer_MessageEvent Info Download: Synchronization transitioning from Downloading to Ready
    2013-11-16 09:03:30.1072 CGDSyncIt.Engine.SyncEngine.synchronizer_OnError Error Download: System.NotImplementedException: The method or operation is not implemented.
       at Microsoft.Synchronization.Files.UnmanagedFileDataRetriever.GetFileHash(Byte[] fileHash, UInt32& fileHashLength)
       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, ChangeDataAdapter callbackChangeDataAdapter, SyncDataConverter conflictDataConverter, Int32& changesApplied, Int32& changesFailed)
       at Microsoft.Synchronization.KnowledgeSyncOrchestrator.DoOneWayKnowledgeSync(SyncDataConverter sourceConverter, SyncDataConverter destinationConverter, SyncProvider sourceProvider, SyncProvider destinationProvider, Int32& changesApplied, Int32& changesFailed)
       at Microsoft.Synchronization.KnowledgeSyncOrchestrator.Synchronize()
       at Microsoft.Synchronization.SyncOrchestrator.Synchronize()
       at AzureDirectorySync.AzureDirectorySync.SyncThreadProc(Object state)
    2013-11-16 09:03:30.1072 CGDSyncIt.Engine.SyncEngine.synchronizer_MessageEvent Info Download: Synchronization Complete

    This error prevents me from getting statistics about the download, as well as cause the files to be downloaded again the next iteration.


    GreggD

    Saturday, November 16, 2013 3:58 PM