BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 01-09-2009, 05:31 AM   #1 (permalink)
New Member
 
Join Date: Jan 2009
Model: 9000
PIN: N/A
Carrier: Vodafone
Posts: 6
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default mapi32.dll different on BES and MAIL server - help!

Please Login to Remove!

Hi
I currently have a problem with our blackberry's. When you read a message on the device it doesn't update our inbox as read and vice versa. I checked the BES Server and found repeated warnings in the application log: ID's 20265, 20176 and 20275.
I did some research on this and found that the reason behind this is that the mapi32.dll on the Mail server is different to that on the BES.

Mail Server is running on Windows 2003 EE SP2
BES server is running on Windows 2003 SE SP2

Both BES and Mail have Exchange 2003 Version 6.5 (Build 7638.2: Service Pack 2)

The mapi32.dll differences are below:

Exchange currently has
mapi32.dll v.6.5.7638.1

BES has
mapi32.dll v.6.5.6944.0

All updates on servers are the same.

Can you confirm that the reason is correct and if I copy the dll from our mail server to BES, re-register and restart BES services - that this will resolve the problem?
Offline  
Old 01-09-2009, 06:58 AM   #2 (permalink)
Feeling Blue, Bigly ;->
 
stuwhite's Avatar
 
Join Date: Jan 2007
Location: U to the K
Model: 9000
PIN: 3, it's the magic number
Carrier: Most of them, it's a Global Village man!
Posts: 1,273
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by Ebop View Post
Can you confirm that the reason is correct and if I copy the dll from our mail server to BES, re-register and restart BES services - that this will resolve the problem?
Should do the trick but also check your CDO.dlls are the same while you are about it. Also, while a services restart should work, I find more often than not that a change like this ends up needing a BES restart.

This might be a good chance to ensure that you have all the required hotfixes etc in place on the Exch servers and BESs (as they got out of sync) as you have to schedule downtime for this anyway. I have seen other causes of this so this might not be the fix but needs to be done as step one for sure.
__________________
I was a BES and Exchange admin once.
Then my world turned Blue.
Offline  
Old 01-09-2009, 09:48 AM   #3 (permalink)
BlackBerry Extraordinaire
 
gibson_hg's Avatar
 
Join Date: Dec 2007
Model: NA
PIN: 80081ES
Carrier: NA
Posts: 1,006
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

You CANNOT move mapi32.dll and register it. It will cause more issues then you are having now. MAPI is a subsystem and it uses more than just mapi32.dll. You have to apply the appropriate Exchange SP to get the version correct. Seeing as your MAPi32.dll is showing Exchange 2003 base version, that means that your BES is not running SP2.

Try installing SP2 again and see if that fixes it. If the version is still not updated, remove ESM completely and reinstall it again.
Offline  
Old 01-09-2009, 09:50 AM   #4 (permalink)
New Member
 
Join Date: Jan 2009
Model: 9000
PIN: N/A
Carrier: Vodafone
Posts: 6
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Stu - thanks for confirming.

The CDO.dlls are the same - just a mismatch on the mapi32's.
Both BES and MAIL have have the same updates applied to it.

Am going to go down the route of doing a full reboot of BES after I have registered the new version of the dll.
Offline  
Old 01-09-2009, 10:06 AM   #5 (permalink)
Feeling Blue, Bigly ;->
 
stuwhite's Avatar
 
Join Date: Jan 2007
Location: U to the K
Model: 9000
PIN: 3, it's the magic number
Carrier: Most of them, it's a Global Village man!
Posts: 1,273
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by gibson_hg View Post
You CANNOT move mapi32.dll and register it. It will cause more issues then you are having now. MAPI is a subsystem and it uses more than just mapi32.dll. You have to apply the appropriate Exchange SP to get the version correct. Seeing as your MAPi32.dll is showing Exchange 2003 base version, that means that your BES is not running SP2.

Try installing SP2 again and see if that fixes it. If the version is still not updated, remove ESM completely and reinstall it again.
haha that's a good point. I am laughing as I know I have done it that way in the past but breaking Exchange seems to be in my blood so hacking it back together piece by piece doesn't seem out of the ordinary to me . Good call gibson_hg, I do remember going to type that SP2 doesn't seem to be installed but somehow my fingers cancelled out my brain (I blame the flu drugs!).
__________________
I was a BES and Exchange admin once.
Then my world turned Blue.
Offline  
Old 01-09-2009, 10:39 AM   #6 (permalink)
Feeling Blue, Bigly ;->
 
stuwhite's Avatar
 
Join Date: Jan 2007
Location: U to the K
Model: 9000
PIN: 3, it's the magic number
Carrier: Most of them, it's a Global Village man!
Posts: 1,273
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Ebop - replied to PM but for information of others -

As you definately have SP2 on there I wonder if something else you installed changed the dll. I am pretty sure you get a warning when that happens but stranger things have happened. Check that there is nothing else on there which might have caused it/will be broken by the SP2 re-install first. I would like to think you don't have other serious stuff on your BES which plays with MAPI but I don't want to assume :->.
__________________
I was a BES and Exchange admin once.
Then my world turned Blue.
Offline  
Old 01-09-2009, 11:53 AM   #7 (permalink)
BlackBerry Extraordinaire
 
gibson_hg's Avatar
 
Join Date: Dec 2007
Model: NA
PIN: 80081ES
Carrier: NA
Posts: 1,006
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Just wondering. When you open Exchange System Manager(ESM) on the BES and go to Help>About, is the version in there 6.5.7638.2? What about Add/remove Programs?

Seems very strange that ESM would show SP2 while MAPI itself is the base version. I know that most other MAPI applications revert mapi to a 1.0 version, like Outlook does when installed on the BES.

CDO can be copied from Exchange and registered on BES without issue, but MAPI32.dll cannot be. If you intend on doing this, don't. It will be much easier to reapply the Service Pack or re-install ESM completely.
Offline  
Old 01-12-2009, 05:37 AM   #8 (permalink)
New Member
 
Join Date: Jan 2009
Model: 9000
PIN: N/A
Carrier: Vodafone
Posts: 6
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hello Guys

Re-install of Exchange SP2 has resolved the problem.

Many Thanks for all your help - much appreciated

Ebop
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.