Link to home
Start Free TrialLog in
Avatar of yarshw
yarshw

asked on

send meeting via blackberry with exchange 2007

Hi,

i have blackberry server with about 100 Blackberry devices.
All my devices work well, sending and receive emails, calender, contacts and other items are sync fine.

My problem is that all my Blackberry users can't send meeting via Blackberry.
I got the following error in my blackberry when try to send a meeting:

"Unlisted message error"

I am working with Exchange 2007.

Thanks.
Avatar of monorail1
monorail1
Flag of United States of America image

Is your BES/Ex2007 set up from scratch or an upgraded/cutover setup? Verify the exchangemapicdo installed properly on BES and you have the correct exchange permissions. Can users receive and accept meeting requests from the handheld or is the issue only CREATING? Check under regedit: HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles and make sure there are only 2 profiles: BlackBerryManager and BlackBerryServer. Also check your application eventvwr for information as well as x:\program files\research in motion\blackberry enterprise server\logs\date\BESNAME_MAGT log for "calhelper". Let me know what you find.

proper besadmin permissions for Ex2007:

Get-mailboxserver EX2007 | add-adpermission user BESADMIN -accessrights GenericRead, GenericWrite -extendedrights Send-As, Receive-As, ms-Exch-Store-Admin




~ CFJ
Avatar of yarshw
yarshw

ASKER

Hi,

I had Exchange 2003, i install fresh Exchange 2007 and move about 70% of the mailboxes including bes mailbox, Exchange 2003 still active.

In the regedit just: Blackberry manager, Blackberrry server not exist.

I can't run the command for the Exchange shell, i got error on the accessrights, i just copy your command and edit the exchange server name and the mailbox bes name, anyway i don't think its permissions since all other things working fine.

When someone send meeting i can't see the emails and i can't accept or reject but the meeting is going automatic to my calander and i can see the meeting in the handle.

Warning 20266 always apear at eventvwr

The relevant error in the log:

[40000] (07/12 22:07:58.764):{0x1690} {yarons@syneron.com} Retrying (3) CDO helper 061e9198 call in RunCalHelper
[40000] (07/12 22:07:58.764):{0x1690} CDO helper 061e9198 is not in memory
[40000] (07/12 22:07:58.764):{0x1690} Starting new CDO helper 061e9198
[40574] (07/12 22:07:58.873):{0x13A8} CDO helper 061e9198 started
[40267] (07/12 22:07:58.920):{0x16C0} {bwhittaker@syneron.com} Starting calendar rescan
[40701] (07/12 22:07:58.920):{0x16C0} {bwhittaker@syneron.com} Calendar rescan completed
[20266] (07/12 22:07:59.092):{0x13A8} {yarons} CDOCalendar::Initialize - CreateInstance (0x80040154) failed
[40580] (07/12 22:07:59.092):{0x13A8} CDO helper 061e9198 closing after CDO initialize failure
[40000] (07/12 22:07:59.170):{0x1690} {yarons@syneron.com} CDO helper 061e9198 returned error 'CAL_CDO_INIT_FAILED' failed for LongTermEntryId=0 in LaunchCalHelper(1)
[40000] (07/12 22:07:59.311):{0x13A8} CalHelper failed 061e9198, ErrorCode = -11, Thread activity was Checking CDO object list
[40577] (07/12 22:07:59.967):{0x13A8} CDO helper 061e9198 stopped
[40000] (07/12 22:08:01.467):{0x1690} {yarons@syneron.com} Unable to launch CDO helper in SynchronizeHelper
[40000] (07/12 22:08:01.467):{0x1690} {yarons@syneron.com} Unable to process message with LongTermEntryId=0 in SynchronizeHelper
[20000] (07/12 22:08:01.467):{0x1690} {yarons@syneron.com} Unable to process Meeting Request in SendHelper
[20000] (07/12 22:08:01.467):{0x1690} {yarons@syneron.com} Send() failed: ERR_FAIL, Tag=441793
[40277] (07/12 22:08:01.467):{0x1690} {yarons@syneron.com} Sending message error to device for message 1074315755
[40583] (07/12 22:08:01.467):{0x1690} {yarons@syneron.com} Sending packet to device, Size=47, Tag=430046, TransactionId=-931932138
[40279] (07/12 22:08:01.467):{0x1690} {yarons@syneron.com} SubmitToRelaySendQ, Tag=430046
[40000] (07/12 22:08:01.467):{0x140C} [BIPP] Send data, Tag=430046
[40279] (07/12 22:08:01.467):{0x1690} {yarons@syneron.com} SubmitToRelaySendQ, Tag=441793
[40000] (07/12 22:08:01.467):{0x140C} [BIPP] Send status DATA_ACCEPTED, Tag=441793

