BlackBerry Forums Support Community

BlackBerry Forums Support Community (http://www.blackberryforums.com/index.php)
-   BES Admin Corner (http://www.blackberryforums.com/forumdisplay.php?f=21)
-   -   BES 4 for Exchange one-way-calendar-sync drama (http://www.blackberryforums.com/showthread.php?t=6190)

Masud 04-08-2005 10:58 AM

BES 4 for Exchange one-way-calendar-sync drama
 
Hi all,

We currently have a freshly implemented Exchange 2003 server on a Windows Server 2003 Enterprise Edition with a BES 4.0 deployed. All is working perfectly, except for the situation where someone creates a calendar entry on their BlackBerry. This entry does not appear in their Outlook agenda. The other way around (Outlook to BlackBerry) works great and calendar entries pop-up in a very short period.

As soon somebody adds an entry to his/her calendar, the following error can be seen in the event viewer on the windows server:

========================
Event Type: Warning
Event Source: BlackBerry Messaging Agent SERVERNAME Agent 1
Event Category: None
Event ID: 20216
Date: 8-4-2005
Time: 13:07:59
User: N/A
Computer: SERVERNAME
Description: {user@company.com} Synchronize() failed: ERR_FAIL, Tag=5715
========================

Now I've looked around the entire Internet and I tried al sorts of things:

=> checking the ota.dll
=> checking the BES user's rights on the exchange server and the mailbox stores
=> installing hotfix 2
=> installing code-tables for non latin-1 character sets
=> switching between time zones on the handheld and back
=> resetting the BlackBerries

All of this did not work and the problem still remains. I am at a total loss here. Please help! The only peculiar things concerning this installation, that I can think of, are:

1. the administrator account is being used as the BES user-account
2. the Exchange server and the BES are on the same computer

Many thanks in advance for any help you can give.

Cheers,

Masud

jibi 04-08-2005 11:11 AM

what about cdo.dll? is it the same version as the Exchange 2003 server?

Masud 04-08-2005 12:39 PM

Thanks for the quick reply mate.

I have a CDO.dll file in the 'windows\system32' directory and in the 'program files\exchsrvr\bin' directory. These files are of the same size and date as the one on the Exchange Service Pack 1 media.

I reregistered the dll in the 'program files\exchsrvr\bin' directory using the command: 'regsrv32 cdo.dll'. The command seemed succesful, but the BB 2 Outlook synch didn't work after this. Did I need to reboot the server after this?

Cheers,

Masud

Masud 04-09-2005 06:43 AM

Hi all,

Thanks to some other threads I managed to look into the BES log and I bumped into the following excerpt in the 'SERVERNAME_MAGT_date.txt' log:

[40700] (04/08 09:41:37):{0x420} {username@company.com} Receiving packet from device, size=60, TransactionId=1394115545, Tag=5675, content type=CICAL, cmd=0x3
[40000] (04/08 09:41:37):{0x420} {username@company.com}-HandleAppointmentToSynchronize-Entering-Tag=5675
[30193] (04/08 09:41:38):{0x420} {username@company.com} Receiving calendar update from device, RefId=-1319571328, Tag=5675, TransactionId=1394115545
[40000] (04/08 09:41:38):{0x420} Starting new CDO helper 02b069d8
[40574] (04/08 09:41:38):{0x144} CDO helper 02b069d8 started
[40000] (04/08 09:41:38):{0x198} [BIPP] Received status DELIVERED, Tag=5074
[40000] (04/08 09:41:38):{0x198} [BIPP] Received status DELIVERED, Tag=5075
[30001] (04/08 09:41:38):{0x144} CDOCalendar::Initialize - Code = 80040705, WCode = 0505, Code meaning = IDispatch error #1285,
[30002] (04/08 09:41:38):{0x144} Server = servername, Mailbox = /o=organization /ou=First Administrative Group/cn=Recipients/cn=username Description = You do not have permission to log on. [Microsoft Exchange Server Information Store - [MAPI_E_FAILONEPROVIDER(8004011D)]].
[30180] (04/08 09:41:38):{0x144} {username} CDOCalendar::Initialize - Error in call m_spCalendarFolder = m_spCDOSession->GetDefaultFolder.
[40000] (04/08 09:41:38):{0x144} CDO initializing failure in CDO helper 02b069d8 (1)
[30001] (04/08 09:41:40):{0x144} CDOCalendar::Initialize - Code = 80040705, WCode = 0505, Code meaning = IDispatch error #1285,

This error seems to occur, every time someone puts in a new appointment on the BlackBerry. It appears that I still have some sort of permission problem.

Can anyone please tell me what their permissions look like? Or please tell about any procedure that you followed. We are using our adminstrator account as the BES server account, but this should be possible.

Should I set permissions using the file explorer on individual files and folders? Or should I use the Exchange System Manager to set permissions to server elements? Please help.

Cheers,

Masud

jibi 04-09-2005 11:22 AM

Umm. First off, do NOT use your Administrator account as the BB service account. Uninstall everything you have done. Open up the Installation Guide and follow it word-for-word. Do not get trigger happy and skip over something. You have about 45 minutes worth of work to do to get the BES up and running. Just following their directions and you will be fine.

Masud 04-10-2005 05:31 AM

Hi all,

Even though it is not best-practice, I have everything running under the Administrator account now! The main problem was the rights on the Exchange server for the BES user account. Since we used the administrator's account, we forgot to check the groups that the adminstrator belonged to.

Two groups had deny entries for relevant rights of the administrator (in our case for the 'send as' and 'receive as'). Just make sure these deny entries are removed and it will work. We finally have full two-way synchronization enabled!

Cheers,

Masud

jt2005 04-28-2005 09:55 AM

At last... \o/
 
Thaks Masud, we've had that issue ongoing since our users migtrated to exch2k3 from 5.5.
Didn't find answers anywhere else, and luckily didn't go hacking in and replacing files / reinstalling the BES as was nearest suggested on the BB support site.

jt (y)

corey@12mile 04-28-2005 01:53 PM

Maybe it would have been easier to follow the instructions given by RIM to install your servers eh... The instructions truely are easy to follow and just about any brain dead person can successfully install BES if they follow the install guide.

Araaf 04-28-2005 05:27 PM

Guess we're not braindead enough :smile: Sure, any person can follow a guide...but truly understanding the server comes from encountering and solving these kind of issues. I'm proud to be a trigger-happy cowboy in the land of the BES. 8-)

But more seriously: personally I feel that RIM is lagging a bit behind on properly documenting and supporting their software releases, most likely due to their own fast growth and success. A lot of issues are virtually unknown and the guides do not encompass all the situations. For instance: when upgrading to Service Pack 1, a new issue regarding the handheld configuration tool, that worked just fine on 4.0, is introduced on many systems. We found no documentation whatsoever on it. But luckily for us there was someone on this forum that had spoken to RIM support about it and found a solution.


-Araaf

stevenyc 06-01-2005 08:50 PM

I don't know how you guys put up with this or even have time to. I'm trying to get the Calendar to sync between BES 4.0 and Exch 2003, and I'm buried in dlls and Event Viewers and RIM tells me my support cut off at 8 PM, so I'm on my own. I miss my Goodlnk server where all I'd just add the user's account to the device, and then hand it to him, with everything syncing (not reconciling). No cdo or service books or memory worries. It just worked. I've always said RIM's motto should be "For the IT guy with too much time on his hands" and this stuff proves it. I think you have to be an enthusiast to like RIM and I just want to set it up and move on.

gewfie 07-26-2005 02:19 AM

The problem I believe that you are having is in the Permissions on the Exchange private store, in Advanced, there is an entry for Enterprise Admins and Domain Admins to Deny Send As and Deny Receive As. What needs to be done is you need to either remove those or change them because they are superseeding your BES admin account. If you are using your local administrator account as your BES account then this is probably correct seen as the account is probably under the Domain Admins group.

Have a look see and report what permissions are set in the Exchange Manager.

-gewfie

jibi 07-26-2005 08:22 AM

Quote:

Originally Posted by stevenyc
I've always said RIM's motto should be "For the IT guy with too much time on his hands"

This scenario certainly doesn't prove your statement. It simply proves that their motto should be "For the IT guy who can read and follow instructions". A lot of issues like this happen because either people do not read the instructions correctly or decide that they should do something different than prescribed by said instructions.

killerclown 09-21-2005 02:34 PM

Hey guys !
Just out of curiosity ......
Is it not possible to change the BES admin account once BES is installed ?
(Don't worry I haven't f***** up :))
Just thinking that it could be a problem if the BES serviceaccount was in some way compromised (?)
/Killer

robser 11-11-2005 09:32 AM

Problems with the Calender!
 
Hi.
I have the exactly same problem as mentioned above.

User who can be found via the GAL of the BlackBerry Manager the calendar is working fine.
Some users in other OUīs are in other GALīs. That means, when i add one of these users in the BlackBerry Manager that are in another GAL, i choose from the selector in the BlackBerry Manager. Activation works fine, but the calendar from the BB device will not sync. It works fine from outlook.

The problem is now, that i canīt place the users in the other GALīs in the Default GAL, because they donīt have to see each other from outlook for example...

Can anyone help?


Our Config:
BES 4.0.3 Exchange
Exchange SP1
Windows 2003
BES user: besadmin
HP XEON Servers
LAN: 1 Gbit


Thanks in advance
Robser

robser 11-15-2005 05:08 PM

Hi again,
doesnīt someone know a solution to that?

I have found some logs regarding the problem.

[40000] (11/15 22:47:06):{0x1D7C} {test123@yourdomain.com} Retrying (2) CDO helper 0442e008 call in RunCalHelper
[40000] (11/15 22:47:06):{0x1D7C} CDO helper 0442e008 is not in memory
[40000] (11/15 22:47:06):{0x1D7C} Starting new CDO helper 0442e008
[40574] (11/15 22:47:06):{0x1A14} CDO helper 0442e008 started
[30001] (11/15 22:47:07):{0x1A14} CDOCalendar::Initialize - Code = 800406f9, WCode = 04f9, Code meaning = IDispatch error #1273,
[30002] (11/15 22:47:07):{0x1A14} Server = exch01, Mailbox = /o=MY DOMAIN/ou=First Administrative Group/cn=Recipients/cn=test123 Description = The information store could not be opened. [MAPI 1.0 - [MAPI_E_LOGON_FAILED(80040111)]].
[30180] (11/15 22:47:07):{0x1A14} {test123} CDOCalendar::Initialize - Error in call m_spCalendarFolder = m_spCDOSession->GetDefaultFolder.
[40000] (11/15 22:47:07):{0x1A14} CDO initializing failure in CDO helper 0442e008 (1)
[30001] (11/15 22:47:09):{0x1A14} CDOCalendar::Initialize - Code = 800406f9, WCode = 04f9, Code meaning = IDispatch error #1273,
[30002] (11/15 22:47:09):{0x1A14} Server = exch01, Mailbox = /o=MY DOMAIN/ou=First Administrative Group/cn=Recipients/cn=test123 Description = The information store could not be opened. [MAPI 1.0 - [MAPI_E_LOGON_FAILED(80040111)]].
[30180] (11/15 22:47:09):{0x1A14} {test123} CDOCalendar::Initialize - Error in call m_spCalendarFolder = m_spCDOSession->GetDefaultFolder.
[40000] (11/15 22:47:09):{0x1A14} CDO initializing failure in CDO helper 0442e008 (2)
[30001] (11/15 22:47:09):{0x1A14} CDOCalendar::Initialize - Code = 800406f9, WCode = 04f9, Code meaning = IDispatch error #1273,
[30002] (11/15 22:47:09):{0x1A14} Server = exch01, Mailbox = /o=MY DOMAIN/ou=First Administrative Group/cn=Recipients/cn=test123 Description = The information store could not be opened. [MAPI 1.0 - [MAPI_E_LOGON_FAILED(80040111)]].
[30180] (11/15 22:47:09):{0x1A14} {test123} CDOCalendar::Initialize - Error in call m_spCalendarFolder = m_spCDOSession->GetDefaultFolder.
[40000] (11/15 22:47:09):{0x1A14} CDO initializing failure in CDO helper 0442e008 (3)
[30001] (11/15 22:47:10):{0x1A14} CDOCalendar::Initialize - Code = 800406f9, WCode = 04f9, Code meaning = IDispatch error #1273,
[30002] (11/15 22:47:10):{0x1A14} Server = exch01, Mailbox = /o=MY DOMAIN/ou=First Administrative Group/cn=Recipients/cn=test123 Description = The information store could not be opened. [MAPI 1.0 - [MAPI_E_LOGON_FAILED(80040111)]].
[30180] (11/15 22:47:10):{0x1A14} {test123} CDOCalendar::Initialize - Error in call m_spCalendarFolder = m_spCDOSession->GetDefaultFolder.
[40000] (11/15 22:47:10):{0x1A14} CDO initializing failure in CDO helper 0442e008 (4)
[30001] (11/15 22:47:12):{0x1A14} CDOCalendar::Initialize - Code = 800406f9, WCode = 04f9, Code meaning = IDispatch error #1273,
[30002] (11/15 22:47:12):{0x1A14} Server = exch01, Mailbox = /o=MY DOMAIN/ou=First Administrative Group/cn=Recipients/cn=test123 Description = The information store could not be opened. [MAPI 1.0 - [MAPI_E_LOGON_FAILED(80040111)]].
[30180] (11/15 22:47:12):{0x1A14} {test123} CDOCalendar::Initialize - Error in call m_spCalendarFolder = m_spCDOSession->GetDefaultFolder.
[40000] (11/15 22:47:12):{0x1A14} CDO initializing failure in CDO helper 0442e008 (5)
[40580] (11/15 22:47:13):{0x1A14} CDO helper 0442e008 closing after CDO initialize failure
[40577] (11/15 22:47:13):{0x1A14} CDO helper 0442e008 stopped

Thanks in advance....

Robser

BBTechGuy 11-15-2005 05:32 PM

While logged on as the BESAdmin account can you resolve a MAPI Profile for one of the problmeatic users? You should be able to enter test123 and exch01 and have it resolve.

robser 11-15-2005 07:34 PM

Hi and thanks for your reply.

Iīve used the IEMSTEST utility to test that, that works fine.
The only thing not working is the calender from the BB to the server. With Users who are in the GAL it works fine. Only users who have their own Address List it doesnīt work.

Iīve tried many things, but no chance.....

Thanks
Robser

robser 11-28-2005 05:04 PM

HI again
Iīm still having problems, does someone have a suggestion?

Please help.....

Thanks
Robser

BBTechGuy 11-28-2005 06:47 PM

You still didn't answer my question. For Wireless Calendar to function from BlackBerry to Outlook the BES will create a Temporary MAPI Profile based on the user's Mailbox and Server DN. So if the BESAdmin doesn't have the ability to do this then Wireless Calendar won't work.

robser 11-29-2005 11:45 AM

How shall i do that? Can you give me a tip?

Thanks
Robser


All times are GMT -5. The time now is 09:55 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.