问题
On my development machine Lync 2013 client and Skype for Business both applications are installed. When attempting to call LyncClient.GetClient() compiled using the Lync 2013 SDK against Skype for Business the following exception is raised. Generic COM Exception. Code is 0x80080005.
If I uninstalled the Lync 2013 client then it works perfectly.
For the Lync 2013 client development I have also used Lync 2013 SDK at that time I didn't get any exception.
Can anyone tell me that why this exception is raised when both applications are installed?
回答1:
What do you mean by "Skype for Business"?
AFAIK the clients can't be installed at the same time (which is most likely the reason for problems I think). So you can only have one client installed at any one time.
Also the clients are confusing as well.
There are:
- Lync Basic Client (with windows updated to Skype for Business 2015 UI)
- Lync (full) Client as part of Office Professional Plus 2013 (with windows updated to Skype for Business 2015 UI)
- Skype for Business Standalone (Office 2016 post install)
来源:https://stackoverflow.com/questions/34066553/lync-2013-sdk-get-generic-com-exception-at-the-time-of-calling-lyncclient-getc