BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 08-14-2007, 06:08 PM   #1 (permalink)
New Member
 
Join Date: Aug 2007
Model: 7520
PIN: N/A
Carrier: Sprint
Posts: 4
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default BES user initializing...Help?

Please Login to Remove!

So I have BES 4.1.4 up and running but when I try to add a user it stays in the initializing state.

My Set up is a BES server (EXCHINTSDC2) running win2k3 and the mail store is Exchange 2007 (EXCHINTSE2K7).

When I add a user it stays in the initializing state.

When I choose to assign a device I get the following error.

An error occurred while assigning the device to the user.

The user is not yet known to the BlackBerry Agent.
It can take several minutes for a newly added user to be fully
initialized by the server before they can be provisioned. (16)

In the event log I see the following warnings

Event Type: Warning
Event Source: BlackBerry Messaging Agent EXCHINTSDC2 Agent 1
Event Category: None
Event ID: 20400
Date: 8/14/2007
Time: 3:03:54 PM
User: N/A
Computer: EXCHINTSDC2
Description:
{jadams@parentexchint.ecsbu-lab-sea.cisco.com} MAPIMailbox::MAPIMailbox(2) - OpenMsgStore (0x8004011d) failed, MailboxDN=/o=ExchIntOrg/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=jadams, ServerDN=/o=ExchIntOrg/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Configuration/cn=Servers/cn=EXCHINTSE2K7/cn=Microsoft Private MDB


Event Type: Warning
Event Source: BlackBerry Dispatcher EXCHINTSDC2
Event Category: None
Event ID: 20574
Date: 8/14/2007
Time: 3:04:01 PM
User: N/A
Computer: EXCHINTSDC2
Description:
{John Adams} RPC command failed - no connection to BES Agent

Finally in the logs we see

[30053] (08/14 15:55:55.154):{0x10C8} Retry start for user: /o=ExchIntOrg/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=jadams
[30041] (08/14 15:55:55.154):{0x10C8} Starting handheld for John Adams
[40704] (08/14 15:55:55.154):{0x10C8} MAPIMailbox::MAPIMailbox(2) ServerDN=/o=ExchIntOrg/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Configuration/cn=Servers/cn=EXCHINTSE2K7/cn=Microsoft Private MDB, MailboxDN=/o=ExchIntOrg/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=jadams
[30033] (08/14 15:55:55.154):{0x10C8} ResolveName - g_pAddressBook->ResolveName( /o=ExchIntOrg/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=jadams ) (0x8004010f) failed
[30337] (08/14 15:55:55.154):{0x10C8} MAPIMailbox::MAPIMailbox(2) - ResolveName[1] failed for DisplayName='/o=ExchIntOrg/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=jadams', trying method #2
[30033] (08/14 15:55:55.154):{0x10C8} ResolveName - g_pAddressBook->ResolveName( jadams ) (0x8004010f) failed
[30337] (08/14 15:55:55.154):{0x10C8} MAPIMailbox::MAPIMailbox(2) - ResolveName[2] failed for DisplayName='jadams', trying method #3
[30033] (08/14 15:55:55.154):{0x10C8} ResolveName - g_pAddressBook->ResolveName( John Adams ) (0x8004010f) failed
[30024] (08/14 15:55:55.154):{0x10C8} MAPIMailbox::MAPIMailbox(2) - ResolveName[3] failed for DisplayName='John Adams', giving up
[20154] (08/14 15:55:55.154):{0x10C8} User John Adams not started
[50079] (08/14 15:55:55.154):{0x10C8} 1 user(s) failed to initialize


What am I missing? It seems like a MAPI issue but there is nothing out there on these errors. Let me know if you are seeing them and what I can do.

Thanks,

Andrew
Offline  
Old 08-15-2007, 06:21 PM   #2 (permalink)
New Member
 
Join Date: Aug 2007
Model: 7520
PIN: N/A
Carrier: Sprint
Posts: 4
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Exchange 2007 BESAdmin permissions

Ok so the Blackberry documentation didn't work for me.

But I got it working, heres what I did. From the Exchange 2007 powershell I ran the following commands (Replace MAILSERVERNAME with your Exchange 2007 server name):

add-exchangeadministrator BESAdmin -role ViewOnlyAdmin

Get-mailboxserver MAILSERVERNAME | add-adpermission xxx8211;user BESAdmin -accessrights GenericRead, GenericWrite -extendedrights Send-As, Receive-As, ms-Exch-Store-Admin

The two items in bold are the major difference I see between the documentation and what works.

Hope that helps some one out there who was stuck like me

Last edited by froissart : 08-15-2007 at 06:37 PM.
Offline  
Old 08-17-2007, 10:40 AM   #3 (permalink)
New Member
 
Join Date: Aug 2007
Model: 8800
PIN: N/A
Carrier: Verizon
Posts: 1
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Froissart, my friend, you are a genius! I've been pulling my hair out for weeks trying to find a solution for the exact same problem. As you stated, the BES documentation just didn't cut it. I scavenged every related thread I could find on RIM's site, Microsoft's site, and every forum I could get my hands on... yet nothing helped. After making that one simple modification to the permissions via the Management Shell, my activation started so quickly I nearly fell out of my chair! That was the only thing that was needed this entire time! I couldn't believe it!!! Someone should inform RIM about this so they can modify their documentation accordingly.

You're a lifesaver! Two thumbs way up!

Thank you!!!
Offline  
Old 08-17-2007, 04:58 PM   #4 (permalink)
New Member
 
Join Date: Oct 2005
Location: Miami
Model: 8800
Carrier: T-Mobile
Posts: 7
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Is that command valid only in Exch 2007?

Hi Froissart,

I am not very familiared with the Exchange environment, but I am seeing the same exact issue (XBES 4.1.4), only that it is on Exch 2003 (not 2007).

Does that command you mentioned can be executed on Exch 2003 too? If not, what would be an equivalent for Exch 2003 or 2000 ?

Thanks a lot.
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





Copyright 2004-2014 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.