You are currently offline, waiting for your internet to reconnect

Application crashes when you use Lync Server 2010 Group Chat SDK APIs during development

Symptoms
When you develop an application by using Microsoft Lync Server 2010 Group Chat SDK APIs, the application crashes intermittently. Additionally, the following exception is generated:
Exception Type: System.InvalidOperationException
Exception message: You can set a result only once
Exception Source: Microsoft.Rtc.Collaboration.GroupChat
Exception stacktrace:
at Microsoft.Rtc.Collaboration.GroupChat.Internal.AsyncResultNoResult.SetAsCompleted(Exception exception, Boolean completedSynchronously)
at Microsoft.Rtc.Collaboration.GroupChat.Internal.MessageRouter.AddPendingMessageHelper(IAsyncResult asyncSend)
at Microsoft.Rtc.Collaboration.GroupChat.Internal.AsyncResultNoResult.SetAsCompleted(Exception exception, Boolean completedSynchronously)
at Microsoft.Rtc.Collaboration.GroupChat.Internal.WrappedSignalingSession.SendInfoHelper(IAsyncResult ucmaResult)
at Microsoft.Rtc.Signaling.CompletionCallbackWorkItem.Microsoft.Rtc.Signaling.IWorkitem.Process()
at Microsoft.Rtc.Signaling.WorkitemQueue.ProcessItems()
at Microsoft.Rtc.Signaling.SerializationQueue`1.ResumeProcessing()
at Microsoft.Rtc.Signaling.SerializationQueue`1.ResumeProcessingCallback(Object state)
at Microsoft.Rtc.Signaling.QueueWorkItemState.ExecuteWrappedMethod(WaitCallback method, Object state)
at System.Threading.ExecutionContext.runTryCode(Object userData)
at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallbackInternal(_ThreadPoolWaitCallback tpWaitCallBack)
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback(Object state)
Cause
This issue occurs because a function that can be called by all APIs is unexpectedly called two times. 
Resolution
To resolve this issue, install the following cumulative update:
2709419 Description of Lync 2010 Group Chat SDK: June 2012

Properties

Article ID: 2702456 - Last Review: 07/25/2012 03:32:00 - Revision: 2.0

Microsoft Lync Server 2010 Group Chat Software Development Kit

  • kbqfe kbsurveynew kbfix kbexpertiseinter KB2702456
Feedback
= 1; var varClickTracking = 1; var varCustomerTracking = 1; var Route = "76500"; var Ctrl = ""; document.write(" uage(language);" class="ng-binding" id="language-es-py">Paraguay - Español
Venezuela - Español
//c1.microsoft.com/c.gif?DI=4050&did=1&t="> var varCustomerTracking = 1; var Route = "76500"; var Ctrl = ""; document.write(" ')[0].appendChild(m);" onload="var m=document.createElement('meta');m.name='ms.dqp0';m.content='false';document.getElementsByTagName('head')[0].appendChild(m);" src="http://c1.microsoft.com/c.gif?"> >