locked
Exception RRS feed

  • Question

  • I get an exception from the FileSyncProvider:

    Microsoft.Synchronization.SyncException wurde nicht behandelt.
      Message="Beim Aufruf einer COM-Komponente wurde ein HRESULT E_FAIL-Fehler zurückgegeben."
      Source="Microsoft.Synchronization"
      StackTrace:
           bei Microsoft.Synchronization.KnowledgeSyncOrchestrator.DoOneWaySyncHelper(SyncIdFormatGroup sourceIdFormats, SyncIdFormatGroup destinationIdFormats, KnowledgeSyncProviderConfiguration destinationConfiguration, SyncCallbacks DestinationCallbacks, ISyncProvider sourceProxy, ISyncProvider destinationProxy, ChangeDataAdapter callbackChangeDataAdapter, SyncDataConverter conflictDataConverter, Int32& changesApplied, Int32& changesFailed)
           bei Microsoft.Synchronization.KnowledgeSyncOrchestrator.DoOneWayKnowledgeSync(SyncDataConverter sourceConverter, SyncDataConverter destinationConverter, SyncProvider sourceProvider, SyncProvider destinationProvider, Int32& changesApplied, Int32& changesFailed)
           bei Microsoft.Synchronization.KnowledgeSyncOrchestrator.Synchronize()
           bei Microsoft.Synchronization.SyncOrchestrator.Synchronize()
           bei MobileSyncTool.Sync..ctor(SyncOrchestrator orch) in D:\MobileCommunicationFramework\MobileSyncTool\Sync.cs:Zeile 22.
           bei MobileSyncTool.Form1.startSync(Boolean preview) in D:\MobileCommunicationFramework\MobileSyncTool\Form1.cs:Zeile 199.
           bei MobileSyncTool.Form1.button5_Click(Object sender, EventArgs e) in D:\MobileCommunicationFramework\MobileSyncTool\Form1.cs:Zeile 99.
           bei System.Windows.Forms.Control.OnClick(EventArgs e)
           bei System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
           bei System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
           bei System.Windows.Forms.Control.WndProc(Message& m)
           bei System.Windows.Forms.ButtonBase.WndProc(Message& m)
           bei System.Windows.Forms.Button.WndProc(Message& m)
           bei System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
           bei System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
           bei System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
           bei System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
           bei System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
           bei System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
           bei MobileSyncTool.Program.Main() in D:\MobileCommunicationFramework\MobileSyncTool\Program.cs:Zeile 18.
           bei System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)
           bei Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
           bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
           bei System.Threading.ThreadHelper.ThreadStart()
      InnerException: System.Runtime.InteropServices.COMException
           Message="Beim Aufruf einer COM-Komponente wurde ein HRESULT E_FAIL-Fehler zurückgegeben."
           Source="Microsoft.Synchronization"
           ErrorCode=-2147467259
           StackTrace:
                bei Microsoft.Synchronization.CoreInterop.ISyncSession.Start(CONFLICT_RESOLUTION_POLICY resolutionPolicy, _SYNC_SESSION_STATISTICS& pSyncSessionStatistics)
                bei Microsoft.Synchronization.KnowledgeSyncOrchestrator.DoOneWaySyncHelper(SyncIdFormatGroup sourceIdFormats, SyncIdFormatGroup destinationIdFormats, KnowledgeSyncProviderConfiguration destinationConfiguration, SyncCallbacks DestinationCallbacks, ISyncProvider sourceProxy, ISyncProvider destinationProxy, ChangeDataAdapter callbackChangeDataAdapter, SyncDataConverter conflictDataConverter, Int32& changesApplied, Int32& changesFailed)
           InnerException:


    Can not understand. :(
    • Moved by Max Wang_1983 Thursday, April 21, 2011 1:25 AM forum consolidation (From:SyncFx - Technical Discussion [ReadOnly])
    Wednesday, June 24, 2009 1:44 PM

All replies

  • Hi, Steffen.
    Can you please give more details on your environment. What OS do you have on the box? Is it 32/64 bit?
    What version of the Microsoft Sync Framework do you have installed? How often do you see the failure?
    What is your scenario (what is the app trying to do).

    Adrian
    Wednesday, June 24, 2009 6:28 PM