none
Lync Connectivity Analyzer crashes on startup

    Question

  • Two different people have installed this tool on two separate Windows 7 laptops, and it fails to launch on both machines. I originally was receiving a kernelbase.dll error. I started googling for the error and found that some people had success with removing recent .Net 4.5 patches, so I began removing the July .Net 4.5 patches. Something I've done has removed the kernelbase.dll error, but I still have the error below. I do not have KB2840632 installed even though others say it has resovled their issue. Suggestions?

    Log Name:      Application
    Source:        .NET Runtime
    Date:          8/19/2013 2:05:04 PM
    Event ID:      1026
    Task Category: None
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      Client.domain.com
    Description:
    Application: LyncConnectivityAnalyzer.exe
    Framework Version: v4.0.30319
    Description: The process was terminated due to an unhandled exception.
    Exception Info: System.Windows.Markup.XamlParseException
    Stack:
       at System.Windows.Markup.WpfXamlLoader.Load(System.Xaml.XamlReader, System.Xaml.IXamlObjectWriterFactory, Boolean, System.Object, System.Xaml.XamlObjectWriterSettings, System.Uri)
       at System.Windows.Markup.WpfXamlLoader.LoadBaml(System.Xaml.XamlReader, Boolean, System.Object, System.Xaml.Permissions.XamlAccessLevel, System.Uri)
       at System.Windows.Markup.XamlReader.LoadBaml(System.IO.Stream, System.Windows.Markup.ParserContext, System.Object, Boolean)
       at System.Windows.Application.LoadBamlStreamWithSyncInfo(System.IO.Stream, System.Windows.Markup.ParserContext)
       at System.Windows.Application.LoadComponent(System.Uri, Boolean)
       at System.Windows.Application.DoStartup()
       at System.Windows.Application.<.ctor>b__1(System.Object)
       at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)
       at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
       at System.Windows.Threading.DispatcherOperation.InvokeImpl()
       at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
       at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
       at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
       at System.Windows.Threading.DispatcherOperation.Invoke()
       at System.Windows.Threading.Dispatcher.ProcessQueue()
       at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
       at MS.Win32.HwndWrapper.WndProc(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
       at MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object)
       at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)
       at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
       at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32)
       at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr)
       at MS.Win32.UnsafeNativeMethods.DispatchMessage(System.Windows.Interop.MSG ByRef)
       at MS.Win32.UnsafeNativeMethods.DispatchMessage(System.Windows.Interop.MSG ByRef)
       at System.Windows.Threading.Dispatcher.PushFrameImpl(System.Windows.Threading.DispatcherFrame)
       at System.Windows.Application.RunInternal(System.Windows.Window)
       at System.Windows.Application.Run()
       at LyncDeploymentVerifier.App.Main()
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name=".NET Runtime" />
        <EventID Qualifiers="0">1026</EventID>
        <Level>2</Level>
        <Task>0</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2013-08-19T18:05:04.000000000Z" />
        <EventRecordID>276732</EventRecordID>
        <Channel>Application</Channel>
        <Computer>Client.domain.com</Computer>
        <Security />
      </System>
      <EventData>
        <Data>Application: LyncConnectivityAnalyzer.exe
    Framework Version: v4.0.30319
    Description: The process was terminated due to an unhandled exception.
    Exception Info: System.Windows.Markup.XamlParseException
    Stack:
       at System.Windows.Markup.WpfXamlLoader.Load(System.Xaml.XamlReader, System.Xaml.IXamlObjectWriterFactory, Boolean, System.Object, System.Xaml.XamlObjectWriterSettings, System.Uri)
       at System.Windows.Markup.WpfXamlLoader.LoadBaml(System.Xaml.XamlReader, Boolean, System.Object, System.Xaml.Permissions.XamlAccessLevel, System.Uri)
       at System.Windows.Markup.XamlReader.LoadBaml(System.IO.Stream, System.Windows.Markup.ParserContext, System.Object, Boolean)
       at System.Windows.Application.LoadBamlStreamWithSyncInfo(System.IO.Stream, System.Windows.Markup.ParserContext)
       at System.Windows.Application.LoadComponent(System.Uri, Boolean)
       at System.Windows.Application.DoStartup()
       at System.Windows.Application.&lt;.ctor&gt;b__1(System.Object)
       at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)
       at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
       at System.Windows.Threading.DispatcherOperation.InvokeImpl()
       at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
       at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
       at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
       at System.Windows.Threading.DispatcherOperation.Invoke()
       at System.Windows.Threading.Dispatcher.ProcessQueue()
       at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
       at MS.Win32.HwndWrapper.WndProc(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
       at MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object)
       at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)
       at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
       at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32)
       at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr)
       at MS.Win32.UnsafeNativeMethods.DispatchMessage(System.Windows.Interop.MSG ByRef)
       at MS.Win32.UnsafeNativeMethods.DispatchMessage(System.Windows.Interop.MSG ByRef)
       at System.Windows.Threading.Dispatcher.PushFrameImpl(System.Windows.Threading.DispatcherFrame)
       at System.Windows.Application.RunInternal(System.Windows.Window)
       at System.Windows.Application.Run()
       at LyncDeploymentVerifier.App.Main()
    </Data>
      </EventData>
    </Event>

    Monday, August 19, 2013 6:53 PM

