BlackBerryForums.com : Your Number One BlackBerry Community      

»Sponsored Links



Reply
 
LinkBack Thread Tools
  (#1 (permalink)) Old
Tool Offline
Knows Where the Search Button Is
 
Posts: 29
Join Date: Jan 2005
Location: Philly
Model: 8830
Carrier: Verizon
Default Updating Mapi32.dll - 07-01-2008, 03:11 PM

What's the best way to get the mapi32.dll to match what is on the Exchange servers?

I currently have a very out of date mapi file, that I need to get updated to the latest version. From what I've seen on the search results, it's not a good idea to use regsrv for this file, and I'm fine with that, but I do need some method of installing it that hopefully isn't too time consuming. I basically have to make the suggestion to our outsourced vendor that handles my BES, so I can't say for certain that they have the Exchange Mangement tools on there or not, but I'm hoping they do. If they don't, obviously they should install that, but if they do, what do I do then?


Tool...
   
Reply With Quote
Sponsored Links
Please Login or Register to Remove these Advertisements!

  (#2 (permalink)) Old
hdawg Offline
BlackBerry Genius
 
hdawg's Avatar
 
Posts: 5,497
Join Date: Aug 2006
Model: hdawg
Carrier: hdawg
Default 07-01-2008, 04:44 PM

Find out the patch level of the Exchange application on the Exchange server and apply that same patch level to the BES.

That is the best process. Any time I patch an Exchange server, the BES gets the same patch if it is related to Exchange.
   
Reply With Quote
  (#3 (permalink)) Old
jeffro01 Offline
Thumbs Must Hurt
 
jeffro01's Avatar
 
Posts: 80
Join Date: Oct 2006
Location: 94598
Model: 8820
PIN: 2451DA2D
Carrier: T-Mobile USA
Default 07-02-2008, 04:52 PM

when i initially setup my BPS the mapi versions were the same, this thread prompted me to check again and now i notice that my exchange server is at 6.5.7638.1 and my BPS is at 6.5.6944.0

What is the process to get them equal again? I am not sure what KB Update on the exchange server bumped up the MAPI32.dll version.

Thanks
Jeff


8820 Pin: 2451DA2D
8320 Pin: 243EFAAF
   
Reply With Quote
  (#4 (permalink)) Old
gibson_hg Offline
CrackBerry Addict
 
gibson_hg's Avatar
 
Posts: 839
Join Date: Dec 2007
Model: NA
PIN: 80081ES
Carrier: NA
Default 07-02-2008, 06:38 PM

Install the SP on your BES that is on Exchange, in this case it is SP2. Do not copy the mapi32.dll file and register it. That's a recipe for disaster
   
Reply With Quote
  (#5 (permalink)) Old
jeffro01 Offline
Thumbs Must Hurt
 
jeffro01's Avatar
 
Posts: 80
Join Date: Oct 2006
Location: 94598
Model: 8820
PIN: 2451DA2D
Carrier: T-Mobile USA
Default 07-02-2008, 06:50 PM

the BPS is already on SP2, so it was an update after that.

Jeff


8820 Pin: 2451DA2D
8320 Pin: 243EFAAF
   
Reply With Quote
  (#6 (permalink)) Old
fadmin Offline
CrackBerry Addict
 
fadmin's Avatar
 
Posts: 530
Join Date: Mar 2007
Model: 10000
Carrier: O2
Default 07-03-2008, 07:10 AM

Search for Mapi32.dll as it might be in different locations and make them all the same. The first one it checks is the one in C:\windows\system32.
   
Reply With Quote
  (#7 (permalink)) Old
jeffro01 Offline
Thumbs Must Hurt
 
jeffro01's Avatar
 
Posts: 80
Join Date: Oct 2006
Location: 94598
Model: 8820
PIN: 2451DA2D
Carrier: T-Mobile USA
Default 07-03-2008, 11:42 AM

I have but what do you mean by make them all the same? It's my understanding that you can't just copy and paste one version over the other. So i guess that's where i'm stuck, how do I get the version on my exchange server thats newer to match the version thats on my BPS thats older?

Jeff


8820 Pin: 2451DA2D
8320 Pin: 243EFAAF
   
Reply With Quote
  (#8 (permalink)) Old
fadmin Offline
CrackBerry Addict
 
fadmin's Avatar
 
Posts: 530
Join Date: Mar 2007
Model: 10000
Carrier: O2
Default 07-03-2008, 01:39 PM

Unregister mapi32.dll first, then replace old with newer mapi32.dll and reboot BES or re-register mapi32.dll.
   
Reply With Quote
  (#9 (permalink)) Old
fadmin Offline
CrackBerry Addict
 
fadmin's Avatar
 
Posts: 530
Join Date: Mar 2007
Model: 10000
Carrier: O2
Default 07-03-2008, 01:42 PM

Sorry, you do what I suggested in my previos post only after you apply same SP and post that SP on the BES. Then you search and see if the mapi32.dll differ in version. then you do what I suggested.
   
Reply With Quote
  (#10 (permalink)) Old
gibson_hg Offline
CrackBerry Addict
 
gibson_hg's Avatar
 
Posts: 839
Join Date: Dec 2007
Model: NA
PIN: 80081ES
Carrier: NA
Default 07-03-2008, 03:55 PM

I would be careful about copying/pasting mapi32.dll and registering it. Applying Exchange 2003 SP2 on your BES should be sufficient. If it did not update anything then you either installed the wrong thing or the install botched.

Re-install SP2 and that should update the mapi32.dll.
   
Reply With Quote
  (#11 (permalink)) Old
jeffro01 Offline
Thumbs Must Hurt
 
jeffro01's Avatar
 
Posts: 80
Join Date: Oct 2006
Location: 94598
Model: 8820
PIN: 2451DA2D
Carrier: T-Mobile USA
Default 07-03-2008, 04:10 PM

I will try the re-install of SP2 Thanks!!!!

I didn't think that just copy\pasting Mapi32.dll was a good idea, glad i was right :D

Jeff


8820 Pin: 2451DA2D
8320 Pin: 243EFAAF
   
Reply With Quote
  (#12 (permalink)) Old
fadmin Offline
CrackBerry Addict
 
fadmin's Avatar
 
Posts: 530
Join Date: Mar 2007
Model: 10000
Carrier: O2
Default 07-04-2008, 07:29 AM

Yes you are both right but sometimes that other mapi32.dll is NOT updated when applying sp but only the one in bin folder. I know it is not right way but is there are other way to do it?
   
Reply With Quote
  (#13 (permalink)) Old
fadmin Offline
CrackBerry Addict
 
fadmin's Avatar
 
Posts: 530
Join Date: Mar 2007
Model: 10000
Carrier: O2
Default 07-04-2008, 07:40 AM

You can try also this:
BlackBerry Search Results
   
Reply With Quote
  (#14 (permalink)) Old
gibson_hg Offline
CrackBerry Addict
 
gibson_hg's Avatar
 
Posts: 839
Join Date: Dec 2007
Model: NA
PIN: 80081ES
Carrier: NA
Default 07-04-2008, 07:43 AM

The only time I see mapi32.dll in a folder other than Exchsvr\bin is when there was another MAPI app installed like Outlook. The BES is only concerned with the mapi32.dll in that folder, it should be anyways.

I once talked to guys at homeland security who did this on 2 BES they Fubared. Complete MAPI degradation. The BES works for a bit and eventually MAPI just dumps and gives out.

What other folders do you have mapi32.dll in?
   
Reply With Quote
  (#15 (permalink)) Old
fadmin Offline
CrackBerry Addict
 
fadmin's Avatar
 
Posts: 530
Join Date: Mar 2007
Model: 10000
Carrier: O2
Default 07-04-2008, 07:59 AM

I have mapi32.dll in both locations on the BES, system32 and Bin folder. But the one BES care about is the system32 one. They should be both the same version but had in past problems with mismatch that causes exact problems he described in his post. Beats me why.
   
Reply With Quote
  (#16 (permalink)) Old
fadmin Offline
CrackBerry Addict
 
fadmin's Avatar
 
Posts: 530
Join Date: Mar 2007
Model: 10000
Carrier: O2
Default 07-04-2008, 08:01 AM

btw. never had Outlook installed on any of my BESs.
   
Reply With Quote
  (#17 (permalink)) Old
gibson_hg Offline
CrackBerry Addict
 
gibson_hg's Avatar
 
Posts: 839
Join Date: Dec 2007
Model: NA
PIN: 80081ES
Carrier: NA
Default 07-04-2008, 09:02 AM

I'm not sure why mapi32.dll updates in one folder and not the other. A re-install of SP2 might fix it. If not, you could always uninstall ESm and reinstall it and apply SP2.

You would not believe how many I've talked to that install Outlook to get MAPI on the BES.

They always say "it's worked for a year now". Hehehehe, always makes me laugh.

Maybe Microsoft cold shed some light as to why mapi32.dll does not always update/register in the same folder.

Would be nice to know.

You can always look in the MAGT log to see what version of mapi32.dll is registered and where. As long as the right one is registered it should be ok.
   
Reply With Quote
  (#18 (permalink)) Old
fadmin Offline
CrackBerry Addict
 
fadmin's Avatar
 
Posts: 530
Join Date: Mar 2007
Model: 10000
Carrier: O2
Default 07-04-2008, 09:20 AM

I just checked brand new server installs have mapi32.dll in both locations. And MAGT logs shows the one in system32 that is registred. So you are saying you have only in BIN folder? Have you searched for it? See link:
BlackBerry Search Results
   
Reply With Quote
  (#19 (permalink)) Old
Keyscan Offline
Thumbs Must Hurt
 
Keyscan's Avatar
 
Posts: 137
Join Date: Aug 2007
Model: 8800
PIN: N/A
Carrier: Rogers
Default 07-04-2008, 09:01 PM

Quote:
Originally Posted by fadmin View Post
I just checked brand new server installs have mapi32.dll in both locations. And MAGT logs shows the one in system32 that is registred. So you are saying you have only in BIN folder? Have you searched for it? See link:
BlackBerry Search Results
Are you installing BES on a 64 bit version of Windows Server 2003?


BES 4.1.4 - Exchange 2003
8800 and my trusty 8700r.
To change your PIN to FFFFFFFF, drop the BB in a lake.
   
Reply With Quote
  (#20 (permalink)) Old
jeffro01 Offline
Thumbs Must Hurt
 
jeffro01's Avatar
 
Posts: 80
Join Date: Oct 2006
Location: 94598
Model: 8820
PIN: 2451DA2D
Carrier: T-Mobile USA
Default 07-11-2008, 02:13 PM

SP2 update, which i swore i had already done, did the trick to bring Mapi32.dll in line with my exchange server.

Thanks
Jeff


8820 Pin: 2451DA2D
8320 Pin: 243EFAAF
   
Reply With Quote
  (#21 (permalink)) Old
fadmin Offline
CrackBerry Addict
 
fadmin's Avatar
 
Posts: 530
Join Date: Mar 2007
Model: 10000
Carrier: O2
Default 07-14-2008, 09:32 AM

Quote:
Originally Posted by Keyscan View Post
Are you installing BES on a 64 bit version of Windows Server 2003?
Nope. Why?
   
Reply With Quote
  (#22 (permalink)) Old
ashworth Offline
CrackBerry Addict
 
ashworth's Avatar
 
Posts: 590
Join Date: Jun 2006
Location: Ontario, Canada
Model: 8820
Carrier: Rogers
Default 07-14-2008, 09:55 AM

Quote:
Originally Posted by fadmin View Post
Unregister mapi32.dll first, then replace old with newer mapi32.dll and reboot BES or re-register mapi32.dll.

Not to be a jerk (sorry i hate seeing invalid info) but you can not re-register mapi32.dll you can only re-register the cdo.dll.
   
Reply With Quote
  (#23 (permalink)) Old
fadmin Offline
CrackBerry Addict
 
fadmin's Avatar
 
Posts: 530
Join Date: Mar 2007
Model: 10000
Carrier: O2
Default 07-14-2008, 12:30 PM

u r right.
   
Reply With Quote