SOLUTION: Blackberry Activation Failed for a user Error: OpenMsgStore 0x8004011d

For Blackberry Enterprise Server 5.0 and Exchange 2010

Problem:

A Blackberry device activation for a certain user failed. Deleting user from BES, changing the BB device did not work either.

Symptoms:

Following errors occurred in the Windows Application Event log:

Log Name:      Application
Source:        BlackBerry Messaging Agent BES5SRV Agent 1
Date:          26.11.2013 10:55:47
Event ID:      20400
Task Category: None
Level:         Warning
Keywords:      Classic
User:          N/A
Computer:      BES5SRV.internal.contoso.com
Description:
{DenizT@contoso.com} MAPIMailbox::MAPIMailbox – OpenMsgStore (0x8004011d) failed, MailboxDN=/o=Contoso/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=Deniz Topal (Sales Department), ServerDN=/o=Contoso/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Configuration/cn=Servers/cn=ExcSrv.internal.contoso.com/cn=Microsoft Private MDB
Event Xml:
xmlns=”http://schemas.microsoft.com/win/2004/08/events/event”>
<System>
BES5SRV Agent 1″ />
<EventID Qualifiers=”45055″>20400
<Level>3</Level>
<Task>0</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime=”2013-11-26T08:55:47.000000000Z” />
<EventRecordID>106605829</EventRecordID>
<Channel>Application</Channel>
<Computer>BES5SRV.internal.contoso.com</Computer>
<Security />
</System>
<EventData>
{KemalT@contoso.com} MAPIMailbox::MAPIMailbox – OpenMsgStore (0x8004011d) failed, MailboxDN=/o=Contoso/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=Deniz Topal (Sales Department), ServerDN=/o=Contoso/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Configuration/cn=Servers/cn=ExcSrv.internal.contoso.com/cn=Microsoft Private MDB
</EventData>
</Event>

In MAGT log:

[40720] (11/26 14:53:35.711):{0x27C0} MAPI call failed. Error ‘The information store could not be opened.’, LowLevelError 0, Component ‘MAPI 1.0’, Context 649

[40210] (11/26 15:05:55.586):{0x1638} Failed to Resolve Name in ScanGAL. user: Denizl Topal (Sales Department), hResult: <8004010f>

Resolution:

There was a space character at the and of LegacyExchangeDN attribute of the user (check the user attributes with adsiedit tool). Removed space character from LegacyExchangeDN attribute of the user. Delete user from BES using BES Administration Service console. Wait for few minutes. Create the user And activate again, successful! See important note in more information section below.

Note: You must see user’s new corrected legacyExchangeDn in Components Tab, Mailbox field in BES Administration Service console. When you recreate the user in BES. If not try Refresh available user list from company directory and restart Blackberry Mail Store service.

More Information:

Important Note: If you change LegacyExchangeDN attribute of a user, you should add old legacyExchangeDN as X500 address in ProxyAddresses attribute of the user. Otherwise if other users reply the old mail from the problem user then mail cannot be delivered. Because Exchange tries to deliver the replied old mail to the old LegacyExchangeDn attribute embedded in the old mail. But if the old LegacyExchangeDN is added as x500 address (become a secondary address) then replied old mail can be delivered.

Exchange uses LegacyExchangeDN as recipient addresses not smtp addresses.

Also you need to delete and recreate the Outlook profile of the user on her/his PC.

if run the tool err.exe:

err 8004010f
# for hex 0x8004010f / decimal -2147221233 :
ecNotFound                                                    ec.h
ecAttachNotFound                                              ec.h
ecUnknownRecip                                                ec.h
ecPropNotExistent                                             ec.h
MAPI_E_NOT_FOUND                                              mapicode.h
# 5 matches found for “8004010f”

Which means BES Server actually cannot find the user due to space character in user’s LegacyExchangeDN

Advertisements
Gallery | This entry was posted in BlackBerry Enterprise Server, Exchange Server and tagged , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s