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?
The probabble cause may be because of the security.Right click the dll and goto properties and set unblock.
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: