Hi all,
I am currently writing an application using Lync 2013 SDK.
Everything is working fine on my local development machine. Context :
- OS : Windows 8.1
- Lync Client : 15.0.4805.1000
- Lync 2013 SDK installed
Then I tried to deploy my application on a win10 environment :
- I tested various Skype For business clients : 2016 / 2013
- I installed the SDKalways the same behavior when I call ForgetMe :
error: Unable to cast COM object of type 'Microsoft.Office.Uc.SignInConfigurationClass' to interface type 'Microsoft.Office.Uc.ISignInConfiguration2'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{61CE9972-C619-4A88-A5D1-D2DFBCD4D2A1}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)). 00039; 2016/04/13 13:17:56 204; at System.StubHelpers.StubHelpers.GetCOMIPFromRCW(Object objSrc, IntPtr pCPCMD, IntPtr& ppTarget, Boolean& pfNeedsRelease) at Microsoft.Office.Uc.SignInConfigurationClass.ForgetMe(String Uri) at Microsoft.Lync.Model.SignInConfiguration.ForgetMe(String uri) at Scan.Rtc.Skype4Business.Skype4BusinessClient.SignOut()
When I decompiled the Microsoft.Lync.Model assembly on the forgetMe method :
public void ForgetMe(string uri) { try { this.m_inn_SignInConfiguration2.ForgetMe(uri); } catch (COMException rpcException) { throw LyncClient.HandleException(rpcException); } }
And in the Microsoft.Office.Uc assembly :
namespace Microsoft.Office.Uc { [Guid("61CE9972-C619-4A88-A5D1-D2DFBCD4D2A1"), TypeLibType(TypeLibTypeFlags.FDual | TypeLibTypeFlags.FNonExtensible | TypeLibTypeFlags.FDispatchable)] [ComImport] public interface ISignInConfiguration2 { [DispId(268435457)] [MethodImpl(MethodImplOptions.InternalCall)] void ForgetMe([MarshalAs(UnmanagedType.BStr)] [In] string Uri); } }
Maybe someone knows who is responsible to register this COM interface ??
Seems to be inexisting on my deployment machine.
Thank you for your help.
Best,
John.
Warm Regards, Jonathan Muller -- GSX Monitor Project manager http://www.gsx.com Linkedin C++ Community Group Founder : http://www.linkedin.com/groups?gid=133720