BlackBerry Forums Support Community

BlackBerry Forums Support Community (http://www.blackberryforums.com/)
-   BES Admin Corner (http://www.blackberryforums.com/bes-admin-corner/)
-   -   Calendar Sync Issue on BES 4.0 Server (Changing MAPI Profile) (http://www.blackberryforums.com/bes-admin-corner/26955-calendar-sync-issue-bes-4-0-server-changing-mapi-profile.html)

jon.kraatz 02-22-2006 11:02 AM

Calendar Sync Issue on BES 4.0 Server (Changing MAPI Profile)
 
I am currently running BES 4.0 (No service packs) with an Exchange 2003 SP1 server. When I upgraded to 4.0 last month, we have noticed that the calendar sync function only works one way; Outlook to BB. I have tried numerous fixes including checking the cdo.dll file on both servers, made sure that all of the permissions are set correctly for besadmin. My log file shows the following when a calendar item is created on the blackberry:

Quote:

[30001] (02/22 11:44:06):{0x684} CDOCalendar::Initialize - Code = 80040705, WCode = 0505, Code meaning = IDispatch error #1285,
[30002] (02/22 11:44:06):{0x684} Server = exchange, Mailbox = /o=First Organization/ou=First Administrative Group/cn=Recipients/cn=jkraatz Description = You do not have permission to log on. [Microsoft Exchange Server Information Store - [MAPI_E_FAILONEPROVIDER(8004011D)]].
[30180] (02/22 11:44:06):{0x684} {jkraatz} CDOCalendar::Initialize - Error in call m_spCalendarFolder = m_spCDOSession->GetDefaultFolder.
[40000] (02/22 11:44:06):{0x684} CDO initializing failure in CDO helper 07d9b008 (2)
[30001] (02/22 11:44:07):{0x684} CDOCalendar::Initialize - Code = 80040705, WCode = 0505, Code meaning = IDispatch error #1285,
[30002] (02/22 11:44:07):{0x684} Server = exchange, Mailbox = /o=First Organization/ou=First Administrative Group/cn=Recipients/cn=jkraatz Description = You do not have permission to log on. [Microsoft Exchange Server Information Store - [MAPI_E_FAILONEPROVIDER(8004011D)]].
[30180] (02/22 11:44:07):{0x684} {jkraatz} CDOCalendar::Initialize - Error in call m_spCalendarFolder = m_spCDOSession->GetDefaultFolder.
[40000] (02/22 11:44:07):{0x684} CDO initializing failure in CDO helper 07d9b008 (3)
From what I understand this implies that there is some type of permission issue. Since this did work before I upgraded, I remember using the administrator mapi profile when I built the new BES Server; which I know now is incorrect (but makes everything work except for the calendar sync). So my question is, how would I change the mapi profile to use BESAdmin instead of Administrator? Simply logging in as BESAdmin does not seem logical since the services start on thier own without anyone being logged in. I would like to correct this before trying any SP3 upgrades, even if it doesn't fix the problem.

Thanks for the help!

Duffman 02-24-2006 01:09 PM

Does Blackberry's KB-02466, "Support - Wireless calendar synchronization only occurs in one direction" have anything to do with the problem?

It's happening to some users here on our 4.0 BES, but not all. Works both ways on my Verizon 7250, does not on another user's 7250. They only get wireless calendar sync from Outlook to Blackberry.

Does anyone know if this may be the problem and if so where do I get the setcalstore.exe file?

jon.kraatz 02-24-2006 01:13 PM

My issue is company wide and the KB article you sugested appears to only apply to BES 3.5, which niether of us appear to be running. I may give up shortly and start looking for other options since after today it would appear that service is about to become very short lived.

Duffman 02-24-2006 02:45 PM

What about this KB that I found referenced in another posting?
"Windows Server 2003 domain controller memory leak affects BlackBerry Wireless calendar synchronization"
Last Updated: 02 September 2005
Article Number: KB-03784

Duffman 02-24-2006 02:55 PM

Also found links in Blackberry's KB-03784 to:

Support - Unable to wirelessly synchronize calendar items from the handheld to Outlook
Last Updated: 29 August 2005
Article Number: KB-03278

and

Support - Message delays are caused by MAPI_E_LOGON_FAILED (80040111) errors
Last Updated: 01 February 2006
Article Number: KB-03480

BlackBerryLinks 02-24-2006 02:59 PM

Rights of Service account:

Support - MAPI_E_FAILONEPROVIDER(8004011D)
Last Updated: 03 January 2006
Article Number: KB-00886
Summary

This article applies to the following:

* BlackBerry Enterprise Server® 2.1 through 3.6
* Microsoft® Windows® 2000
* Microsoft Windows Server™ 2003
* Microsoft Exchange 5.5, 2000, and 2003

Problem

Calendar entries are not synchronized from the BlackBerry® wireless device to Microsoft Outlook® on the user’s desktop computer.

You receive the following error in the BlackBerry Enterprise Server debug log:

[3] (04/04 15:50:55):{0x182} Server = mcdc-atl-1, Mailbox = /o=CDC/ou=Company/cn=Recipients/cn=user Description = You do not have permission to log on. [Microsoft Exchange Server Information Store - [MAPI_E_FAILONEPROVIDER(8004011D)]]
Cause

The BlackBerry Enterprise Server administration account does not have the required permissions.

If you are using Exchange Server 2000 or Exchange Server 2003, the BlackBerry Enterprise Server administration account is not granted one or more of the following permissions at the mailbox store and public folder store levels:

* Send As
* Receive As
* Administer information store

If you are using Exchange Server 5.5, the BlackBerry Enterprise Server administration account is not granted the Service Account Admin permission at the site, configuration, public information store, and private information store levels.
Resolution

Grant the required permissions to the BlackBerry Enterprise Server administration account by completing the steps that correspond to your environment.

Note: In order to complete the resolution steps, you must be logged in with a service account that can grant permissions to the BlackBerry Enterprise Server administration account.

Microsoft Exchange 2000 and Exchange 2003 Environment

1. Grant to the BlackBerry Enterprise Server administration account the View Only Administrator permission to enable read access of the Microsoft Active Directory®:
1. Open the Microsoft Exchange System Manager.
2. Right-click an administrative group folder and select Delegate control.
3. Click Next.
4. Click Add.
5. Click Browse.
6. Select your BlackBerry Enterprise Server administration account from the list and click OK.
7. In the Delegate Control dialog box, select Exchange View Only Administrator from the drop-down list and click OK.
2. Grant Send As, Receive As, and Administer Information store permissions at the server level:
1. Open the Microsoft Exchange System Manager.
2. Expand Administrative Groups.
3. Right-click on the Exchange Server(s) that will be hosting the BlackBerry users’ mailboxes.
4. Click Properties.
5. Click the Security tab.
6. Click Add.
7. Select the BlackBerry Enterprise Server administration account.
8. In the Permissions window, verify that Send As, Receive As, and Administer Information store permissions are granted.
3. Grant Send As, Receive As, and Administer Information store permissions at the mailbox store level:
1. Select the mailbox store(s) for the Exchange Server(s) that will be hosting BlackBerry users’ mailboxes.
2. Click Properties.
3. Click the Security tab.
4. Select the Allow inheritable permissions from parent to propagate to the object option.
5. In the Permissions window, verify that Send As, Receive As, and Administer Information store permissions are granted.
4. Grant Send As, Receive As, and Administer Information store permissions at the public folder store level:
1. Open the Microsoft Exchange System Manager that is installed on the server(s) where the BlackBerry users’ public folder store resides.
2. Expand Administrative Groups.
3. Expand Servers and storage groups.
4. Right-click on the public folder store that will be hosting the BlackBerry users’ folders.
5. Click Properties.
6. Click the Security tab.
7. Click Add.
8. Select the BlackBerry Enterprise Server administration account.
9. In the Permissions window, verify that Send As, Receive As, and Administer Information store permissions are granted.

Microsoft Exchange 5.5 Environment

In a Microsoft Exchange 5.5 environment, your BlackBerry Enterprise Server administration account requires the Service Account Admin permission to the sitecontainer, configuration container, public information store, and private information store.

1. Grant the Service Account Admin permissions to the site by performing the following steps:
1. Open Microsoft Exchange Administrator.
2. Select the Site container.
3. Click Properties.
4. Click the Permissions tab.
5. Grant the Service Account Admin permission to the BlackBerry Enterprise Server administration account.
2. Grant the Service Account Admin permission to the configuration container by performing the following steps:
1. Select the Configuration container.
2. Click Properties.
3. Click the Permissions tab.
4. Grant the Service Account Admin permission to the BlackBerry Enterprise Server administration account.
3. Grant the Service Account Admin permission to the public information store by completing the following steps:
1. Select the public information store that will be hosting BlackBerry users’ accounts.
2. Click Properties.
3. Click the Permissions tab.
4. Grant the Service Account Admin permission to the BlackBerry Enterprise Server administration account.
4. Grant the Service Account Admin permission to the private information store by performing the following steps:
1. Select the private information store that will be hosting BlackBerry users’ accounts.
2. Click Properties.
3. Click the Permissions tab.
4. Grant the Service Account Admin permission to the BlackBerry Enterprise Server administration account.

Additional Information

The BlackBerry Enterprise Server debug log contains the following [MAPI_E_FAILONEPROVIDER(8004011D)] error:

[3] (04/04 15:50:41):{0x184} *** CDO *** CDOCalendar::Initialize(...) - Code = 80040705, WCode = 0505, Code meaning = IDispatch error #1285,
[3] (04/04 15:50:41):{0x184} Server = mcdc-atl-1, Mailbox = /o=CDC/ou=Company/cn=Recipients/cn=user Description = You do not have permission to log on. [Microsoft Exchange Server Information Store - [MAPI_E_FAILONEPROVIDER(8004011D)]].


All times are GMT -5. The time now is 10:06 PM.

Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.