none
MapiExceptionLogonFailed: Unable to open message store.

    Question

  • So, I was just trying to add an item into contacts folder via OWA.
    OWA was working just fine a moment before that, but the moment I hit "Save and close", I got an error:

    Request
    Url: https://owaxx.xx.xx:443/owa/default.aspx
    User: John Smith
    EX Address: /o=XXXX/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=JohnSmithxx
    SMTP Address: xxx@xxx
    OWA version: 14.0.482.20
    
    Exception
    Exception type: Microsoft.Exchange.Data.Storage.ConnectionFailedTransientException
    Exception message: Cannot open mailbox /o=XXXX/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=JohnSmithxx.
    
    Call stack
    Microsoft.Exchange.Data.Storage.StorageGlobals.CallMapiInternal[T](MapiCallWithReturnValue`1 mapiCall, StoreSession session, LocalizedString exceptionString, Object thisObject, String traceMessage, Object[] traceMessageParameters) 
    Microsoft.Exchange.Data.Storage.StorageGlobals.CallMapi[T](MapiCallWithReturnValue`1 mapiCall, StoreSession session, LocalizedString exceptionString, Object thisObject, String traceMessage, Object[] traceMessageParameters) 
    Microsoft.Exchange.Data.Storage.MailboxSession.ForceOpen() 
    Microsoft.Exchange.Data.Storage.MailboxSession.Initialize(LogonType logonType, ExchangePrincipal owner, DelegateLogonUser delegateUser, Object identity, OpenMailboxSessionFlags flags) 
    Microsoft.Exchange.Data.Storage.MailboxSession.CreateMailboxSession(LogonType logonType, ExchangePrincipal owner, DelegateLogonUser delegateUser, Object identity, OpenMailboxSessionFlags flags, CultureInfo cultureInfo, String clientInfoString) 
    Microsoft.Exchange.Data.Storage.MailboxSession.Open(ExchangePrincipal mailboxOwner, WindowsPrincipal authenticatedUser, CultureInfo cultureInfo, String clientInfoString, Boolean wantCachedConnection) 
    Microsoft.Exchange.Data.Storage.MailboxSession.Open(ExchangePrincipal mailboxOwner, WindowsPrincipal authenticatedUser, CultureInfo cultureInfo, String clientInfoString) 
    Microsoft.Exchange.Clients.Owa.Core.OwaWindowsIdentity.CreateMailboxSession(ExchangePrincipal exchangePrincipal, CultureInfo cultureInfo, HttpRequest clientRequest) 
    Microsoft.Exchange.Clients.Owa.Core.UserContext.CreateMailboxSession(OwaContext owaContext) 
    Microsoft.Exchange.Clients.Owa.Core.UserContext.Load(OwaContext owaContext) 
    Microsoft.Exchange.Clients.Owa.Core.RequestDispatcher.CreateUserContext(OwaContext owaContext, UserContextKey userContextKey, UserContext& userContext) 
    Microsoft.Exchange.Clients.Owa.Core.RequestDispatcher.PrepareRequestWithoutSession(OwaContext owaContext, UserContextCookie userContextCookie) 
    Microsoft.Exchange.Clients.Owa.Core.RequestDispatcher.InternalDispatchRequest(OwaContext owaContext) 
    Microsoft.Exchange.Clients.Owa.Core.RequestDispatcher.DispatchRequest(OwaContext owaContext) 
    Microsoft.Exchange.Clients.Owa.Core.OwaModule.OnPostAuthorizeRequest(Object sender, EventArgs e) 
    System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() 
    System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
    
    Inner Exception
    Exception type: Microsoft.Mapi.MapiExceptionLogonFailed
    Exception message: MapiExceptionLogonFailed: Unable to open message store. (hr=0x80040111, ec=-2147221231) Diagnostic context: Lid: 18969 EcDoRpcExt2 called [length=505] Lid: 27161 EcDoRpcExt2 returned [ec=0x0][length=324][latency=156] Lid: 23226 --- ROP Parse Start --- Lid: 27962 ROP: ropLogon [254] Lid: 17082 ROP Error: 0x80040111 Lid: 26937 Lid: 21921 StoreEc: 0x80040111 Lid: 27962 ROP: ropExtendedError [250] Lid: 1494 ---- Remote Context Beg ---- Lid: 1238 Remote Context Overflow Lid: 49469 Lid: 65341 StoreEc: 0x8004010F Lid: 56125 Lid: 47933 StoreEc: 0x8004010F Lid: 32829 Lid: 49213 StoreEc: 0x8004010F Lid: 48573 Lid: 64957 StoreEc: 0x8004010F Lid: 22787 Error: 0x0 Lid: 13032 StoreEc: 0x8004010F Lid: 22787 Error: 0x0 Lid: 13032 StoreEc: 0x8004010F Lid: 22787 Error: 0x0 Lid: 13032 StoreEc: 0x8004010F Lid: 22787 Error: 0x0 Lid: 13032 StoreEc: 0x8004010F Lid: 3225 StoreEc: 0x8004010F Lid: 60049 StoreEc: 0x8004010F Lid: 49469 Lid: 65341 StoreEc: 0x8004010F Lid: 56125 Lid: 47933 StoreEc: 0x8004010F Lid: 32829 Lid: 49213 StoreEc: 0x8004010F Lid: 48573 Lid: 64957 StoreEc: 0x8004010F Lid: 59409 Lid: 45073 Lid: 11173 StoreEc: 0x80040111 Lid: 22970 Lid: 8620 StoreEc: 0x80040111 Lid: 1750 ---- Remote Context End ---- Lid: 26849 Lid: 21817 ROP Failure: 0x80040111 Lid: 26297 Lid: 16585 StoreEc: 0x80040111 Lid: 32441 Lid: 1706 StoreEc: 0x80040111 Lid: 24761 Lid: 20665 StoreEc: 0x80040111 Lid: 25785 Lid: 29881 StoreEc: 0x80040111
    
    Call stack
    Microsoft.Mapi.MapiExceptionHelper.ThrowIfError(String message, Int32 hresult, Int32 ec, DiagnosticContext diagCtx) 
    Microsoft.Mapi.ExRpcConnection.OpenMsgStore(OpenStoreFlag storeFlags, String mailboxDn, Guid mailboxGuid, Guid mdbGuid, MapiStore msgStorePrivate, String& correctServerDn, ClientIdentityInfo clientIdentityAs, String userDnAs, String applicationId, CultureInfo cultureInfo) 
    Microsoft.Mapi.MapiStore.OpenMapiStore(String serverDn, String userDn, String mailboxDn, Guid guidMailbox, Guid guidMdb, String userName, String domainName, String password, String httpProxyServerName, ConnectFlag connectFlags, OpenStoreFlag storeFlags, CultureInfo cultureInfo, Boolean wantRedirect, String& correctServerDN, ClientIdentityInfo clientIdentity, String applicationId) 
    Microsoft.Mapi.MapiStore.OpenMailbox(String serverDn, String userDn, String mailboxDn, String userName, String domainName, String password, ConnectFlag connectFlags, OpenStoreFlag storeFlags, CultureInfo cultureInfo, WindowsIdentity windowsIdentity, String applicationId) 
    Microsoft.Exchange.Data.Storage.MailboxSession.<>c__DisplayClass44.b__3b() 
    Microsoft.Exchange.Data.Storage.StorageGlobals.CallMapiInternal[T](MapiCallWithReturnValue`1 mapiCall, StoreSession session, LocalizedString exceptionString, Object thisObject, String traceMessage, Object[] traceMessageParameters)
    User: John Smith
    EX Address: /o=XXXX/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=John Smithcf604c4b
    SMTP Address: xxx@xxx.xxx.xx
    OWA version: 14.0.482.20
    
    Exception
    Exception type: Microsoft.Exchange.Data.Storage.ConnectionFailedTransientException
    Exception message: Cannot open mailbox /o=XXXX/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=John Smithcf604c4b.
    
    Call stack
    Microsoft.Exchange.Data.Storage.StorageGlobals.CallMapiInternal[T](MapiCallWithReturnValue`1 mapiCall, StoreSession session, LocalizedString exceptionString, Object thisObject, String traceMessage, Object[] traceMessageParameters) 
    Microsoft.Exchange.Data.Storage.StorageGlobals.CallMapi[T](MapiCallWithReturnValue`1 mapiCall, StoreSession session, LocalizedString exceptionString, Object thisObject, String traceMessage, Object[] traceMessageParameters) 
    Microsoft.Exchange.Data.Storage.MailboxSession.ForceOpen() 
    Microsoft.Exchange.Data.Storage.MailboxSession.Initialize(LogonType logonType, ExchangePrincipal owner, DelegateLogonUser delegateUser, Object identity, OpenMailboxSessionFlags flags) 
    Microsoft.Exchange.Data.Storage.MailboxSession.CreateMailboxSession(LogonType logonType, ExchangePrincipal owner, DelegateLogonUser delegateUser, Object identity, OpenMailboxSessionFlags flags, CultureInfo cultureInfo, String clientInfoString) 
    Microsoft.Exchange.Data.Storage.MailboxSession.Open(ExchangePrincipal mailboxOwner, WindowsPrincipal authenticatedUser, CultureInfo cultureInfo, String clientInfoString, Boolean wantCachedConnection) 
    Microsoft.Exchange.Data.Storage.MailboxSession.Open(ExchangePrincipal mailboxOwner, WindowsPrincipal authenticatedUser, CultureInfo cultureInfo, String clientInfoString) 
    Microsoft.Exchange.Clients.Owa.Core.OwaWindowsIdentity.CreateMailboxSession(ExchangePrincipal exchangePrincipal, CultureInfo cultureInfo, HttpRequest clientRequest) 
    Microsoft.Exchange.Clients.Owa.Core.UserContext.CreateMailboxSession(OwaContext owaContext) 
    Microsoft.Exchange.Clients.Owa.Core.UserContext.Load(OwaContext owaContext) 
    Microsoft.Exchange.Clients.Owa.Core.RequestDispatcher.CreateUserContext(OwaContext owaContext, UserContextKey userContextKey, UserContext& userContext) 
    Microsoft.Exchange.Clients.Owa.Core.RequestDispatcher.PrepareRequestWithoutSession(OwaContext owaContext, UserContextCookie userContextCookie) 
    Microsoft.Exchange.Clients.Owa.Core.RequestDispatcher.InternalDispatchRequest(OwaContext owaContext) 
    Microsoft.Exchange.Clients.Owa.Core.RequestDispatcher.DispatchRequest(OwaContext owaContext) 
    Microsoft.Exchange.Clients.Owa.Core.OwaModule.OnPostAuthorizeRequest(Object sender, EventArgs e) 
    System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() 
    System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
    
    Inner Exception
    Exception type: Microsoft.Mapi.MapiExceptionLogonFailed
    Exception message: MapiExceptionLogonFailed: Unable to open message store. (hr=0x80040111, ec=-2147221231) Diagnostic context: Lid: 18969 EcDoRpcExt2 called [length=505] Lid: 27161 EcDoRpcExt2 returned [ec=0x0][length=324][latency=156] Lid: 23226 --- ROP Parse Start --- Lid: 27962 ROP: ropLogon [254] Lid: 17082 ROP Error: 0x80040111 Lid: 26937 Lid: 21921 StoreEc: 0x80040111 Lid: 27962 ROP: ropExtendedError [250] Lid: 1494 ---- Remote Context Beg ---- Lid: 1238 Remote Context Overflow Lid: 49469 Lid: 65341 StoreEc: 0x8004010F Lid: 56125 Lid: 47933 StoreEc: 0x8004010F Lid: 32829 Lid: 49213 StoreEc: 0x8004010F Lid: 48573 Lid: 64957 StoreEc: 0x8004010F Lid: 22787 Error: 0x0 Lid: 13032 StoreEc: 0x8004010F Lid: 22787 Error: 0x0 Lid: 13032 StoreEc: 0x8004010F Lid: 22787 Error: 0x0 Lid: 13032 StoreEc: 0x8004010F Lid: 22787 Error: 0x0 Lid: 13032 StoreEc: 0x8004010F Lid: 3225 StoreEc: 0x8004010F Lid: 60049 StoreEc: 0x8004010F Lid: 49469 Lid: 65341 StoreEc: 0x8004010F Lid: 56125 Lid: 47933 StoreEc: 0x8004010F Lid: 32829 Lid: 49213 StoreEc: 0x8004010F Lid: 48573 Lid: 64957 StoreEc: 0x8004010F Lid: 59409 Lid: 45073 Lid: 11173 StoreEc: 0x80040111 Lid: 22970 Lid: 8620 StoreEc: 0x80040111 Lid: 1750 ---- Remote Context End ---- Lid: 26849 Lid: 21817 ROP Failure: 0x80040111 Lid: 26297 Lid: 16585 StoreEc: 0x80040111 Lid: 32441 Lid: 1706 StoreEc: 0x80040111 Lid: 24761 Lid: 20665 StoreEc: 0x80040111 Lid: 25785 Lid: 29881 StoreEc: 0x80040111
    
    Call stack
    Microsoft.Mapi.MapiExceptionHelper.ThrowIfError(String message, Int32 hresult, Int32 ec, DiagnosticContext diagCtx) 
    Microsoft.Mapi.ExRpcConnection.OpenMsgStore(OpenStoreFlag storeFlags, String mailboxDn, Guid mailboxGuid, Guid mdbGuid, MapiStore msgStorePrivate, String& correctServerDn, ClientIdentityInfo clientIdentityAs, String userDnAs, String applicationId, CultureInfo cultureInfo) 
    Microsoft.Mapi.MapiStore.OpenMapiStore(String serverDn, String userDn, String mailboxDn, Guid guidMailbox, Guid guidMdb, String userName, String domainName, String password, String httpProxyServerName, ConnectFlag connectFlags, OpenStoreFlag storeFlags, CultureInfo cultureInfo, Boolean wantRedirect, String& correctServerDN, ClientIdentityInfo clientIdentity, String applicationId) 
    Microsoft.Mapi.MapiStore.OpenMailbox(String serverDn, String userDn, String mailboxDn, String userName, String domainName, String password, ConnectFlag connectFlags, OpenStoreFlag storeFlags, CultureInfo cultureInfo, WindowsIdentity windowsIdentity, String applicationId) 
    Microsoft.Exchange.Data.Storage.MailboxSession.<>c__DisplayClass44.b__3b() 
    Microsoft.Exchange.Data.Storage.StorageGlobals.CallMapiInternal[T](MapiCallWithReturnValue`1 mapiCall, StoreSession session, LocalizedString exceptionString, Object thisObject, String traceMessage, Object[] traceMessageParameters)
    
    The mailbox database looked fine in the Console, but I decided to move it around (Move-ActiveMailboxDatabase).
    Now, one database copy is "Failed", other two are "Dismounted", and one is "Healthy".
    Meanwhile, mailbox is not accessible.
    So, what do I do to troubleshoot and recover it?
    Wednesday, April 22, 2009 6:12 PM

Answers

  • Ok, it sort of fixed itself after I jerked around the DAG (removed a server and then added it back).
    It was really weird though.
    Wednesday, April 22, 2009 6:19 PM

All replies

  • Ok, it sort of fixed itself after I jerked around the DAG (removed a server and then added it back).
    It was really weird though.
    Wednesday, April 22, 2009 6:19 PM
  • I have the same exact error message. 

    Exchange is totally over my head, any ideas on where to begin?

     

    Thanks :)  

    Friday, January 27, 2012 7:12 AM
  • We encountered the same issue during migrating from Exchange Server 2003 to Exchange Server 2010 at a customer.

    Move Request paused at 66% for over 60 minutes, suspendig the move request (mr) was logged (viewable in log from mr) but EMC didn't get it. So we removed the request only to realize that neither the User nor the Exchange Server 2010 EMC were able to access the Mailbox receiving following message from EMC while forming a new move request:

    MapiExceptionLogonFailed: Unable to open message store. (hr=0x80040111, ec=-2147221231)

    After checking the permissions on the Exchange Server 2003 we restarted "Microsoft Exchange System Attendant" on this maschine, which also restarted "Microsoft Exchange MTA Stacks" and "Microsoft Exchange Information Store" (dependent services).

    After that, the Mailbox was available again (for User and EMC to create a new move request).

    We've choosen this step because it was quicker than rebooting the old exchange server 2003, which would have cut off the Users for up to 5-15 minutes instead of only 1:30 minutes.

    Michael

    Wednesday, July 11, 2012 2:37 PM