Friday, January 30, 2015

Lync - Setting Dial in conferencing PIN returns a Silverlight error

As George Bush famously didn't state, "Fool me once shame on you.  Fool me twice, shame on me"  I decided to not blog this one a while back, until I ran into it with a customer again.  Whenever I set a user's PIN in Lync, I get this error.  Below is the text of this very large error in case anyone is searching using this.  The only related thing I ever found was here (and I updated it today as well)



Message: Unhandled Error in Silverlight Application [Arg_COMException]
Arguments:
Debugging resource strings are unavailable. Often the key and arguments provide sufficient information to diagnose the problem. See http://go.microsoft.com/fwlink/?linkid=106663&Version=5.0.61118.00&File=mscorlib.dll&Key=Arg_COMException   at MS.Internal.XcpImports.CheckHResult(UInt32 hr)
   at MS.Internal.XcpImports.Application_Install(Application app, Boolean programmaticDetach)
   at System.Windows.Application.Install()
   at SkyPlayerOOB.InTheBrowser.Ui.InTheBrowserPageViewModel.OnInstallCommand()
   at PlayerCore.Commanding.RelayCommand.Execute(Object parameter)
   at System.Windows.Controls.Primitives.ButtonBase.ExecuteCommand()
   at System.Windows.Controls.Primitives.ButtonBase.OnClick()
   at System.Windows.Controls.Button.OnClick()
   at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
   at System.Windows.Controls.Control.OnMouseLeftButtonUp(Control ctrl, EventArgs e)
   at MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, Int32 actualArgsTypeIndex, String eventName, UInt32 flags)
Line: 1
Char: 1
Code: 0
 But really, this is not a Lync error.  It's a silverlight error.  And it doesn't result from setting the PIN.  You are a crafty quick admin, and as you move with the accuracy of a ninja cat through the night, you are not seeing the mistake.  Set a PIN.  NOW.  DO NOT MOVE YOUR MOUSE.  No error.

The problem is actually with the code in this screen:


The "Open my email application to send the new PIN to the user" will cause an error when you hover over it.  Try it.  Happens often.  Why?  You are on a server, and don't have a mail application installed.  If you use the Lync Admin control panel via your workstation, this actually is a nice feature.  Once I checked Do not show me again and allow, it automatically opens an email with a text blurb regarding their new PIN.  Neat.


Hope this helps!

No comments: