I'm new for Lync client 2010 SDK integration. Since I don't want to display Lync UI (we will develop our own UIs), I set the registry to make UISuppressionMode = 1(DWORD). But lyncClient.GetClient() throws ClientNotFoundException exception. Can anyone tell me what's wrong with this? Thanks a lot.
Asked
Active
Viewed 1,945 times
1 Answers
1
The problem could well be that the client isn't actually running, which is why it's not found.
When you're running in UISuppression mode, you're responsible for everything which the client normally does, such as starting up, shutting down, and signing in.
You have to start the Lync client using LyncClient.BeginInitialize
- you can't just start it from the start menu. You should also call LyncClient.BeginShutdown
when you're done. (ref: MSDN)
There's a good MSDN article on UI Suppression in Lync SDK here, and there's also a channel9 video on signing into Lync when UISuppresion mode is on.

Tom Morgan
- 2,355
- 18
- 29
-
Thanks for your information. I found why the client didn't start. My windows8 system has Lync2013 basic installed. For some reason lync 2013 SDK installing failed because it required lyncsdk86.msi that I don't know where to get. So I installed Lync2010 and lync2010 SDK. With Lync2013 lyncClient.GetClient() doesn't work. After I remove Lync2013, it works. It is annoying that Lycn2013 doesn't compatible with Lync 2010. – user1424258 Mar 12 '13 at 15:49
-
Right yes. This should have been sorted - see here: http://thoughtstuff.co.uk/2012/07/using-lync-2010-applications-with-lync-2013-and-lync-2013-applications-with-lync-2010/ – Tom Morgan Mar 15 '13 at 15:44