Quantcast
Channel: SharePoint 2010 - Development and Programming forum
Viewing all articles
Browse latest Browse all 11571

lync 2010 silverlight web part compatibility with Lync 2013

$
0
0

Hi,

We are working towards checking compatibility with Lync 2013 of our application. We are facing an issue and need help as we are not able to find much documentation around this.

Issue Description

In our application which is based on SharePoint 2010,  we have a Lync 2010 Silverlight web part which used to work successfully withLync 2010 client. However when we try to check compatibility of same withLync 2013 with same code, we are facing below issue. We are using Sharepoint Silverlight webpart for testing and Xap file path is configured in webpart. In development environment, application works fine. However, when we deploy to IIS, we face below issue.

 

Exception while executing highlighted line : Unhandled Error in Silverlight Application Attempt by security transparent method 'Microsoft.Lync.Controls.Internal.Model.OcomModel.UCClientModel..ctor()' to access security critical method 'System.Reflection.Assembly.GetName()' failed.

Code inside the XAP file

public ClientModel(string subject){this.Subject = subject;

try{_LyncClient =LyncClient.GetClient();

if (_LyncClient ==null){thrownewException("Unable to obtain client interface");}

if (_LyncClient.InSuppressedMode ==true){if (_LyncClient.State ==ClientState.Uninitialized){Object[] _asyncState = { _LyncClient };_LyncClient.BeginInitialize(InitializeCallback, _asyncState);}}_LyncClient.StateChanged += _LyncClient_ClientStateChanged;}catch (NotStartedByUserException){thrownewException("Lync is not running");}}





Viewing all articles
Browse latest Browse all 11571

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>