Thank you for now.
I have seen this issue before and it was due to incorrect permissions on the Exchange 2007 server for the besadmin service account. Can you make sure that when you copy/pasted that the lines weren't automatically word wrapped? Also for future reference, you might want to remove the users' valid email addresses for privacy reasons.

try copying the permission command into notepad and disable word wrap. Make the changes you need in notepad then paste the whole thing into the ex2007 cmd shell.



~ CFJ
Avatar of yarshw

ASKER

Hi,

I am new with this command shell so i might missing something,
I am apologize from advanced if it's too simple. i did your suggestion and still failed.
i copy for you the command from the shell, and just change the user name and server name:

[PS] C:\>Get-mailboxserver Exchange2007 | add-adpermission | user BESUser -accessrig
hts GenericRead, GenericWrite -extendedrights Send-As, Receive-As, ms-Exch-Store
-Admin

i got the following error:

Get-User : A parameter cannot be found that matches parameter name 'accessright
s'.
At line:1 char:75
+ Get-mailboxserver Exchange2007 | add-adpermission | user BESUser -accessrights  <
<<< GenericRead, GenericWrite -extendedrights Send-As, Receive-As, ms-Exch-Stor
e-Admin

Looks like a word wrap issue to me, can you try manually typing it in exactly as stated in my previous post and let me know?



~ CFJ
Avatar of yarshw

ASKER

OK, eventually.

here is the resualts:

Exchange2007           SYNERON\besuser        False False     Send-As
Exchange2007           SYNERON\besuser        False False     Receive-As
Exchange2007           SYNERON\besuser        False False     ms-Exch-Store-Admin
Exchange2007           SYNERON\besuser        False False     ReadProperty
Exchange2007           SYNERON\besuser        False False     ListObject, Generi...
Exchange2007           SYNERON\besuser        False False     Self, WriteProperty
Exchange2007           SYNERON\besuser        False False     ReadControl

this is what you looking for?
is it ok?

Thanks.
Yup, that looks right. Now if you can, stop the BlackBerry Router service on your BES for 20min then start it back up. You should note that when stopping Router that essentially disconnects your BES from the RIM network and there will be no message flow until the router service is started up again 20min later - make sure you have it stopped for at least 20min (I usually do 22min to be safe).



~ CFJ
Avatar of yarshw

ASKER

I stop it for 26 min, same thing.
On the BES, is the Exchange 2003 System Manager (ESM) still installed? Is your Ex2003 server running SP2 with DST patch and is BES? Can you check the version of your CDO under x:\program files\exchsrvr\bin\cdo.dll on the Exchange 2003 server as well as on BES. Are they the same version (6.5.7651.61)? If they're older than that, sounds like you either need Ex2003 SP2 on Exchange2003 or on BES plus the DST patch (http://support.microsoft.com/kb/926666). Let me know what you find.



~ CFJ
Also, are you getting any errors in the BES application eventvwr? Would you be able to export some and paste in here or attach an exported .evt file?



~ CFJ
Avatar of yarshw

ASKER

Yea, system manger still installed.
my Ex2003 have SP2 with DST patch.
Same version of CDO.dll at BlackBerry and EX2003, CDO version: 6.5.7651.61

at the eventvwr as i wrote a lot of 20266, nothing more.
In your 20266 events, does it state a number of worker threads? When was the last time the BES was rebooted?



~ CFJ
Avatar of yarshw

ASKER

Find more kind of errors:

Event Type:      Warning
Event Source:      BlackBerry Messaging Agent BlackberryServer Agent 2
Event Category:      None
Event ID:      20266
Date:            7/13/2008
Time:            9:35:44 PM
User:            N/A
Computer:      BlackberryServer
Description:
{username} CDOCalendar::Initialize - CreateInstance (0x80040154) failed