All replies

  • Please check you installed the Windows 7 Service Pack 1 on these two computer.


    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

    Tuesday, August 20, 2013 9:18 AM
    Moderator
  • Both clients are using Windows 7 x64 SP1.
    Tuesday, August 20, 2013 2:16 PM
  • I have the same problem.  The 8/17 .NET 4.5 updates broke it.  In our case removing both updates then reinstalling the analyzer fixed it.
    Friday, August 23, 2013 11:40 PM
  • Sorry, I just realized the 8/17 date was the date I installed them.  In any case I removed the 2 most recent updates.

    Friday, August 23, 2013 11:44 PM
  • I didn't try re-installing the analyzer after removing those patches. Because I previously removed them all, I have a pair installed 8/19 and eight installed on 8/15. We got it to work on a different laptop, but it'd be nice if it'd work without playing patch roulette. When I have some spare time I'll see if I can find the offending patches.
    Monday, August 26, 2013 1:22 PM
  • I removed all currently installed .NET 4.5 patches (listed below), removed the analyzer, restarted the client, reinstalled the analyzer, and it still crashes.

    KB2840642v2

    KB2833957

    KB2805226

    KB2805221

    KB2804582

    KB2789648

    KB2750147

    KB2742613

    KB2737083

    KB2729460

    Monday, August 26, 2013 2:47 PM
  • I have

    Update for Microsoft .NET Framework 4.5 (KB2805226)
    Update for Microsoft .NET Framework 4.5 (KB2805221)
    Update for Microsoft .NET Framework 4.5 (KB2750147)
    Security Update for Microsoft .NET Framework 4.5 (KB2840642v2)
    Security Update for Microsoft .NET Framework 4.5 (KB2840642)
    Security Update for Microsoft .NET Framework 4.5 (KB2833957)
    Security Update for Microsoft .NET Framework 4.5 (KB2804582)
    Security Update for Microsoft .NET Framework 4.5 (KB2789648)
    Security Update for Microsoft .NET Framework 4.5 (KB2742613)
    Security Update for Microsoft .NET Framework 4.5 (KB2737083)

    and analyser crashes with:
    Problem Signature 01: lyncconnectivityanalyzer.exe
    Problem Signature 02: 5.0.8308.289
    Problem Signature 03: 5113842c
    Problem Signature 04: PresentationFramework
    Problem Signature 05: 4.0.30319.18060
    Problem Signature 06: 51ee2110
    Problem Signature 07: 10d6
    Problem Signature 08: 61
    Problem Signature 09: System.InvalidOperationException
    OS Version: 6.1.7601.2.1.0.256.1
    Additional Information 1: 7ca5
    Additional Information 2: 7ca5eebea09b3cdf2f0246133b9d283e
    Additional Information 3: 954b
    Additional Information 4: 954b234f65d1f462e7084821f1bbf509


    UPDATE:
    Unistalled KB2840642v2 and KB2840642 (no restart needed) and now analyser works again.
    • Edited by k0syak Wednesday, August 28, 2013 6:59 AM
    • Proposed as answer by Francesco Bragantini Monday, September 30, 2013 8:51 PM
    • Unproposed as answer by JimCass Monday, September 30, 2013 9:19 PM
    Wednesday, August 28, 2013 6:54 AM
  • I currently have KB2840642v2 installed but not KB2840642. Uninstalled the former, no reboot, Lync Connectivity Analyzer still crashes.
    Monday, September 30, 2013 9:19 PM
  • Are you using Windows 7 or Windows 8?

    For Windows 7 the most common solution is uninstall 

    KB2840642 and KB2840642V2

    For Windows 8

    B2840632 and KB2833958
    Regards


    http://ucblog00mx.wordpress.com || Twitter: @ucblogmx

    Tuesday, October 1, 2013 12:01 AM
  • "Two different people have installed this tool on two separate Windows 7 laptops, and it fails to launch on both machines."
    Tuesday, October 1, 2013 1:07 PM
  • Hi all,

    For anyone still running into difficulties with this and hits this forum post, it would appear you have to reinstall the Lync Connectivity Analyser after removing KB2840632 and KB2833958 on Windows 8. This worked for me and I now have the tool running.

    Note, this hasn't been been tested on Windows 7 or 8.1 and I haven't tried to reinstall the patches afterwards to see if it still runs.

    Kind regards

    Marc

    Friday, January 3, 2014 12:29 PM
  • Lync Connectivity Analyzer Updated release: http://blogs.technet.com/b/nexthop/archive/2014/01/21/announcing-the-release-of-the-updated-lync-connectivity-analyzer.aspx


    Please mark posts as answers/helpful if it answers your question.
    Blog
    Lync Validator (BETA) - Used to assist in the validation and documentation of Lync Server 2013.

    Tuesday, January 21, 2014 10:08 PM
  • Tried the new version, still get two errors on application launch. Not losing any sleep with it here as ours is already in production.

    ---

    Application: LyncConnectivityAnalyzer.exe

    Framework Version: v4.0.30319

    Description: The process was terminated due to an unhandled exception.

    Exception Info: System.Windows.Markup.XamlParseException

    ---

    Faulting application name: LyncConnectivityAnalyzer.exe, version: 5.0.8308.582, time stamp: 0x52cf308f

    Faulting module name: KERNELBASE.dll, version: 6.1.7601.18229, time stamp: 0x51fb1677

    ---

    Wednesday, January 22, 2014 2:10 PM
  • Make sure to install the correct version for your OS.

    64bit: http://www.microsoft.com/en-us/download/details.aspx?id=36535

    32bit: http://www.microsoft.com/en-us/download/details.aspx?id=36536


    Please mark posts as answers/helpful if it answers your question.
    Blog
    Lync Validator (BETA) - Used to assist in the validation and documentation of Lync Server 2013.

    Wednesday, January 22, 2014 9:13 PM