Can't mount mailbox database in Exchange 2007
I have installed a new Exchange 2007 server into an existing Exchange 2003 infrastructure. I now have all roles that i need installed (Hub transport, Client Access, and Mailbox). All of the security groups are present in the root domain of the forest (the 2k7 server is in a child domain). The routing group is present in Exchange 2003. When i attempt to mount the mailbox database in 2k7 i recieve the following error: Error:Exchange is unable to mount the database that you specified. specified database: 8cc5d389-d932-400c-8acf-235f96a72ed5; Error code: MapiExceptionAmbiguousAlias: Unable to mount database. (hr=0x800004005, ec=2002) In addition, i have the following recurring error in the application log: A transient failure has occurred. The problem may resolve itself in a while. The service will retry in 56 seconds. Diagnostic information: Cannot open mailbox /o=Acoustic Dimensions/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Configuration/cn=Servers/cn=TXMEX/cn=Microsoft System Attendant.Microsoft.Exchange.Data.Storage.ConnectionFailedTransientException: Cannot open mailbox /o=Acoustic Dimensions/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Configuration/cn=Servers/cn=TXMEX/cn=Microsoft System Attendant. ---> Microsoft.Mapi.MapiExceptionNetworkError: MapiExceptionNetworkError: Unable to make connection to the server. (hr=0x80040115, ec=-2147221227)Diagnostic context: ...... Lid: 12696 dwParam: 0x6D9 Msg: EEInfo: Generation Time: 2007-07-25 14:33:10:807 Lid: 10648 dwParam: 0x6D9 Msg: EEInfo: Generating component: 2 Lid: 14744 dwParam: 0x6D9 Msg: EEInfo: Status: 1753 Lid: 9624 dwParam: 0x6D9 Msg: EEInfo: Detection location: 501 Lid: 13720 dwParam: 0x6D9 Msg: EEInfo: Flags: 0 Lid: 11672 dwParam: 0x6D9 Msg: EEInfo: NumberOfParameters: 4 Lid: 8856 dwParam: 0x6D9 Msg: EEInfo: prm[0]: Unicode string: ncacn_ip_tcp Lid: 8856 dwParam: 0x6D9 Msg: EEInfo: prm[1]: Unicode string: txmex.ad-tx.com Lid: 12952 dwParam: 0x6D9 Msg: EEInfo: prm[2]: Long val: -1527653632 Lid: 15000 dwParam: 0x6D9 Msg: EEInfo: prm[3]: Pointer val: 0x0x0483c980 (UnknownPtag) Lid: 19778 Lid: 27970 StoreEc: 0x80040115 Lid: 17730 Lid: 25922 StoreEc: 0x80040115 at Microsoft.Mapi.MapiExceptionHelper.ThrowIfError(String message, Int32 hresult, Int32 ec, DiagnosticContext diagCtx) at Microsoft.Mapi.ExRpcConnection.Create(ConnectionCache connectionCache, ExRpcConnectionCreateFlag createFlags, ConnectFlag connectFlags, String serverDn, String userDn, String user, String domain, String password, String httpProxyServerName, Int32 ulConMod, Int32 lcidString, Int32 lcidSort, Int32 cpid, Int32 cReconnectIntervalInMins, Int32 cbRpcBufferSize, Int32 cbAuxBufferSize) at Microsoft.Mapi.ConnectionCache.OpenMapiStore(String mailboxDn, Guid mailboxGuid, Guid mdbGuid, ClientIdentityInfo clientIdentity, String userDnAs, OpenStoreFlag openStoreFlags, CultureInfo cultureInfo, String applicationId) at Microsoft.Mapi.ConnectionCache.OpenMailbox(String mailboxDn, Guid mailboxGuid, Guid mdbGuid, WindowsIdentity windowsIdentityAs, String userDnAs, OpenStoreFlag openStoreFlags, CultureInfo cultureInfo, String applicationId) at Microsoft.Exchange.Data.Storage.ConnectionCachePool.OpenMailbox(String serverDn, String userDn, String mailboxDn, Guid mailboxGuid, Guid mdbGuid, Object identity, ConnectFlag connectFlag, OpenStoreFlag openStoreFlag, CultureInfo cultureInfo, String clientInfoString, Boolean secondTry) --- End of inner exception stack trace --- at Microsoft.Exchange.Data.Storage.ConnectionCachePool.OpenMailbox(String serverDn, String userDn, String mailboxDn, Guid mailboxGuid, Guid mdbGuid, Object identity, ConnectFlag connectFlag, OpenStoreFlag openStoreFlag, CultureInfo cultureInfo, String clientInfoString, Boolean secondTry) at Microsoft.Exchange.Data.Storage.ConnectionCachePool.OpenMailbox(String serverDn, String userDn, String mailboxDn, Guid mailboxGuid, Guid mdbGuid, Object identity, ConnectFlag connectFlag, OpenStoreFlag openStoreFlag, CultureInfo cultureInfo, String clientInfoString, Boolean secondTry) at Microsoft.Exchange.Data.Storage.ConnectionCachePool.OpenMailbox(String serverDn, String userDn, String mailboxDn, Guid mailboxGuid, Guid mdbGuid, Object identity, ConnectFlag connectFlag, OpenStoreFlag openStoreFlag, CultureInfo cultureInfo, String clientInfoString) at Microsoft.Exchange.Data.Storage.MailboxSession.Initialize(LogonType logonType, ExchangePrincipal owner, ADOrgPerson delegateUser, Object identity, OpenMailboxSessionFlags flags) at Microsoft.Exchange.Data.Storage.MailboxSession.CreateMailboxSession(LogonType logonType, ExchangePrincipal owner, ADOrgPerson delegateUser, Object identity, OpenMailboxSessionFlags flags, CultureInfo cultureInfo, String clientInfoString) at Microsoft.Exchange.Data.Storage.MailboxSession.OpenAsAdmin(ExchangePrincipal mailboxOwner, CultureInfo cultureInfo, String clientInfoString) at Microsoft.Exchange.Servicelets.SystemAttendantMailbox.Servicelet.Work() Does anyone have any ideas on what i could check to resolve this? I am pretty close to opening a service ticket but I wanted to see if anyone had any suggestions as to what I am missing.
August 2nd, 2007 3:57pm