Event Type:      Warning
Event Source:      BlackBerry Messaging Agent BlackberryServer Agent 2
Event Category:      None
Event ID:      20124
Date:            7/13/2008
Time:            9:35:44 PM
User:            N/A
Computer:      BlackberryServer
Description:
RIM_HrGWResolveProxy - HrMAPISetAddressList (0x80004005) failed



Event Type:      Warning
Event Source:      BlackBerry Messaging Agent BlackberryServer Agent 2
Event Category:      None
Event ID:      20298
Date:            7/13/2008
Time:            9:35:44 PM
User:            N/A
Computer:      BlackberryServer
Description:
{username@syneron.com} MAPIMailbox::MAPIRecipstoRIMRecips - Failed to retrieve email address for 'username

i think that's it.

i reboot the server after i start the router service after 26 min.

The problems you're having are related to Exchange. Have there been any recent network changes? How are the ping times between BES and Exchange 2003/2007? Do you see any issues in the application eventvwr of the Ex2003 or Ex2007 servers?

Is the calendar invite creation from BB issue affecting ALL users or only users on 2003 or 2007? If you go into start > programs > blackberry server configuration > blackberry server > edit MAPI profile and change that to the Exchange server with the besuser mailbox, does check name work? Can you create a new user, add to BES and activate without issues?



~ CFJ
Avatar of yarshw

ASKER

The only change is that i installed Exchange2007 as i already wrote.

no ping issue between the servers, can't see any error in the exchange
few warnings but i don't think related.

i checked only for Exchange2007 users, i will try to find 2003 user tomorrow and update you.

when i click edit mapi profile i got the following error:
the mapi subsystem cannot be correctly initialize and used. please make sure mapi is installed and configured prpoerly.

i have no problem to add users and activate, do it almost on daily basis.

Check the following path on BES in regedit and confirm the cdo.dll that BES is using is in the Exchsrvr/bin directory and NOT Windows\System32\

HKEY_CLASSES_ROOT\CLSID\{3FA7DEB3-xxxxxxxxxxxxxxxxxxxxxxxx}\InprocServer32\(default)

If the cdo.dll in exchsrvr\bin is 6.5.7651.61 and there's also one in the windows\system32\ do the following from a run prompt:

regsvr32 "c:\program files\exchsrvr\bin\cdo.dll"

It's possible that rebuilding the MAPI will fix this but before attempting that, let me know about the above.



~ CFJ
Avatar of yarshw

ASKER

i can see two string value:

1. default:
    Value: C:\Program Files\ExchangeMapi\\cdo.dll  
2. ThreadingModel:
    Value Both
Avatar of yarshw

ASKER

