Installing BES Express on SBS may not create the correct registry entry

This was originally posted at the RIM web site:
http://www.blackberry.com/btsc/search.do?cmd=displayKC&docType=kc&externalId=KB19074



When installing BES Express on SBS you may get an error in the app log showing 'BBServer' agent 1: will not restart - reached the maximum of 10 restarts per 24 hours. Below is the procedure to correct this.

Please note the item in step 5: In the Value data field, type the Fully Qualified Domain Name (FQDN) of the GC Server that the MAPI profile references for domain name resolution.

This will be:servername.domain.extention - Example SBS entry would be servername.domain.local

Overview

In Event Viewer > Application Logs, you should see the following:

Event Type: Warning
Event Source: BlackBerry Controller
Event Category: None
Event ID: 20406
Description:
The description for Event ID ( 20406 ) in Source ( BlackBerry Controller ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: 'BBServer' agent 1: will not restart - reached the maximum of 10 restarts per 24 hours.

In the BlackBerry Messaging Agent debug log (MAGT), you should see lines similar to the following:

[50076] (07/14 18:05:16.725):{0x1F2C} Starting BlackBerry Mailbox Agent 1 for Server mail - Version 5.0.0.110
...
...
[30054] (07/14 18:05:16.908):{0x1F2C} Starting Message System
[30055] (07/14 18:05:16.909):{0x1F2C} Using MAPI profile BlackBerryServer
[40206] (07/14 18:05:16.911):{0x1F2C} MailboxManager::SubsystemInitialize - Using MAPI profile 'BlackBerryServer'
...
...
[20137] (07/14 18:05:16.922):{0x1F2C} MailboxManager::SubsystemInitialize - OpenMsgStore (0x80040111)
[30000] (07/14 18:05:16.923):{0x1F2C} [ENV] MAPI32.DLL: C:\Windows\system32\MAPI32.dll, Version: 1.0.2536.0
[30000] (07/14 18:05:16.923):{0x1F2C} [ENV] CDO.DLL: C:\Program Files (x86)\ExchangeMapi\cdo.dll, Version: 6.5.8069.0
[30000] (07/14 18:05:16.924):{0x1F2C} [ENV] Failed to read 001e6602 reg value from the BlackBerry MAPI profile.
[30000] (07/14 18:05:16.924):{0x1F2C} [ENV] BlackBerry Mailbox Agent 1 - BESX Version 5.0.0.110
[30000] (07/14 18:05:16.924):{0x1F2C} [ENV] BES Service Name: BlackBerry Mailbox Agent
...
[10277] (07/14 18:05:16.932):{0x1F2C} BlackBerry Messaging Agent mail Agent 1 failed to start. Error code 5305
[50106] (07/14 18:05:16.932):{0x1F2C} Stopping BlackBerry Mailbox Agent 1 for Server mail

The Messaging Application Program Interface (MAPI) error code 0x80040111 [MAPI_E_LOGON_FAILED] means that the BlackBerry Service Account was not able to access its own mailbox.




Cause

The Global Catalog (GC) Server, which the Messaging Application Programming Interface (MAPI) profile is referencing for domain name resolution, is either missing or incorrect.


Resolution

To verify that the BlackBerry Enterprise Server is using the correct Global Catalog (GC) Server for domain name resolution, complete the following steps:

  1. Back up the Registry. For instructions, search for article 322756 in the Microsoft Support Knowledge Base.
  2. In the Registry Editor, go to HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\<BlackBerry_Enterprise_Server_name>.

    Note: The registry key on BlackBerry Enterprise Server version 4.0 to 5.0 is not defined as the BlackBerry Enterprise Server name. It appears as BlackBerryServer because the BlackBerry Enterprise Server does not run as multiple instances on the same machine as it did in BlackBerry Enterprise Server version 3.6.

  3. Click the registry key that begins with dca.

  1. Double-click 001e6602.
  2. In the Value data field, type the Fully Qualified Domain Name (FQDN) of the GC Server that the MAPI profile references for domain name resolution.
    The GC Server must be accessible on your Local Area Network (LAN).

  1. Click OK.
  2. Go to HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\BlackBerry Server Management.
  3. Click the registry key that begins with dca.

  1. Double-click 001e6602.
  2. In the Value data field, type the same FQDN GC Server name that you entered in step 5.
  3. Click OK.
  4. For BlackBerry Enterprise Server version 3.6, restart the BlackBerry Enterprise Server service.
    For BlackBerry Enterprise Server version 4.0 to 5.0, restart the BlackBerry Dispatcher service.

Important: Restarting the BlackBerry Enterprise Server will delay message delivery to BlackBerry smartphones. For more information, see KB04789.

Article ID: 47, Created On: 3/29/2010, Modified: 11/18/2010

Feedback (0)