External clients desktop sharing fails

After reading through various articles and forum posts I am desperate enough to contribute my first post...
The Problem:
We have successfully implemented a Lync 2010 infrastructure.
Internal to Internal works perfect 
Internal to external (or vice versa) works perfect except for desktop sharing (Audio /Video works perfect)
(with external being an internal user in an external network)
I tried to narrow down the problem and found the following issues:
23; reason="Call failed to establish due to a media connectivity failure when one endpoint is internal and the other is remote";CallerMediaDebug="application-sharing:ICEWarn=0x800029,LocalSite=192.168.18.105:5388,LocalMR=xxx.xxx.xxx.xxx:3478(public
IP Adress from AV.xxx.de) ,RemoteSite=192.168.10.73:5378,RemoteMR=xxx.xxx.xxx.xxx:56119
(public IP Adress from AV.xxx.de)
,PortRange=5350:5389,RemoteMRTCPPort=56119,LocalLocation=1,RemoteLocation=2,FederationType=0"
So basically a client connects from behind a NAT device to the external IP of the edge av interface and the internal client tries to connect to the same external ip?
Is that meant to be that way?
Second issue (or same issue but different perspective) same scenario(but network Sniffer on the firewall):
request reaches FW:
50.436292 port2 in Guest IP:35962 -> external AV Edge IP:59676: syn 2844552579
request routed through FW to the internal DMZ IP:
50.436857 Lync-extern out Guest IP:35962 -> 172.16.13.204:59676: syn 2844552579
session gets resetted:
50.437046 Lync-extern in 172.16.13.204:59676 -> Guest IP:35962: rst 0 ack 2844552580
This repeats very often till both clients get a notice about "Network issuses.
On the Edge Server I did an netstat -oa and found Port 59676 to be listening (TCP)
I read so much in the last days that I am totally confused by now and I think the documentation on tech net is faulty somehow.
(at least regarding port 50.000 ->59.999)
Maybe the issue is DNS related (we got split DNS in place)?
Any thoughts helping me out would be appreciated!
Thanks Gunni
Who needs a signature?

Hello Gunni,
please can you tell what is the vendor, model and firmware of your firewall? Are there any kind of "deep inspection" features enabled in the configuration of the firewall.
I am asking, as we have seen similar issues with an RST that seemed to come from the Lync Edge Server, but in fact the connection reset was done by the firewall. In the mentioned case the firewall is a Juniper, model SSG-5.
Two flow related settings activated in the configuration caused the issue, leading exactly to the ms-client-diagnostic: reason="Call failed to establish due to a media connectivity failure when one endpoint is internal and the other is remote"
“flow tcp-seq-check” -                  (TCP Sequence Check)
“flow tcp-syn-check” -                  (TCP SYNCRO Check)
Please check if your firewall has some similar or identical settings activated!
A lot of time, we investigated the Edge Server for any issues, - we even replaced it with a new one built from the scratch. Nothing helped, till we start looking closer at the firewall and disabled the settings mentioned above. I remember that we thought
the RST comes from the Lync Edge on the first look in NetworkMonitor and Wireshark. But when we started watching the Juniper reports, and comparing the time-stamps we realized that the connection was closed first by the firewall, not the Lync Server.
If your firewall offers a reporting feature (via webinterface, or SNMP, etc.) I recommend you to take a close look to check if the connection is closed here first.
Thanks and greetings from Berlin,
Jan
Jan Boguslawski | Technical Product Manager - snom OCS / UC Edition | MCITP: EA, MCTS OCS, MCTS EXCHANGE | snom technology AG, Berlin | www.snom.com | http://ocsphoneguy.blogspot.com