in this folder: C:\Program Files\ExchangeMapi-
theCDO.dll version is: 6.5.8022.0
Ah so ExchangeMapiCdo was installed preparation for your Exchange 2007 deployment, that's your problem. Basically, if there's an active Ex2003 server in your network (especially one with active BES users or housing your besuser account/mailbox) you do NOT want to install the ExchangeMapiCdo because it is a higher level (Ex2007) than Ex2003 can understand. What you need to do at this point is uninstall the ExchangeMapiCdo from your BES and reboot it. You may need to reinstall Ex2003 SP2 and/or the DST 2007 (MS KB#: 926666) and reregister your exchsrvr\bin\cdo.dll as per my last post and reboot again. Once that's done, you will need to delete and recreate your MAPI connection with the Ex2003 server. To do that you will need to do the following exactly in this order:

1. Complete the fix listed above, once fully completed after your last reboot
2. Stop ALL BES services in order (mds, alert, attachment, sync, policy, controller, dispatcher, router)
3. Go to regedit: HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles and delete any sub-directories of profiles (BlackBerry Server & BlackBerryManager)
4. Go to start > programs > bes > bes server configuration > blackberry server > edit mapi. Point to your Ex2003 server & besuser then check name
5. Launch BES management console. Upon doing so, you should get an error about MAPI which is good. Click OK, then do the same as step #4 and put your Ex2003 server and besuser then check name
6. Presuming Both #4 and #5 resolved properly, start ALL BES services in the REVERSE order as #2 (router, dispatcher, controller etc.)
7. Monitor your application eventvwr and pending messages
8. Once mailflow has been confirmed working properly, test your calendar invite/meeting requests again

Let me know where you get with that.

For future reference:
Once you complete the migration from Ex2003 to Ex2007 and decommission/remove the Ex2003 server from your network OR after moving the besuser mailbox from Ex2003 to Ex2007, you will need to uninstall Ex2003 SP2 and Ex2003 from your BES, reboot then install the ExchangeMapiCdo and redo the MAPI as per steps #2 - #6.



~ CFJ
Avatar of yarshw

ASKER

Before i will do somethnig, after i will remove the ExchangeMapiCdo , you don't think it will cuase all exchange2007 users to not work at all with the blackberry?
No because your BES needs to talk to the besuser account on your Ex2003 server. Of course as server/system admins we know that there can always be unforseen issues and though it is highly unlikely your 2007 users will have any issues, having a good system and BES database backup is always a good thing. Look at it this way, if your 2007 users do have issues you can revert to a system backup or just reinstall the ExchangeMapiCdo which should bring you right back to now. I should say that I have had to do the procedure described in my last post for maybe 10 different clients without any issues but it's always better to be careful.



~ CFJ
Also make sure that Outlook is not installed on BES as this can cause MAPI conflicts as well.



~ CFJ
Avatar of yarshw

ASKER

full office 2007 is installed, to remove it?
You have Office (including Outlook) installed on your BES also? that will definitely cause issues. In that case, remove Outlook & reboot, remove ExchangeMapiCdo & reboot, then regsvr32 "C:\program files\exchsrvr\bin\cdo.dll" & reboot



~ CFJ
Avatar of yarshw

ASKER

when i removing ExchangeMapiCdo, it will not cuase to my 2007 users to not function with the Blackberry?
how can i remove ExchangeMapiCdo? this is not something that i can see in the add\remove program.
Reinstall Ex2003 SP2 and the KB926666 DST update then re-register the re-installed DLL



~ CFJ
Avatar of yarshw

ASKER

I uninstall the office including outlook, reset and it didn't help.

how can i remove ExchangeMapiCdo?  it's not in the add\remove software.
should i just unreg the CDO.DLL?

to Reinstall Ex2003 SP2 and the KB926666 DST in the exchange server or in the BES server?
Reinstall Ex2003 SP2 + KB926666 on the BES then recheck the registry key HKEY_CLASSES_ROOT\CLSID\{3FA7DEB3-xxxxxxxxxxxxxxxxxxxxxxxx}\InprocServer32\(default) and see which cdo.dll it's pointing to



~ CFJ
Avatar of yarshw

ASKER

Hi,

i am aboard there for i didn't try it yet.
meanwhile i discover anther problem with that.
office 2007 can't open via the handle.

any idea?

Thanks.
How are you trying to open Outlook 2007? Can you uninstall it rather than open it?


~ CFJ
Avatar of yarshw

ASKER

Sorry, i mean, when i got attachment that was created in office 2007, i can't open from any handle.
i find article that i must upgrade to 4.1.4 this is the only version that support it.
so i  will do it.
Correct. How is the rest of the BES working - is your original issue resolved?


~ CFJ
Avatar of yarshw

ASKER

well, i almost transfer all exchange 2003 users to 2007, i think maybe to wait till i will transfer all
and then to fix it just for 2007 users.

Thanks and i will update.
Avatar of yarshw

ASKER

OK, just finish to remove system management 2003 and upgrade the black berry manager to 4.1 SP6 last SP.
i still can't send emails via BB.

Any new idea?

Thanks.
What path and version is the cdo.dll that your BES is pointing to under regedit: HKEY_CLASSES_ROOT\CLSID\{3FA7DEB3-xxxxxxxxxxxxxxxxxxxxxxxx}\InprocServer32\(default) ?



~ CFJ
Avatar of yarshw

ASKER

6.5.8022.0
Did you verify this is the cdo.dll that BES is pointing to as per that registry string I posted?
Avatar of yarshw

ASKER

Yea
ASKER CERTIFIED SOLUTION
Avatar of yarshw
yarshw

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
A fair amount of time and effort (19 posts) was put into trying to answer and resolve this. Though I'm glad the issue has been resolved I don't think it fair to award 0 points.



~ CFJ
Check if Microsoft Exchange System Attendant service is running.

I had this problem in the past and it was system attendant.

Thanks

D
I can't believe monorail1 did'nt revieve any points for this.