集成Lync 2013时出现问题

问题描述:

我的要求是创建一个小POC以显示Lync与Lync 2013 SDK的集成。

My requirement is to create a small POC to show Lync integration with Lync 2013 SDK.

我使用Lync 2013 sdk创建了一个C#Windows窗体应用程序。我有以下问题和我的分析。我想获得解决此问题的支持。

I created a C# Windows forms application with Lync 2013 sdk. I'm having following issue and my analysis. I would like to get support to resolve the issue.

问题:使用我的C#应用​​程序从Lync注销后无法登录。收到

Issue: Cannot sign in once signed out from Lync using my C# application. Receiving

分析:退出我退出不要用什么Lync存储我的登录信息所以 我用了

Analysis: On Sign out I don't what Lync to store my Login information so  I used

_LyncClient.SignInConfiguration.ForgetMe("user@domain.com");

这将从Windows凭据管理器中删除用户凭据(控制面板>凭据管理器>)

This will remove user Credentials from Windows Credential Manager (Control Panel > Credential Manager > )

签出并尝试登录后,我将收到以上异常,并且会添加一个条目注册表>

Once signed out and tried to sign in, I'll receive above exception and an entry will be added to Registry>

HKEY_CURRENT_USER \Software \ Microsoft &\\Office \ 15.0 \ Lync> ConfigurationMode值为1.一旦我将此值更改为0,我将能够登录。成功登录后,此密钥将被删除。

HKEY_CURRENT_USER\Software\Microsoft\Office\15.0\Lync > ConfigurationMode with value as 1. Once I change this value to 0, I'll be able to login. This key will get deleted once logged-in successfully.

任何人都可以帮助解决此错误或建议任何解决方法。

Can any one help with this error or suggest any way to resolve this.

我想知道是否有一些状态/信息保存在_LyncClient对象中,导致出错。作为测试,在运行ForgetMe()命令后,您是否可以重新初始化_LyncClient对象(将其设置为null,然后使用GetLyncClient()将
再次获取)?看看是否能解决问题。

I wonder if maybe there is some state/information that's being kept in the _LyncClient object and which is causing things to go wrong. As a test, after you run the ForgetMe() command, can you re-initialise the _LyncClient object (set it to null and then get it again with GetLyncClient() )? See if that fixes it.