Similar Messages

  • Lync Desktop sharing failed with MediaConnectivityChecksFailed

    Hi,
    My Lync server is located in US and from outside the NAT of client network i am able to do sharing the desktop. But behind our firewall i can do video, voice and IM except desktop sharing. But i am able to view the desktop shared from outside network.and
    with Lync attendee that to not showing.  Have checked with 2 firewall's in this network same issue. 
    This is the log' i am getting
    0001TL_ERROR(TF_COMPONENT)::(CollaborationApi,SetAnswerAsyncResult.ConnectivityChecksCallback) Exception Exception: Microsoft.Rtc.Internal.Collaboration.ComponentModel.MediaOperationFailureException
    > MediaType: applicationsharing
    > FailureReasonCode: 7
    > FailureCategory: MediaChannel
    > FailureReason: MediaFailure
    > DetectionStackTrace:    at Microsoft.Rtc.Internal.Collaboration.ApplicationSharing.Media.ApplicationSharingClient.CreateException(MediaOperationFailureCategory category, ErrorReason reason, Exception innerException, DiagnosticsInformation
    diagnosticsInfo)
       at Microsoft.Rtc.Internal.Collaboration.ApplicationSharing.Media.AsHostUni.AsHostEndpointWin.EndConnectivityChecks(IAsyncResult result)
       at Microsoft.Rtc.Internal.Collaboration.ApplicationSharing.ApplicationSharingFlow.SetAnswerAsyncResult.ConnectivityChecksCallback(IAsyncResult result)
       at Microsoft.Rtc.Internal.Collaboration.ApplicationSharing.AsyncResult.Complete(Object result, Exception e, Boolean completedSynchronously)
       at Microsoft.Rtc.Internal.Collaboration.ApplicationSharing.Media.AsHostUni.AsHostEndpointWin.set_State(ApplicationSharingState value)
       at Microsoft.Rtc.Internal.Collaboration.ApplicationSharing.Media.AsHostUni.AsHostEndpointWin.m_host_OnHostStateChanged(HOST_STATE enNewState)
       at Microsoft.OCG.AppShareAxLib.AppShOotyHostClass.HostStateChangedEventHandler.Invoke(HOST_STATE newState)
       at Microsoft.OCG.AppShareAxLib.AppShOotyHostClass.JS_EventCallback(ScriptObject sender, String type, ScriptObject param)
       at System.RuntimeMethodHandle._InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeType typeOwner)
       at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
       at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
       at System.Windows.Browser.ManagedObjectInfo.ScriptMethod.Invoke(ManagedObject obj, InvokeType invokeType, ScriptParam[] args)
       at System.Windows.Browser.ManagedObjectInfo.Invoke(ManagedObject obj, InvokeType invokeType, String memberName, ScriptParam[] args)
       at System.Windows.Hosting.ManagedHost.InvokeScriptableMember(IntPtr pHandle, Int32 nMemberID, Int32 nInvokeType, Int32 nArgCount, ScriptParam[] pArgs, ScriptParam& pResult, ExceptionInfo& pExcepInfo)
       at System.Windows.Hosting.UnsafeNativeMethods.DOM_Invoke(IntPtr pBrowserService, IntPtr pObject, String pszMethodName, Int32 nArgCount, ScriptParam[] ppParams, ScriptParam& pResult, ExceptionInfo& pExcepInfo)
       at System.Windows.Hosting.BrowserService.Invoke(IntPtr pObject, String pszMethodName, ScriptParam[] args, ScriptParam& pResult, ExceptionInfo& pExcepInfo)
       at System.Windows.Browser.ScriptObject.TryInvoke(String name, Object[] args, Exception& error)
       at System.Windows.Browser.ScriptObject.Invoke(String name, Object[] args)
       at Microsoft.OCG.AppShareAxLib.AppShHostClass.ActualDoInvoke(Object state)
       at Microsoft.OCG.AppShareAxLib.AppShHostClass.DoInvoke(String func, Object[] args)
       at Microsoft.OCG.AppShareAxLib.AppShOotyHostClass.InternalDoInvoke(String func, Object[] args)
       at Microsoft.OCG.AppShareAxLib.AppShOotyHostClass.StopSharing()
       at Microsoft.Rtc.Internal.Collaboration.ApplicationSharing.Media.AsHostUni.AsHostEndpointWin.m_host_OnError(ERROR_SOURCE enSource, ERROR_ID enId)
       at Microsoft.OCG.AppShareAxLib.AppShOotyHostClass.ErrorEventHandler.Invoke(ERROR_SOURCE source, ERROR_ID Id)
       at Microsoft.OCG.AppShareAxLib.AppShOotyHostClass.JS_EventCallback(ScriptObject sender, String type, ScriptObject param)
       at System.RuntimeMethodHandle._InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeType typeOwner)
       at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
       at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
       at System.Windows.Browser.ManagedObjectInfo.ScriptMethod.Invoke(ManagedObject obj, InvokeType invokeType, ScriptParam[] args)
       at System.Windows.Browser.ManagedObjectInfo.Invoke(ManagedObject obj, InvokeType invokeType, String memberName, ScriptParam[] args)
       at System.Windows.Hosting.ManagedHost.InvokeScriptableMember(IntPtr pHandle, Int32 nMemberID, Int32 nInvokeType, Int32 nArgCount, ScriptParam[] pArgs, ScriptParam& pResult, ExceptionInfo& pExcepInfo)
    > Message: Connectivity checks failed.
    > StackTrace:    at Microsoft.Rtc.Internal.Collaboration.ApplicationSharing.Media.AsHostUni.AsHostEndpointWin.EndConnectivityChecks(IAsyncResult result)
       at Microsoft.Rtc.Internal.Collaboration.ApplicationSharing.ApplicationSharingFlow.SetAnswerAsyncResult.ConnectivityChecksCallback(IAsyncResult result)
    Inner Exception: System.ObjectDisposedException
    > Message: [ObjectDisposed_Generic]
    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=4.0.50826.0&File=mscorlib.dll&Key=ObjectDisposed_Generic
    [ObjectDisposed_ObjectName_Name]
    Arguments: AS media endpoint
    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=4.0.50826.0&File=mscorlib.dll&Key=ObjectDisposed_ObjectName_Name
    > ObjectName: AS media endpoint
    04/06/2011-19:49:34.044 0001TL_ERROR(TF_COMPONENT)::(CollaborationApi,ApplicationSharingFlow.HandleErrorOccured) <ApplicationSharingFlow_25220152> Terminating call because client experience an error:Connectivity checks failed. MediaConnectivityChecksFailed
    04/06/2011-19:49:34.091 0001TL_ERROR(UI)::(UI,Microsoft.OCG.ReachClient.AppShare.AppShareManager.get_CanAttemptAppShare) Sharing not allowed at this point as both connect and disconnect are disabled
    04/06/2011-19:49:34.106 0001TL_ERROR(UI)::(UI,Microsoft.OCG.ReachClient.AppShare.AppShareManager.get_CanAttemptAppShare) Sharing not allowed at this point as both connect and disconnect are disabled
    04/06/2011-19:49:34.122 0001TL_ERROR(UI)::(UI,Microsoft.OCG.ReachClient.AppShare.AppShareManager.get_CanAttemptAppShare) Sharing not allowed at this point as both connect and disconnect are disabled
    04/06/2011-19:49:34.185 0001TL_WARN(TF_COMPONENT)::(CollaborationApi,AsHostEndpointWin.Microsoft.Rtc.Internal.Collaboration.ApplicationSharing.Media.IAsHostEndpoint.StopSession) StopSession ignored, plugin = null || state==stopped
    04/06/2011-20:01:14.220 0001TL_ERROR(TF_COMPONENT)::(CollaborationApi,SetAnswerAsyncResult.ConnectivityChecksCallback) Exception Exception: Microsoft.Rtc.Internal.Collaboration.ComponentModel.MediaOperationFailureException
    > MediaType: applicationsharing
    > FailureReasonCode: 7
    > FailureCategory: MediaChannel
    > FailureReason: MediaFailure
    > DetectionStackTrace:    at Microsoft.Rtc.Internal.Collaboration.ApplicationSharing.Media.ApplicationSharingClient.CreateException(MediaOperationFailureCategory category, ErrorReason reason, Exception innerException, DiagnosticsInformation
    diagnosticsInfo)
       at Microsoft.Rtc.Internal.Collaboration.ApplicationSharing.Media.AsHostUni.AsHostEndpointWin.EndConnectivityChecks(IAsyncResult result)
       at Microsoft.Rtc.Internal.Collaboration.ApplicationSharing.ApplicationSharingFlow.SetAnswerAsyncResult.ConnectivityChecksCallback(IAsyncResult result)
       at Microsoft.Rtc.Internal.Collaboration.ApplicationSharing.AsyncResult.Complete(Object result, Exception e, Boolean completedSynchronously)
       at Microsoft.Rtc.Internal.Collaboration.ApplicationSharing.Media.AsHostUni.AsHostEndpointWin.set_State(ApplicationSharingState value)
       at Microsoft.Rtc.Internal.Collaboration.ApplicationSharing.Media.AsHostUni.AsHostEndpointWin.m_host_OnHostStateChanged(HOST_STATE enNewState)
       at Microsoft.OCG.AppShareAxLib.AppShOotyHostClass.HostStateChangedEventHandler.Invoke(HOST_STATE newState)
       at Microsoft.OCG.AppShareAxLib.AppShOotyHostClass.JS_EventCallback(ScriptObject sender, String type, ScriptObject param)
       at System.RuntimeMethodHandle._InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeType typeOwner)
       at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
       at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
       at System.Windows.Browser.ManagedObjectInfo.ScriptMethod.Invoke(ManagedObject obj, InvokeType invokeType, ScriptParam[] args)
       at System.Windows.Browser.ManagedObjectInfo.Invoke(ManagedObject obj, InvokeType invokeType, String memberName, ScriptParam[] args)
       at System.Windows.Hosting.ManagedHost.InvokeScriptableMember(IntPtr pHandle, Int32 nMemberID, Int32 nInvokeType, Int32 nArgCount, ScriptParam[] pArgs, ScriptParam& pResult, ExceptionInfo& pExcepInfo)
       at System.Windows.Hosting.UnsafeNativeMethods.DOM_Invoke(IntPtr pBrowserService, IntPtr pObject, String pszMethodName, Int32 nArgCount, ScriptParam[] ppParams, ScriptParam& pResult, ExceptionInfo& pExcepInfo)
       at System.Windows.Hosting.BrowserService.Invoke(IntPtr pObject, String pszMethodName, ScriptParam[] args, ScriptParam& pResult, ExceptionInfo& pExcepInfo)
       at System.Windows.Browser.ScriptObject.TryInvoke(String name, Object[] args, Exception& error)
       at System.Windows.Browser.ScriptObject.Invoke(String name, Object[] args)
       at Microsoft.OCG.AppShareAxLib.AppShHostClass.ActualDoInvoke(Object state)
       at Microsoft.OCG.AppShareAxLib.AppShHostClass.DoInvoke(String func, Object[] args)
       at Microsoft.OCG.AppShareAxLib.AppShOotyHostClass.InternalDoInvoke(String func, Object[] args)
       at Microsoft.OCG.AppShareAxLib.AppShOotyHostClass.StopSharing()
       at Microsoft.Rtc.Internal.Collaboration.ApplicationSharing.Media.AsHostUni.AsHostEndpointWin.m_host_OnError(ERROR_SOURCE enSource, ERROR_ID enId)
       at Microsoft.OCG.AppShareAxLib.AppShOotyHostClass.ErrorEventHandler.Invoke(ERROR_SOURCE source, ERROR_ID Id)
       at Microsoft.OCG.AppShareAxLib.AppShOotyHostClass.JS_EventCallback(ScriptObject sender, String type, ScriptObject param)
       at System.RuntimeMethodHandle._InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeType typeOwner)
       at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
       at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
       at System.Windows.Browser.ManagedObjectInfo.ScriptMethod.Invoke(ManagedObject obj, InvokeType invokeType, ScriptParam[] args)
       at System.Windows.Browser.ManagedObjectInfo.Invoke(ManagedObject obj, InvokeType invokeType, String memberName, ScriptParam[] args)
       at System.Windows.Hosting.ManagedHost.InvokeScriptableMember(IntPtr pHandle, Int32 nMemberID, Int32 nInvokeType, Int32 nArgCount, ScriptParam[] pArgs, ScriptParam& pResult, ExceptionInfo& pExcepInfo)
    > Message: Connectivity checks failed.
    > StackTrace:    at Microsoft.Rtc.Internal.Collaboration.ApplicationSharing.Media.AsHostUni.AsHostEndpointWin.EndConnectivityChecks(IAsyncResult result)
       at Microsoft.Rtc.Internal.Collaboration.ApplicationSharing.ApplicationSharingFlow.SetAnswerAsyncResult.ConnectivityChecksCallback(IAsyncResult result)
    Inner Exception: System.ObjectDisposedException
    > Message: [ObjectDisposed_Generic]
    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=4.0.50826.0&File=mscorlib.dll&Key=ObjectDisposed_Generic
    [ObjectDisposed_ObjectName_Name]
    Arguments: AS media endpoint
    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=4.0.50826.0&File=mscorlib.dll&Key=ObjectDisposed_ObjectName_Name
    > ObjectName: AS media endpoint
    04/06/2011-20:01:14.236 0001TL_ERROR(TF_COMPONENT)::(CollaborationApi,ApplicationSharingFlow.HandleErrorOccured) <ApplicationSharingFlow_49526440> Terminating call because client experience an error:Connectivity checks failed. MediaConnectivityChecksFailed
    04/06/2011-20:01:14.314 0001TL_ERROR(UI)::(UI,Microsoft.OCG.ReachClient.AppShare.AppShareManager.get_CanAttemptAppShare) Sharing not allowed at this point as both connect and disconnect are disabled
    04/06/2011-20:01:14.314 0001TL_ERROR(UI)::(UI,Microsoft.OCG.ReachClient.AppShare.AppShareManager.get_CanAttemptAppShare) Sharing not allowed at this point as both connect and disconnect are disabled
    04/06/2011-20:01:14.330 0001TL_ERROR(UI)::(UI,Microsoft.OCG.ReachClient.AppShare.AppShareManager.get_CanAttemptAppShare) Sharing not allowed at this point as both connect and disconnect are disabled
    04/06/2011-20:01:14.361 0001TL_WARN(TF_COMPONENT)::(CollaborationApi,AsHostEndpointWin.Microsoft.Rtc.Internal.Collaboration.ApplicationSharing.Media.IAsHostEndpoint.StopSession) StopSession ignored, plugin = null || state==stopped
    04/06/2011-20:54:01.694 0004TL_WARN(TF_NETWORK)::(S5,Log.Trace) Sip-<HttpClientStream_23522948>: Encountered a WebException during receiving downstream response, status (Status Not Available) server fqdn (Unknown): System.Net.WebException ---> System.Net.WebException
       at System.Net.Browser.ClientHttpWebRequest.InternalEndGetResponse(IAsyncResult asyncResult)
       at System.Net.Browser.ClientHttpWebRequest.<>c__DisplayClass5.<EndGetResponse>b__4(Object sendState)
       at System.Net.Browser.AsyncHelper.<>c__DisplayClass2.<BeginOnUI>b__0(Object sendState)
       --- End of inner exception stack trace ---
       at System.Net.Browser.AsyncHelper.BeginOnUI(SendOrPostCallback beginMethod, Object state)
       at System.Net.Browser.ClientHttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
       at Microsoft.Rtc.Internal.WebRelay.HttpClientStream.OnReceivedDownstreamResponse(IAsyncResult asResult)
    04/06/2011-21:08:19.980 0001TL_WARN(UI)::(UI,Microsoft.OCG.ReachClient.ContentBin.ContentBinViewModel.contentModality_ActionAvailabilityChanged) Got unhandled ModalityAction DisconnectAction to False
    04/06/2011-21:08:19.996 0001TL_ERROR(UI)::(UI,Microsoft.OCG.ReachClient.AppShare.AppShareManager.get_CanAttemptAppShare) Sharing not allowed at this point as both connect and disconnect are disabled
    04/06/2011-21:08:20.012 0001TL_ERROR(UI)::(UI,Microsoft.OCG.ReachClient.AppShare.AppShareManager.get_CanAttemptAppShare) Sharing not allowed at this point as both connect and disconnect are disabled
    04/06/2011-21:08:20.012 0001TL_ERROR(UI)::(UI,Microsoft.OCG.ReachClient.AppShare.AppShareManager.get_CanAttemptAppShare) Sharing not allowed at this point as both connect and disconnect are disabled
    04/06/2011-21:08:20.027 0001TL_ERROR(UI)::(UI,Microsoft.OCG.ReachClient.AppShare.AppShareManager.get_CanAttemptAppShare) Sharing not allowed at this point as both connect and disconnect are disabled
    04/06/2011-21:08:20.027 0001TL_ERROR(UI)::(UI,Microsoft.OCG.ReachClient.AppShare.AppShareManager.get_CanAttemptAppShare) Sharing not allowed at this point as both connect and disconnect are disabled
    04/06/2011-21:08:20.043 0001TL_ERROR(UI)::(UI,Microsoft.OCG.ReachClient.AppShare.AppShareManager.get_CanAttemptAppShare) Sharing not allowed at this point as both connect and disconnect are disabled
    04/06/2011-21:08:20.230 0009TL_WARN(TF_COMPONENT)::(CollaborationApi,SipSubscription.Dialog_RequestReceived) <SipEndpoint_22483156||ConferenceSipSubscription_51480954> CSeq was out of order on BENOTIFY, subscription will be refreshed. [sip:[email protected];epid=6A00907854]
    04/06/2011-21:08:21.746 0001TL_WARN(UI)::(UI,Microsoft.OCG.ReachClient.ContentBin.ContentBinViewModel.contentModality_ActionAvailabilityChanged) Got unhandled ModalityAction DisconnectAction to False
    04/06/2011-21:08:21.762 0001TL_ERROR(UI)::(UI,Microsoft.OCG.ReachClient.AppShare.AppShareManager.get_CanAttemptAppShare) Sharing not allowed at this point as both connect and disconnect are disabled
    04/06/2011-21:08:21.762 0001TL_ERROR(UI)::(UI,Microsoft.OCG.ReachClient.AppShare.AppShareManager.get_CanAttemptAppShare) Sharing not allowed at this point as both connect and disconnect are disabled
    04/06/2011-21:08:21.777 0001TL_ERROR(UI)::(UI,Microsoft.OCG.ReachClient.AppShare.AppShareManager.get_CanAttemptAppShare) Sharing not allowed at this point as both connect and disconnect are disabled
    04/06/2011-21:08:21.777 0001TL_ERROR(UI)::(UI,Microsoft.OCG.ReachClient.AppShare.AppShareManager.get_CanAttemptAppShare) Sharing not allowed at this point as both connect and disconnect are disabled
    04/06/2011-21:08:21.793 0001TL_ERROR(UI)::(UI,Microsoft.OCG.ReachClient.AppShare.AppShareManager.get_CanAttemptAppShare) Sharing not allowed at this point as both connect and disconnect are disabled
    04/06/2011-21:08:21.793 0001TL_ERROR(UI)::(UI,Microsoft.OCG.ReachClient.AppShare.AppShareManager.get_CanAttemptAppShare) Sharing not allowed at this point as both connect and disconnect are disabled
    04/06/2011-21:08:21.855 0001TL_ERROR(UI)::(UI,Microsoft.OCG.ReachClient.AppShare.AppShareManager.get_CanAttemptAppShare) Sharing not allowed at this point as both connect and disconnect are disabled
    04/06/2011-21:08:21.855 0001TL_ERROR(UI)::(UI,Microsoft.OCG.ReachClient.AppShare.AppShareManager.get_CanAttemptAppShare) Sharing not allowed at this point as both connect and disconnect are disabled
    04/06/2011-21:08:21.871 0001TL_ERROR(UI)::(UI,Microsoft.OCG.ReachClient.AppShare.AppShareManager.get_CanAttemptAppShare) Sharing not allowed at this point as both connect and disconnect are disabled
    04/06/2011-21:08:21.887 0001TL_ERROR(UI)::(UI,Microsoft.OCG.ReachClient.AppShare.AppShareManager.get_CanAttemptAppShare) Sharing not allowed at this point as both connect and disconnect are disabled
    04/06/2011-21:08:21.887 0001TL_ERROR(UI)::(UI,Microsoft.OCG.ReachClient.AppShare.AppShareManager.get_CanAttemptAppShare) Sharing not allowed at this point as both connect and disconnect are disabled
    04/06/2011-21:08:21.902 0001TL_ERROR(UI)::(UI,Microsoft.OCG.ReachClient.AppShare.AppShareManager.get_CanAttemptAppShare) Sharing not allowed at this point as both connect and disconnect are disabled
    04/06/2011-21:08:21.902 0001TL_ERROR(UI)::(UI,Microsoft.OCG.ReachClient.AppShare.AppShareManager.get_CanAttemptAppShare) Sharing not allowed at this point as both connect and disconnect are disabled
    04/06/2011-21:08:21.918 0001TL_ERROR(UI)::(UI,Microsoft.OCG.ReachClient.AppShare.AppShareManager.get_CanAttemptAppShare) Sharing not allowed at this point as both connect and disconnect are disabled
    04/06/2011-21:08:21.918 0001TL_ERROR(UI)::(UI,Microsoft.OCG.ReachClient.AppShare.AppShareManager.get_CanAttemptAppShare) Sharing not allowed at this point as both connect and disconnect are disabled
    My client machine is connected with core switch->firewall-core router-ISP.
    Please some one suggest what could be the issue.
    Thanks SIva

    Have you defined any port ranges Get-CsConferencingConfiguration 
    is the set  ClientMediaPortRangeEnabled : False
    Can you provide the Uccapi logs showing the invite sent for desktop sharing and the 200 ok response along with the BYE so that we what going wrong 
    Please refer 
    http://technet.microsoft.com/en-us/library/jj204760.aspx 
    Please remember, if you see a post that helped you please click ;Vote As Helpful" and if it answered your question please click "Mark As Answer" Regards Edwin Anthony Joseph

  • Web client - desktop sharing time out

    We just started using Online Lync Web conferencing (since Live Meeting was sunsetted in April).  We are successful in setting up & using meetings.  However our users are reporting a timeout issue.  When the presenter does not move the
    cursor or otherwise interact with the shared desktop/application for 5-10 minutes, the meeting attendees will be disconnected from the shared content and the presenter will have to re-share.  The attendees are still connected to the meeting itself, just
    the shared content will go away.
    There are no timeout settings that I can see on the web when setting up the meeting.  There is no local client installed, just the web plug-in, to connect to the meeting that would have settings there to control the timeout.
    I have web searched and have not found others reporting this same issue.
    All are connecting to Lync Online, no internal servers are used, all participants are using Internet Explorer to connect.

    Hi,
    The forum you posted is for Lync Server On Premise only. The issue is more related to Lync online, you can also post a question on Office365 forum for assistance. Thank you for your understanding.
    http://community.office365.com/en-us/forums/163/categories.aspx
    Best Regards,
    Eason Huang
    Eason Huang
    TechNet Community Support

  • Lync Desktop sharing fails in Citrix users for peer to peer session

    Hello,
    We have Lync 2013 servers and we have some user having citrix session and using lync. When users is citrix try to share the desktop with normal desktop lync client users , error message says connection not established.
    when checkng the logs of citrix users..it says
    ms-client-diagnostics: 52164; reason="Appsharing session disconnected due to RDP stack closed the connection";CalleeMediaDebug="application-sharing:ICEWarn=0x0,LocalSite=172.24.41.128:65494,LocalMR=194.187.115.31:50760,RemoteSite=10.1.106.214:65493
    Citrix to Citrix sessions working fine, and Nomal desktop lync client users does not have any issues.
    Any one can help?

    It is a network issue.
    The RDP stack block the traffic of Lync application session.
    The port 1024-65535 for client is required to be opened for application sharing.
    Lisa Zheng
    TechNet Community Support

  • Softwareupdate works from a client desktop but fails from a terminal?

    We have an Apple xServer running Softwareupdate. It all works fine if a user clicks on the apple in the top left of the desktop and selects 'software update'. However if a user goes to a terminal and types:-
    sudo softwareupdate -i -a
    Its gives the following error:-
    Error: The operation couldn't be completed. (NSURLErrorDomain error -1100.)
    Now obviously the users don't generally even have acess to the terminal but this means i am unable to send unix commands using remote desktop to force the clients to update. This is a problem because with a class of 30 kids using 30 macbooks with differing versions of imovie etc often there are issues when they try and open their work and find it was created on a earlier version of imovie etc.
    So does anyone know what causes this issue? The correct url is specified on the machine groups in workgroup manager and it does work just not as a unix command even when run as root.

    Hello Sam,
    Haven't seen that particular error while doing a software update from a command line, but would seem to indicate a DNS issue (domain not found or DNS server unavailable) or maybe a file doesn't exist.
    From the command line, could you run this?
    defaults read com.apple.SoftwareUpdate
    Should dump the entire content of the indicated plist. For example, here's mine:
        CatalogURL = "http://internal-update-server.domain.com:8088/index.sucatalog";
        WebKitDefaultFontSize = 11;
        WebKitStandardFont = "Lucida Grande";
    What's the value on the line that begins CatalogURL? Any extra characters or spaces between the quotes that maybe shouldn't be there? If you were to grab the URL that's returned on your systems and try to fetch the file through Safari or maybe with curl from the command line, does it download?

  • External desktop sharing over 443 only

    We have deployed Lync 2010 for external user access and IM works just fine, but can't seem to get desktop sharing/AV to work over 443 only. We are a DoD Organization so while we might be able to get 3478 opened outbound, most other organizations wouldn't
    have that allowed in or out. So the only way this is going to work for us if it can all work over 443. While reading http://technet.microsoft.com/en-us/library/gg425891%28v=ocs.14%29.aspx under "External Ports Settings Required for Single Consolidated
    Edge Topology" A/V 443 it mentions "This port range and rule is also used if the external user cannot use the UDP 3478 rule due to restrictions or other conditions at the source (client)." makes it sound like at least AV should failover to 443
    if it can't get 3478 to work, but our testing shows it isn't doing that and just fails to work. Is there something we need to do to force it to work over 443?

    No, you can't do that. for sharing Desktop and application, you need high respond which require UDP ports. any media or AV using UDP port. and port 3478 is
    STUN (Session Traversal Utilities for NAT) is a standardized set of methods and a network protocol to allow an end host to discover its public IP address if it is located behind a NAT. It is used to permit NAT traversal for
    applications of real-time voice, video, messaging, and other interactive IP communications.
    So that you need to open port 3478 UDP if you want to Sharing work.
    Also you can refer below link
    http://technet.microsoft.com/en-us/library/gg425882.aspx
    Please remember, if you see a post that helped you please click "Vote As Helpful" and if it answered your question, please click "Mark As Answer"
    Mai Ali | My blog: Technical

  • Client Server Desktop Sharing Application

    I have made a client server Desktop Sharing application containing a java class for server and one for client, how can I deploy my java client bytecode at client's machine without installing JVM on that machine and not even going to the clients machine if we are connected in LAN.
    I want to start my client program on that machine as & when the OS starts, so, is there any way to start a bytecode (or exe ) as a windows service( I dont want an installer)? Please provide information if I can get this done by some other service/software and tell me its name too.
    Thanks for your reply (awaited)

    I have made a client server Desktop Sharing
    application containing a java class for server and
    one for client, how can I deploy my java client
    bytecode at client's machine without installing JVM
    on that machine and not even going to the clients
    machine if we are connected in LAN.Well this can be done if the server has access to the clients hard disk you can simply copy the files from the server. But not recamended
    I want to start my client program on that machine as
    & when the OS starts, so, is there any way to start a
    bytecode (or exe ) as a windows service( I dont want
    an installer)? Please provide information if I can
    get this done by some other service/software and tell
    me its name too.Search in google for JavaService it is a simple third party exe that can register java programs as background services
    Thanks for your reply (awaited)

  • Lync 2013 Desktop Shareing

    Hi all
    this is Lync 2013.
    When desktop sharing between 2 external users( Connecting from Internet) will it be P2P or will it go via FE servers ?
    When desktop sharing between 1 internal user and 1 External user, will it be via FE server ?
    regards

    Sorry about that, I guessed this was common knowledge.
    NAT means "Network Address Translation" which is a difficult term for saying that someone is for example sitting at home behind a Router connected to an ISP with one public IP Address and shares the internet access with other devices connected to that user
    (essentially enabling all those devices connections to internet without the need of having multiple public IP Adresses)
    The process works by hiding the device real IP and replacing with the router Public IP address when it crosses the router and ther router keeps track of Ports and sessions that the different devices have so it knows how to send traffic back to the devices.
    A side effect of this is that there is no way of someone on the internet connection can see your IP or contact you directly.  Lync does have a process to try to enable direct communication between clients behind a NAT but that does not guarantee
    this will always work, there are cases where it will work and cases where it will never work.  In case it does not work Lync will bridge the connection at the Lync EDGE server.
    I hope this explains it better
    - Belgian Unified Communications Community : http://www.pro-lync.be - MCM/MVP/MCT

  • Web App won't allow desktop sharing

    Were deploying Lync 2013 in a coexistence state with Lync 2010 but we are having issues with external users using Lync Web App. When an internal user tries to share the desktop the external web app users gets this message:
    Call ended because of network connectivity issues.
    Whiteboarding, IM and polling works fine
    If I use Lync desktop client on the same PC that won't connect it works fine.
    If we try this from a user homed on Lync2010 the desktop sharing works fine in the Web APP
    Only change we made on the  reverse proxy is we published the Lync2013EXTWeb going to the 2013 front end pool.

    You can refer below link that may be helpful as well
    http://office.microsoft.com/en-us/communicator-help/troubleshooting-sharing-issues-in-lync-web-app-HA101838130.aspx
    Please remember, if you see a post that helped you please click "Vote As Helpful" and if it answered your question, please click "Mark As Answer"
    Mai Ali | My blog: Technical | Twitter:
    Mai Ali

  • Latency issue in Desktop Sharing

    We are planning to develop a conferencing solution using LCCS. I am trying to evaluate the screen/desktop-sharing application. I am experiencing 5-10 seconds latency during the transfer of the screen data to the other end.
    I am using the demo application(ScreenShareSubscriber and ScreenSharePublisher), provided in the SDK.
    Some more details:
    - Current OS is Windows 7 (32 bit).
    - I am behind a proxy.
    - I am running the applications in India.
    - Using Flex builder 4.6 with Flash player 11.1.
    - Using the developer account to test the application.
    Questions:
    - Can the delay be reduced programatically? If yes, then how?
    - The final solution may be used by people distributed across the globe. Is there a possibility that, the latency is affected by your location?
    - If the above is true, does Adobe provide cloud services (for commercial applications) that are distributed in different location, to reduce the latency?
    - Can proxy server be an issue? We have port 443 open on the proxy server for TSL connections.
    - If the above is true, then how can we avoid the issue? The final application may be used in a corporate network and we cannot ask everyone to change their network settings to connect LCCS services.
    I have checked some posts on the forum, which say that, the performance is faster on Macs. We are currently not targetting the Mac platform.
    Thanks,
    Subrat

    Hi,
    Please double check the following firewall port between two subnets.
    Front End Servers-Lync Server Application Sharing service 5065 TCP used for incoming SIP listening requests for application sharing.
    Front End Servers-Lync Server Application Sharing service 49152-65535 TCP Media port range used for application sharing.
    Clients 1024-65535* TCP Application sharing.
    If the issue persists, you can use the Lync server logging tool on FE server to test the process of desktop sharing.
    Here is the link of using the Lync logging tool:
    http://blog.schertz.name/2011/06/using-the-lync-logging-tool/
    Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Please make
    sure that you completely understand the risk before retrieving any suggestions from the above link.
    Best Regards,
    Eason Huang
    Eason Huang
    TechNet Community Support

  • Installation of Client Access role fails on Windows Server 2008 R2 (Execution of: "$error.Clear(); Install-ExchangeCertificate -services "IIS, POP, IMAP")

    Hello
    I am trying to install Exchange Server 2010 beta 1 onto a Windows Server 2008 R2 (build 7000) machine which has also been set up as a domain controller.
    However when attempting to install the Client Access role, setup fails with the error below.
    Does anyone know of a way to get around this please?
    I have already searched for this error and not found any similar threads.
    Also every time I press the code button on this forum it crashes the browser and I keep losing the message! (IE8 from within Server R2). Also the message box is very small, will not expand and keeps jumping to the top.
    Thanks
    Robin
    [code]
    Summary: 4 item(s). 1 succeeded, 1 failed.
    Elapsed time: 00:00:01
    Preparing Setup
    Completed
    Elapsed Time: 00:00:00
    Client Access Role
    Failed
    Error:
    The execution of: "$error.Clear(); Install-ExchangeCertificate -services "IIS, POP, IMAP" -DomainController $RoleDomainController", generated the following error: "Could not grant Network Service access to the certificate with thumbprint 2F320F5D5B5C6873E54C8AB57F604D8AFA31D18C because a cryptographic exception was thrown.".
    Could not grant Network Service access to the certificate with thumbprint 2F320F5D5B5C6873E54C8AB57F604D8AFA31D18C because a cryptographic exception was thrown.
    Access is denied.
    Elapsed Time: 00:00:01
    Mailbox Role
    Cancelled
    Finalizing Setup
    Cancelled
    [/code]
    Robin Wilson

    Hello
    Thanks for all the replies.
    I have since wiped the system and installed everything again and it all worked this time so not sure what was wrong last time. I did try to uninstall all Exchange components and then uninstall IIS and Application server, reboot and re-install but I received the same error still when it came to installing the client access role.
    Walter: I just attempted the standard installation which should have used the default self-signed certificate. Everything was a fresh install done at the same time on a freshly formatted PC.
    For info last time when it failed to work:
    - Installed Windows Server 2008 R2
    - Installed Domain Controller role using dcpromo. I set the forest and domain as Windows Server 2008 R2
    - Added a forest trust between main domain and test Exchange domain (set up as ex2010.local)
    - Installed IIS and Application Server role
    - Installed Hyper-v role
    - Installed Desktop Experience feature
    - Installed Exchange and recieved the error
    When it worked I set up the forest and domain in Windows Server 2008 mode (i.e. not R2), installed Exchange first and then set up the forest trust and then Hyper-v. It did say it failed to configure dns which was probably because it started trying to do automatic updates half way through the dcpromo! DNS seems to work ok though.
    I did notice this time that Hyper-v gave a warning about the virtual network adapter not being set up correctly and the local network did not work correctly although I could access the internet. Not sure if this could have been related to the cause of the problem previously. For now I have disabled the virtual network until I get time to try and get it working and so the mail will work in the meantime.
    I also noticed that Hyper-v added an extra 443 ssl binding to the default website so as it had 2 bindings on port 443 it refused to start. After deleting one it worked.
    I decided to install Exchange onto a domain controller as it is only a test and I wouldn't do it in a live environment. I am also short of test machines! It didn't give me any warnings about this actually, I think previous versions warn you that it is not recommended.
    Andreas and Chinthaka: I did not know about the requirement to run the domain at 2003 mode. The main domain is running in 2008 mode with Exchange 2007 so I assume this is just a temporary beta related requirement. It does seem to be working (second attempt) so far in a 2008 mode domain although I haven't had a chance to fully test it yet.
    Thanks
    Robin
    P.S. Sorry it's taken me a while to reply!
    Robin Wilson

  • Place a script on client desktops

    We are looking to see if there is anyway way to push a script down to client desktops after a user logs in, we use a script to allow all of our clients to connect to a Windows shared location, but would like to know a way to put it on their desktops besides using the English.lproj folder, or if there was anyway that we could have the computer actually mount the drive and show it on the desktop that would be wonderful. We have looked around a bit but cannot seem to find anyway to do this.

    If you are trying to get an volume to automount, why not just use MCX and manage a login item? You said the computers are bound, so the assumption is the users and groups and computers are on the OD system. If this is the case, select a group or a user and go to Preferences in WGM. When the pane comes up choose Login. Click on the Items tab and set it to manage always. Then, drag the share to the list box and check the "authenticate selected share point with user's login name and password." If you run WGM from a managed workstation this is easier. But you can do this from the server. You just need to hand edit the key from the all records inspector.
    Now, if you really want to update stuff on the server, you need a little scripting work. First you need to deliver the payload to all stations and then execute a local script to place the content were you want. This is because all home folder paths are unique and it is possible to have more than one user per machine. Follow these steps as a framework.
    1: Gather the payload and use the Copy Items part of ARD to send the files over to a generic location on all workstations. /tmp is a good location and I've used /tmp/ARDpush as the example.
    2: Once the files are copied, use the script example below and send it to /tmp and then execute the script using the send unix command. Basically, you path it as /tmp/script.sh and set the user to root so you can get into the user home folders.
    And that should do it. Items in tmp should be deleted on reboot so this is self cleaning. Here is a simple framework script. It is a simple script that identifies non-system users. If you have a default admin on the machine (and we all should), then the value is > 501 so we exclude the initial admin. If you need the changes on the admin account, then set > to 500. This works for OD and AD users since their UIDs are either > 1025 or > 1000000000.
    I also used dscl as this should work on everything since 10.4. I have NOT tested this on 10.4 so keep that in mind. If you are still supporting 10.3, then dscl will need to be replaced with niutil.
    ---Create this script in a plain text editor and chmod 755 before sending it to the clients---
    #!/bin/sh
    # Define the path to the source files
    filesToCopy=/tmp/ARDPush/
    # Define the partial path for relative destination
    whereToPlaceFiles=/Desktop/
    # Get a list of user names that are above 500 or 501 if you want to exclude the admin
    users=$(dscl . -list /Users uid | awk '$2 > 501 {print $1}' | sort)
    for user in $users; do
    # Iterate through all the users and get their home folder path
    homePath=$(dscl . -read /Users/$user NFSHomeDirectory | awk '{print $2}')
    # Perform the copy process
    cp -R $filesToCopy $homePath$whereToPlaceFiles
    done
    # end of script
    Hope this helps.

  • External DB [SecurID.dll]: Failed to load 'aceclnt.dll'

    Hi all,
    ACS refuse to start, possibly after windows 2000 upgrade. The error message in the csauth log is :
    ADMN 05/05/2006 08:42:11 E 0360 1824 External DB [SecurID.dll]: Failed to load 'aceclnt.dll'
    ADMN 05/05/2006 08:42:11 E 0547 1824 AuthenLoadLibrary: DLL for RSA SecurID Token Server initialization function failed
    ADMN 05/05/2006 08:42:11 E 0028 1824 Exception trapped at D:\ccData\snapViews\Snap_rgoren_matis-build11@ismg_israel_acs@ACS-B-394\ismg_israel_acs\Acs\DZAuth\authentication_common.c:631 [Exception trapped in AuthenLoadSupplier]
    I have try to suppress windows update, but the problem is always here, this services refuses to start :
    * csradius
    * cstacas
    * csadmin
    * csauth
    Any ideas ??

    Hmm, the exception definately shouldnt happen - no matter what else may have occurred on your machine.
    Have you ever used the RSA authenticator? The aceclnt.dll is supplied by RSA and installed into system32 when you install the RSA client tools CD.
    If yes, its possible the OS upgrade managed to nuke the DLL accidentally. ALthough the error message "Failed to load aceclnt.dll" is actually quite normal. I get this and dont have RSA support installed.
    I think this will require a call to the TAC as you probably need a developer to track the crash... the sort thing I used to do!
    Darran

  • Best way to securely share file/send link to external client

    I'm looking for the best method of securely sharing and/or sending large files (big Keynote documents and videos) to external clients. Basically a YouSendIt-type solution, but hosted and running off of my OS X Server.
    What I'd like to be able to do is generate a secure URL for an individual file that can be emailed to a client. I would prefer not to have them need a username/password, but just be able to click and download from the link. I'd also like that link to expire after a certain amount of time. I'm not positive if this is the best method, and am open to other options suggestions.
    Would love some advice as I've been Googling for quite a while without any solid suggestions or solutions. Thanks!

    Off the top, and I don't know how familiar you are with bash shell or other scripting languages here...
    Cleanup is one or two lines of bash in a +periodic daily+ script. Delete stuff older than a week or such via a bash shell find command and an rm, mayhap. That stuff is easy, if it's just a "blindly nuke stuff older than a week" or similar logic required. (Test that rm logic carefully as it really stinks to accidentally rm too much.)
    Upload is slightly more involved. Probably a droplet or such, invoking Applescript or a bash shell script to generate a GUID (or a random string) and copy the file into the web files directory. [Here's a start|http://putnamhill.net/codeshop/applescript/applescript_bash.html] toward this; that looks like it'll get you to bash, and you can do what you need from there. Drop a file on the droplet, and you get a GUID-based name generated and an sftp certificate-based transfer up to the server, and a dialog box showing you the filename.
    Or you do an upload via a web form that pulls up the file and manipulates it and tosses up a page with the URL for you. That can easily be a cgi page, since this isn't high-volume stuff.
    If this stuff doesn't exist, it's a day or two to code it in bash. And perl or php or python or ruby or such could likely be used here, too.
    In general: be careful with who and what can be uploaded to your server, too. Allowing a random file upload into the server environment is very close to allowing a server breach. Some of the attacks here are clever, too. (qv: "gifar" files).

  • Essbase External Security via Shared Services

    I have hit a problem with essbase external security via shared services, might be fairly trivial, first time doing this.
    In the install guide for essbase 9.3.1 it mentions not to use the user 'admin' when firing up essbase server console mode for the first time if you intend to externalise security to shared services in the future.
    I have followed this recommendation and used a different username 'essadmin' for the first time essbase server is started up. While still in native security mode, I sign in via EAS 9.3.1 and create myself another admin account just in case.
    I cold backup shared services SQL repository and OpenLDAP repositry before externalising essbase security. Also I backup the essbase sec and cfg files just in case.
    Then I start it all up, go into EAS and select to externalise security, this takes a few seconds, and all seems well.
    Now in shared services I can see the essadmin user ID and everything appears to be OK. However when I look under the projects node, I see "Analytic Servers:myhost:1", then below that another green icon "Analytic Servers:myhost:1", but when I click on the second green icon I get "Login fails due to invalid login credentials".
    What have I done wrong ?

    Hi,
    I don't think you've done anything wrong. You just need to provision your shared services user with access to Essbase. Right-click on your user, select provision and then give them the required Essbase rights.
    Hope that helps,
    Gee

Maybe you are looking for