cause teh DB is not mounted you get the transient failure, when you manage to mount DB this error will go away. when you prepared AD for Exchange 2007, did you prepared all domains?
Free Windows Admin Tool Kit Click here and download it now
August 2nd, 2007 5:08pm

Even I have the same problem in my organazation if you have ny solution plese let me know
August 4th, 2007 9:53pm

Hi All, You can keep a backup of your Mailbox databases and try this delete the Database related log files and try to mount it, should be able to mount the database, then check for the error you got. Tamer Sherif
Free Windows Admin Tool Kit Click here and download it now
August 7th, 2007 11:41am

I'm getting exactly the same trace, down to the digits of the numeric parameters. Did you ever figure out how to reslove this? Regards, Mick
October 19th, 2007 3:33pm

Hi Guys, Not sure if any of you managed to get this problem resolved or not but a few possibilities: Did you run all the required preps before installing exchange 2007 into a 2003 environment? Did you force replicaion / allow for replication to complete before trying to mount the DB's again? Were there ever any DC's in your domains that were not properly demoted, thus creating orphaned ojects in various AD partitions which you present DC's are still trying to replicate to?
Free Windows Admin Tool Kit Click here and download it now
October 22nd, 2007 12:09pm

I'm posting this for whoever gets this error. Its based on ACL permissions on the Mailbox store. You'll have to edit it using ADSI. Reference this article in the future. Although written for 2003, it applies to 2007. http://support.microsoft.com/kb/932599 Scott Williams Senior Consultant Federal Enterprise Services Microsoft Corporation
November 28th, 2007 6:09pm

