Lync error in Silverlight: Client not trusted

不羁岁月 提交于 2019-12-02 10:12:52

问题


When I try to load my Lync Controls in a Silverlight application I get the error: Client is not trusted. This error doesn't appear when I debug the Silverlight application without the corresponding web project.

This is the code that generates the error:

LyncClient l = LyncClient.GetClient();

This is the error:

AutomationServerException was unhandled by user code
Client is not trusted

What must I do?


回答1:


This error usually happens because the web site that your Silverlight application is running under isn't in the "Trusted Sites" browser zone. Adding to Trusted Sites should fix it.

Edit: The walkthrough here states:

Security settings for Microsoft Lync 2010 SDK applications require that the host URL for Lync Control Silverlight applications be added to the Trusted sites list in Microsoft Internet Explorer. For information about adding to the Trusted sites list, see Working with Internet Explorer 6 Security Settings.




回答2:


The probabble cause may be because of the security.Right click the dll and goto properties and set unblock.



来源:https://stackoverflow.com/questions/4734514/lync-error-in-silverlight-client-not-trusted

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!