Monday, October 29, 2012

OABGen encountered error 80004005 while cleaning the offline address list

Today I had an issue with Exchange 2010 Offline Address Book Generation (OABGen) at a customer.  The customer was complaining that their address book had not updated for quite some time.

When manually performing a OABGen against all Address Books on the Exchange server using the Get-OfflineAddressBook | Update-OfflineAddressBook command the following error was experienced in the event logs.

Log Name:      Application
Source:        MSExchangeSA
Date:          30/10/2012 11:14:55 AM
Event ID:      9335
Task Category: (13)
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      Exchange2010.domain.local
Description:
OABGen encountered error 80004005 while cleaning the offline address list public folders under /o=Organization/cn=addrlists/cn=oabs/cn=Default Offline Address List.  Please make sure the public folder database is mounted and replicas exist of the offline address list folders.  No offline address lists have been generated.  Please check the event log for more information.
- \Default Offline Address List

 
In this environment there is an Exchange 2003 server and an Exchange 2010 server, OABGen had been moved across to Exchange 2010.  However the Exchange 2010 server was not a PF replica of the Offline Address Book public folders.  After adding the Exchange 2010 public folder database as a replica of the Offline Address Book public folder, this resolved the issue.

Running another Update-OfflineAddressBook I was able to verify the date stamp under C:\Program Files\Microsoft\Exchange Server\ExchangeOAB was updated.

Please note after OABGeneration is successful before clients are able to download the latest address book the File Distribution Service needs to run to download the OAB from OABGen to the Client Access Servers for distribution.  This by default runs every 8 hours but can be forced by running:

Update-FileDistributionService servername

If you do not understand the OAB Distribution process I highly recommend reading the following article, as this knowledge is required for troubleshooting the OAB Distribution process.  This process is used by both Exchange 2007 and Exchange 2010:

http://clintboessen.blogspot.com.au/2009/05/how-oab-distribution-works.html

3 comments:

  1. Thanks for great information you write it very clean. I am very lucky to get this tips from you


    Warehousing pick and pack

    ReplyDelete
  2. This site is very important site. It is informative site too. It is very helpful to me. If you need any cleaning service
    then visit this site.We are the affordable service provider in Australia. To learn more please visit our site...
    http://www.amazingcleaning.com.au/

    ReplyDelete
  3. Well this is very helpful in trouble, a minor help solve a big problem. Thanks for sharing this. For more when you need an event cleaner just contact with Events Cleaning Services

    ReplyDelete