Hi, i have the same issues but i can reproduce it. As i am running my DC and Exchange on the same physical box but under seperate VMs, when the host reboots the exchange VM (SVR004) comes up before the DC (SVR002) and there the fun starts. Basically, if i restart the exchange box and make sure it can contact the Domain Controller (leave the DC running), all is well and everything works. The thing that worries me is in the event of an outage and boxes come back up automatically i may not be around to reboot the exchange box... surely this should failover and reconnect automatically? In my case it doesnt, i have left it for 3 hours and i repeats the message every minute). To give more insight, when the exchange box boots before the domain controller, the MSExchange System Attendant service is not started. Even when i start the service manually, i still get the same errors. The only way to get round it is with the full reboot of the exchange box as mentioned whilst the DC is up, after which point the MSExchange System Attendant service has been automatically run. Please see messages below and i mention about ASDIEDIT just after: Event Type:ErrorEvent Source:MSExchange System Attendant Mailbox Event Category:General Event ID:4001Date:28/11/2007Time:18:35:27User:N/AComputer:SVR004Description:A transient failure has occurred. The problem may resolve itself in a while. The service will retry in 56 seconds. Diagnostic information: Cannot open mailbox /o=Rotary Humm/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Configuration/cn=Servers/cn=SVR004/cn=Microsoft System Attendant.Microsoft.Exchange.Data.Storage.ConnectionFailedTransientException: Cannot open mailbox /o=Rotary Humm/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Configuration/cn=Servers/cn=SVR004/cn=Microsoft System Attendant. ---> Microsoft.Mapi.MapiExceptionNetworkError: MapiExceptionNetworkError: Unable to make connection to the server. (hr=0x80040115, ec=-2147221227)Diagnostic context: ...... Lid: 10648 dwParam: 0x6D9 Msg: EEInfo: Generating component: 2 Lid: 14744 dwParam: 0x6D9 Msg: EEInfo: Status: 1753 Lid: 9624 dwParam: 0x6D9 Msg: EEInfo: Detection location: 501 Lid: 13720 dwParam: 0x6D9 Msg: EEInfo: Flags: 0 Lid: 11672 dwParam: 0x6D9 Msg: EEInfo: NumberOfParameters: 4 Lid: 8856 dwParam: 0x6D9 Msg: EEInfo: prm[0]: Unicode string: ncacn_ip_tcp Lid: 8856 dwParam: 0x6D9 Msg: EEInfo: prm[1]: Unicode string: SVR004.rotary.lan Lid: 12952 dwParam: 0x6D9 Msg: EEInfo: prm[2]: Long val: -1527653632 Lid: 15000 dwParam: 0x6D9 Msg: EEInfo: prm[3]: Pointer val: 0x0x01d1dda0 (PR_REROUTING_TABLE) Lid: 19778 Lid: 27970 StoreEc: 0x80040115 Lid: 17730 Lid: 25922 StoreEc: 0x80040115 at Microsoft.Mapi.MapiExceptionHelper.ThrowIfError(String message, Int32 hresult, Int32 ec, DiagnosticContext diagCtx) at Microsoft.Mapi.ExRpcConnection.Create(ConnectionCache connectionCache, ExRpcConnectionCreateFlag createFlags, ConnectFlag connectFlags, String serverDn, String userDn, String user, String domain, String password, String httpProxyServerName, Int32 ulConMod, Int32 lcidString, Int32 lcidSort, Int32 cpid, Int32 cReconnectIntervalInMins, Int32 cbRpcBufferSize, Int32 cbAuxBufferSize) at Microsoft.Mapi.ConnectionCache.OpenMapiStore(String mailboxDn, Guid mailboxGuid, Guid mdbGuid, ClientIdentityInfo clientIdentity, String userDnAs, OpenStoreFlag openStoreFlags, CultureInfo cultureInfo, String applicationId) at Microsoft.Mapi.ConnectionCache.OpenMailbox(String mailboxDn, Guid mailboxGuid, Guid mdbGuid, WindowsIdentity windowsIdentityAs, String userDnAs, OpenStoreFlag openStoreFlags, CultureInfo cultureInfo, String applicationId) at Microsoft.Exchange.Data.Storage.ConnectionCachePool.OpenMailbox(String serverDn, String userDn, String mailboxDn, Guid mailboxGuid, Guid mdbGuid, Object identity, ConnectFlag connectFlag, OpenStoreFlag openStoreFlag, CultureInfo cultureInfo, String clientInfoString, Boolean secondTry) --- End of inner exception stack trace --- at Microsoft.Exchange.Data.Storage.ConnectionCachePool.OpenMailbox(String serverDn, String userDn, String mailboxDn, Guid mailboxGuid, Guid mdbGuid, Object identity, ConnectFlag connectFlag, OpenStoreFlag openStoreFlag, CultureInfo cultureInfo, String clientInfoString, Boolean secondTry) at Microsoft.Exchange.Data.Storage.ConnectionCachePool.OpenMailbox(String serverDn, String userDn, String mailboxDn, Guid mailboxGuid, Guid mdbGuid, Object identity, ConnectFlag connectFlag, OpenStoreFlag openStoreFlag, CultureInfo cultureInfo, String clientInfoString, Boolean secondTry) at Microsoft.Exchange.Data.Storage.ConnectionCachePool.OpenMailbox(String serverDn, String userDn, String mailboxDn, Guid mailboxGuid, Guid mdbGuid, Object identity, ConnectFlag connectFlag, OpenStoreFlag openStoreFlag, CultureInfo cultureInfo, String clientInfoString) at Microsoft.Exchange.Data.Storage.MailboxSession.Initialize(LogonType logonType, ExchangePrincipal owner, ADOrgPerson delegateUser, Object identity, OpenMailboxSessionFlags flags) at Microsoft.Exchange.Data.Storage.MailboxSession.CreateMailboxSession(LogonType logonType, ExchangePrincipal owner, ADOrgPerson delegateUser, Object identity, OpenMailboxSessionFlags flags, CultureInfo cultureInfo, String clientInfoString) at Microsoft.Exchange.Data.Storage.MailboxSession.OpenAsAdmin(ExchangePrincipal mailboxOwner, CultureInfo cultureInfo, String clientInfoString) at Microsoft.Exchange.Servicelets.SystemAttendantMailbox.Servicelet.Work() For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp. To give a little background, i did remove an Exchange Server from the active directory and had to ADSIEDIT the directory to get rid of the old exchange records before i performed the reinstall (as per instructions froma google searchto remove the active directory in inconsistent state message, only disaster recovery available). Once the old exchange records for the old server were removed from the active directory i went ahead and performed a reinstall direct from the setup.exe without any issue. I thought it was all working till i got these issues, but to be honest i dont like the idea of ADSIEDIT and i am worried i messed something up. As the domain is small still i can go ahead and rebuild the virutal machines from templates, however if this is a known issue and not something i have caused then i would rather not as it is still a big task. Many thanks in advance, Chris
Free Windows Admin Tool Kit Click here and download it now
November 28th, 2007 7:00pm

For those of you who have the same issue and have emailed me for the solution, see Scott williams response in this thread. I have marked it as the answer. It is about as close as you can come without a tech support call. I ended up having to call MS tech support to resolve the issue. It seems that for some reason, in a mixed exchange environment, Exchange 2k7 copies the existing exchange 2k3 storage database ACLs over to the new mailbox database. Exchange 2k7 does not like having any ACLs that are not of the new Exchange security groups. You have to remove these ACLs manually via ADSI edit. It is not for the faint of heart and i would defer to the aforementioned KB from MS, or you should contact MS tech support directly for help. By the by, the same issue will occur when you create a public folder database. This was only one of several issues that i had with a 'standard' installation into an existing 2k3 environment. Took three support tickets to resolve them all, and none of the three could i have figured out on my own. Good luck.
November 28th, 2007 7:33pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics