On one of our server when we are trying to sync data we are getting generic error 0x80004005, Please see following log.
Error while synching ...
----------------------------
SOURCE PATH : C:\inetpub\Test\content
DESTINATION PATH : \\root\Test\content
----------------------------
Exception from File Sync Provider:
Microsoft.Synchronization.SyncException: Error HRESULT E_FAIL has been returned from a call to a COM component. --->
System.Runtime.InteropServices.COMException (0x80004005): Error HRESULT E_FAIL has been returned from a call to a COM component.
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)
--- End of inner exception stack trace ---
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 FileSyncProviderSample.SyncFileSystemReplicasOneWay(String sourceReplicaRootPath, String destinationReplicaRootPath, FileSyncScopeFilter filter, FileSyncOptions options)
at FileSyncProviderSample.Synchronize(String strSourcePath, String[] strDestinationPaths, Int32[] arrIntSyncResult, StringBuilder& oFinalSB, Int32 intSyncType)