none
How to implement an 3rd party IM provider for outlook 2010 (Error- hr = 0x80040200) RRS feed

  • Question

  • Reference link : Integrating IM applications with Office (https://msdn.microsoft.com/en-us/library/office/jj900715.aspx?f=255&MSPPError=-2147217396). This is for office 2013 but it is also applicable for office 2010 as well (mentioned in article).

    I am trying to write 3rd party IM Client application with outlook 2010. I'm using VS2010 & Lync SDK 2010 (Microsoft.Office.Uc (version 4.0.7577.5)) with .NET Framework(3.5). But outlook is giving below errors. I also checked many other posts like "http://msdev.developer-works.com/article/29718323/How+to+implement+an+IM+provide+for+outlook"

    I have implemented almost all interfaces but reason of the problem is unknown to me. Please suggest problem/solution

    Errors:

    CMsoIMProviderFactory::HrEnsureDefaultIMAppRegKeys Succeeded opening reg key (HKCU:SOFTWARE\IM Providers\)
    CMsoIMProviderFactory::HrEnsureDefaultIMAppRegKeys Succeeded querying reg key (HKCU:SOFTWARE\IM Providers\:DefaultIMApp:CSExeCOMServer)
    CMsoIMProviderFactory::HrEnsureDefaultIMProcessRegKey Succeeded opening reg key (HKCU:SOFTWARE\IM Providers\CSExeCOMServer)
    CMsoIMProviderFactory::HrEnsureDefaultIMProcessRegKey Succeeded opening reg key (HKLM:SOFTWARE\IM Providers\CSExeCOMServer)
    CMsoIMProviderFactory::WhichMessengerInProcessList Using (CSExeCOMServer) process name for search
    <CMsoIMNAbstractionLayer::HrPostJob> <job:IMsoPresenceJobProviderConnect>
    <CMsoIMNALAsyncNotificationHandler::HrInitialize>
    </CMsoIMNALAsyncNotificationHandler::HrInitialize>
    <CMsoIMNALAsyncNotificationHandler::DwThreadProc>
    <CMsoIMNAbstractionLayer::HrOnJob> <job:IMsoPresenceJobInitialize>
    <CMsoIMNAbstractionLayer::HrInitializeInternal>
    <CMsoIMNAbstractionLayer::HrPostJob> <job:IMsoPresenceJobProviderConnect>
    </CMsoIMNAbstractionLayer::HrPostJob>  <job:IMsoPresenceJobProviderConnect>
    </CMsoIMNAbstractionLayer::HrInitializeInternal>
    </CMsoIMNAbstractionLayer::HrPostJob>  <job:IMsoPresenceJobProviderConnect>
    </CMsoIMNAbstractionLayer::HrOnJob>  <job:IMsoPresenceJobInitialize>
    <CMsoIMNAbstractionLayer::HrPostJob> <job:IMsoPresenceJobProviderConnect>
    <CMsoIMNAbstractionLayer::HrOnJob> <job:IMsoPresenceJobProviderConnect>
    </CMsoIMNAbstractionLayer::HrPostJob>  <job:IMsoPresenceJobProviderConnect>
    <CMsoIMNAbstractionLayer::HrEnsureIMApp>
    <CMsoIMNAbstractionLayer::HrPostJob> <job:IMsoPresenceJobProviderConnect>
    <CMsoIMProviderFactory::HrGetAvailableProvider>
    </CMsoIMNAbstractionLayer::HrPostJob>  <job:IMsoPresenceJobProviderConnect>
    CMsoIMProviderFactory::WhichMessengerInProcessList Using (CSExeCOMServer) process name for search
    <CMsoProviderOCom::HrInitialize>
    <CMsoProviderOCom::HrEnsureIMCallback>
    CMsoProviderOCom::HrEnsureIMCallback !failed!  Line: 741  hr = 0x80040200
    </CMsoProviderOCom::HrEnsureIMCallback !failed! hr = 0x80040200>
    CMsoProviderOCom::HrInitialize !failed!  Line: 653  hr = 0x80040200
    </CMsoProviderOCom::HrInitialize !failed! hr = 0x80040200>
    CMsoIMProviderFactory::HrGetAvailableProvider !failed!  Line: 432  hr = 0x80040200
    !!!Provider Initialization Failed!!!
    <CMsoProviderOCom::HrGetLocalCapabilities>
    CMsoIMProviderFactory::HrGetAvailableProvider !failed!  Line: 289  hr = 0x80004005
    !!!Provider Initialization Failed!!!
    </CMsoIMProviderFactory::HrGetAvailableProvider !failed! hr = 0x80004005>
    CMsoIMNAbstractionLayer::HrEnsureIMApp !failed!  Line: 2239  hr = 0x80004005


    • Edited by KrishPS Friday, January 8, 2016 11:21 AM
    Friday, January 8, 2016 11:20 AM

All replies

  • Hi KrishPS,

    I'm trying to involve some senior engineers into this issue and it will take some time. Your patience will be greatly appreciated.

    Regards

    Starain


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Monday, January 11, 2016 8:28 AM
    Moderator
  • HI,

    I'm still waiting for resolution.

    Thanks

    Krish

    Wednesday, January 27, 2016 12:41 PM
  • Pls help to resolve it?
    Wednesday, May 4, 2016 11:41 AM