Lync Client Generic COM Exception

1

We are doing Windows based automation software that uses the Skype lync SDK library.

Using Microsoft.Lync.Model I am trying to send a message to another Skype for Business user from a C# application with below given code:

LyncClient lyncClient = LyncClient.GetClient();
Conversation conversation = lyncClient.ConversationManager.AddConversation();

But it gives following error :

Microsoft.Lync.Model.LyncClientException: 'Generic COM Exception. Code is 0x8002802B.'

Any help in this case will be helpful.

enter image description here

c#
com
lync
skype-for-business
asked on Stack Overflow May 30, 2018 by Chetan Nikam • edited May 30, 2018 by huysentruitw

1 Answer

0

Not sure if you already looked elsewhere for related/similar issues. This error showed up several times in the past, not all threads are that conclusive though. In case, here are some pointers:

  • Here on SO, where the answer is to make sure you have one and only one client version installed on your/any machine. Similarly here, here and on this blog, which should be the original reference

  • Also mixing 64/32 bit between SDK and build target seems to cause the issue, as mentioned on this GH project, although this is produces a different error code

  • The official MS Lync Client Dev forum, looking for this specific error code

answered on Stack Overflow Aug 22, 2018 by superjos • edited Aug 22, 2018 by superjos

User contributions licensed under CC BY-SA 3.0