OpenMsgStore returns MAPI_E_LOGON_FAILED (0x80040111) RRS feed

  • Question

  • I'm working on an application which connects to Exchange server and after an update to Exchange 2010 SP1 RU2, OpenMsgStore() sometimes fails with MAPI_E_LOGON_FAILED error. Before this call, there are successfull calls made to MAPIInitialize() and MAPILogonEx() with a correct profile name. Call to OpenMsgStore() is done with an MDB_NO_DIALOG flag set, and according to MS documentation: "If this flag is set, and OpenMsgStore has insufficient configuration information to open the message store without the user's help, it returns MAPI_E_LOGON_FAILED". So, my question is what exactly this "insufficient configuration information" mean?
    Friday, September 2, 2011 7:33 AM


All replies

  • Hi AdamNWK, thank you for your question. A member of the protocol documentation team will respond to you soon.
    Josh Curry (jcurry) | Escalation Engineer | US-CSS DSC Protocols Team
    Friday, September 2, 2011 4:39 PM
  • Hi AdamNWK,

    This forum isn't actually for discussion of the MAPI functions like OpenMsgStore().  A better place for this question would be the Exchange Developer forum on Technet.

    Best regards,
    Tom Jebo
    Escalation Engineer
    Microsoft Open Specifications

    Friday, September 2, 2011 5:40 PM
  • Hello, sorry for misposting and thank you for redirection.
    Monday, September 5, 2011 9:06 AM