TLDR: I think it’s broken – or as James Arber implied on Twitter, it might have made it out the gate prematurely.
My suggestion: Do not install this version!
Out of the blue recently Microsoft updated the Skype for Business 2015 Debugging Tools version from 6.0.9319.73 to the interestingly-named (well, numbered) 7.0.1678.1.1.
Before you can install it you’ll need to uninstall the previous version:
Oh, and before you install it you’ll need to add VC++ 2015 Redist, version 14.0.23026:
So you download and install it:
And then install the updated Debug Tools:
… Then when you run ClsLogger, it crashes with an unhandled exception:
************** Exception Text ************** System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.Rtc.Management.WritableConfig, Version=220.127.116.11, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified. File name: 'Microsoft.Rtc.Management.WritableConfig, Version=18.104.22.168, Culture=neutral, PublicKeyToken=31bf3856ad364e35' at System.Windows.Forms.Control.MarshaledInvoke(Control caller, Delegate method, Object args, Boolean synchronous) at System.Windows.Forms.Control.Invoke(Delegate method, Object args)
The Debugging Starts Here
The crash happens on every SfB server I’ve run this on, as well as my x64 client PC (from where I normally only run Snooper). My Windows 10 Creator machine happens to have Visual Studio on it, and the Fusion Viewer (fusionvw.exe), which pointed me to the cause of my woes.
If you want to try this at home, here are the Registry Keys to set (@ Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Fusion) to enable its logging:
Here’s what it revealed:
LOG: GAC Lookup was unsuccessful. LOG: Attempting download of new URL file:///C:/Program Files/Skype for Business Server 2015/Debugging Tools/Microsoft.Rtc.Management.WritableConfig.DLL. LOG: Attempting download of new URL file:///C:/Program Files/Skype for Business Server 2015/Debugging Tools/Microsoft.Rtc.Management.WritableConfig/Microsoft.Rtc.Management.WritableConfig.DLL. LOG: Attempting download of new URL file:///C:/Program Files/Skype for Business Server 2015/Debugging Tools/Microsoft.Rtc.Management.WritableConfig.EXE. LOG: Attempting download of new URL file:///C:/Program Files/Skype for Business Server 2015/Debugging Tools/Microsoft.Rtc.Management.WritableConfig/Microsoft.Rtc.Management.WritableConfig.EXE. LOG: All probing URLs attempted and failed.
OK, so it’s just looking for a DLL and/or an EXE in the same folder as the Debug Tools. We’ve all been there – someone just forgot to add them to the install package…
Shopping around I found quite a few versions of “Microsoft.Rtc.Management.WritableConfig.DLL” around the place – check out C:\Windows\Microsoft.NET\assembly\GAC_MSIL\Microsoft.Rtc.Management.WritableConfig – but alas my efforts at copying any into the Debugging Tools folder all resulted in failure. Now when you run ClsLogger it crashes with “the located assembly’s manifest definition does not match the assembly reference”.
I think James nailed it: this one made it out the door too soon. Looking at the version number you could reasonably guess it’s accidentally leaked from the rumoured on-premises “vNext”. I expect we’ll either see a re-release & rebuild (with the missing DLLs), or it will vanish and we’ll see 6.0.9319.73 reinstated. Watch this space.
Update – 24th June
Cookie reports he’s been able to open Mac client log files with this version of Snooper, so maybe there is some benefit to be had:
well it does open the sfbmac.log and I see ucwa traffic logged!
— John A Cook (@JohnACook) June 15, 2017
The latest Debugging Tools. 7.0.1678.1.1 as at the time of writing.
My backup copy of SkypeForBusinessDebugTools-6.0.9319.73.msi
24th June 2017. Added a link to a copy of the last known working version of the Debug Tools & Cookie’s tweet.
20th June 2017. This is the initial post.