none
Unhandled Exception (.NET) at errors list after sync done RRS feed

  • Question

  • When I start sync process and suddenly modify or delete file from left folder, it will apper in errors list (link to it appers after sync finishes). But after I click on link, SyncToy tell me about unhandled exception.


    And details:

    ===================================================================

    See the end of this message for details on invoking
    just-in-time (JIT) debugging instead of this dialog box.

    ************** Exception Text **************
    System.ArgumentOutOfRangeException: InvalidArgument=Value of '2' is not valid for 'index'.
    Parameter name: index
       at System.Windows.Forms.Control.MarshaledInvoke(Control caller, Delegate method, Object[] args, Boolean synchronous)
       at System.Windows.Forms.Control.Invoke(Delegate method, Object[] args)
       at System.Windows.Forms.Control.Invoke(Delegate method)
       at SyncToyUI.PreviewDialog.DisplayErrors()
       at SyncToyUI.PreviewDialog.lnkLabelSeeErrors_LinkClicked(Object sender, LinkLabelLinkClickedEventArgs e)
       at System.Windows.Forms.LinkLabel.OnLinkClicked(LinkLabelLinkClickedEventArgs e)
       at System.Windows.Forms.LinkLabel.OnMouseUp(MouseEventArgs e)
       at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
       at System.Windows.Forms.Control.WndProc(Message& m)
       at System.Windows.Forms.Label.WndProc(Message& m)
       at System.Windows.Forms.LinkLabel.WndProc(Message& msg)
       at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
       at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


    ************** Loaded Assemblies **************
    mscorlib
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.42 (RTM.050727-4200)
        CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
    ----------------------------------------
    SyncToy
        Assembly Version: 2.0.100.0
        Win32 Version: 2.0.100.0
        CodeBase: file:///C:/Program%20Files/SyncToy%202.0/SyncToy.exe
    ----------------------------------------
    System.Windows.Forms
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.42 (RTM.050727-4200)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
    ----------------------------------------
    System
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.42 (RTM.050727-4200)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    ----------------------------------------
    System.Drawing
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.42 (RTM.050727-4200)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
    ----------------------------------------
    SyncToyEngine
        Assembly Version: 2.0.100.0
        Win32 Version: 2.0.100.0
        CodeBase: file:///C:/Program%20Files/SyncToy%202.0/SyncToyEngine.DLL
    ----------------------------------------
    SqmManagedWrapper
        Assembly Version: 2.0.100.0
        Win32 Version: 2.0.100.0
        CodeBase: file:///C:/Program%20Files/SyncToy%202.0/SqmManagedWrapper.DLL
    ----------------------------------------
    System.Xml
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.42 (RTM.050727-4200)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
    ----------------------------------------
    System.Configuration
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.42 (RTM.050727-4200)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
    ----------------------------------------
    Microsoft.Synchronization.Files
        Assembly Version: 1.0.0.0
        Win32 Version: 1.0.1215.0
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.Synchronization.Files/1.0.0.0__89845dcd8080cc91/Microsoft.Synchronization.Files.dll
    ----------------------------------------
    Microsoft.Synchronization
        Assembly Version: 1.0.0.0
        Win32 Version: 1.0.1215.0
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.Synchronization/1.0.0.0__89845dcd8080cc91/Microsoft.Synchronization.dll
    ----------------------------------------
    Microsoft.Synchronization.MetadataStorage
        Assembly Version: 1.0.0.0
        Win32 Version: 1.0.1215.0
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.Synchronization.MetadataStorage/1.0.0.0__89845dcd8080cc91/Microsoft.Synchronization.MetadataStorage.dll
    ----------------------------------------

    ************** JIT Debugging **************
    To enable just-in-time (JIT) debugging, the .config file for this
    application or computer (machine.config) must have the
    jitDebugging value set in the system.windows.forms section.
    The application must also be compiled with debugging
    enabled.

    For example:

    <configuration>
        <system.windows.forms jitDebugging="true" />
    </configuration>

    When JIT debugging is enabled, any unhandled exception
    will be sent to the JIT debugger registered on the computer
    rather than be handled by this dialog box.
    Saturday, May 2, 2009 2:18 PM