Link to home
Start Free TrialLog in
Avatar of LaserSpot
LaserSpot

asked on

Exchange 2007 OAB 0X8004010F error

Hello, I've been looking at this for several days. I have users reporting 0X8004010F errors. Also, they can't download the Offline Address Book.

From Outlook 2007 sync log:
14:29:28 Microsoft Exchange offline address book
14:29:28       0X8004010F

From the application log on the server:
Event ID: 9331
OALGen encountered error 80004005 (internal ID 50101ee) accessing the public folder store while generating the offline address list for address list '/'.
- Default Offline Address List
Event ID: 9335
OALGen encountered error 80004005 while cleaning the offline address list public folders under /o=CompanyName/cn=addrlists/cn=oabs/cn=Default Offline Address List.  Please make sure the public folder store 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

Also, if I go to "Default Offline Address Book Properties"->Distribution, the following two options are grayed out and unavailable:
"Enable Web-based distribution"
"Enable public folder distribution"

This is a single Exchange 2007 server that was migrated from Exchange 2003. I did replicate the system folders and decommission the old server.
Avatar of Mehmet Muhanna
Mehmet Muhanna
Flag of Turkmenistan image

Force the Update for all the OAB and Address list
Run
Get-addresslist |update-addresslist
Get-Globaladdresslist | Update-Globaladdresslist
get-offlineaddressbook | update-offlineaddressbook
Update-FileDistributionService

Run also test for test-outlookwebsericves

in the client PC test the autodiscover
Most of these problem are autodiscoer
Avatar of LaserSpot
LaserSpot

ASKER

Thanks for the fast reply.
I ran Get-addresslist|update-addresslist and got these messages:

WARNING: The recipient "companyname.org/Microsoft Exchange System Objects/OAB
Version 2" is invalid and could not be updated.
WARNING: The recipient "companyname.org/Microsoft Exchange System
Objects/Offline Address Book - \/o=companyname\/cn=addrlists\/cn=oabs\/cn="
is invalid and could not be updated.
WARNING: The recipient "companyname.org/Microsoft Exchange System
Objects/Offline Address Book - First Administrative Group" is invalid and could
 not be updated.
WARNING: The recipient "companyname.org/Microsoft Exchange System
Objects/Schedule+ Free Busy Information - First Administrative Group" is
invalid and could not be updated.

Ran Get-Globaladdresslist | Update-Globaladdresslist with similar errors

Ran get-offlineaddressbook | update-offlineaddressbook
Seemed to work, but gave 9331 & 9335 in the application log

Ran Update-FileDistributionService
Asked for identity, may have worked.

Ran: test-outlookwebservices

                        Id                       Type Message
                        --                       ---- -------
                      1003                Information About to test AutoDisc...
                      1007                Information Testing server email.f...
                      1019                Information Found a valid AutoDisc...
                      1006                Information The Autodiscover servi...
                      1016                    Success [EXCH]-Successfully co...
                      1015                Information [EXCH]-The OAB is not ...
                      1014                    Success [EXCH]-Successfully co...
                      1016                Information [EXPR]-The AS is not c...
                      1015                Information [EXPR]-The OAB is not ...
                      1014                Information [EXPR]-The UM is not c...
                      1017                    Success [EXPR]-Successfully co...
                      1006                    Success The Autodiscover servi...
Also, I ran "Test E-Mail AutoConfiguration" from Outlook 2007; it succeeded. I'm connecting with Outlook Anywhere.
ASKER CERTIFIED SOLUTION
Avatar of Mehmet Muhanna
Mehmet Muhanna
Flag of Turkmenistan image

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
I actually went through this article before I posted the question (except the last section). The upgrades worked ok; here's a couple of the results:

Get-AddressList| Format-List Name,*RecipientFilter*,ExchangeVersion

Name                       : All Users
RecipientFilter            : RecipientType -eq 'UserMailbox'
LdapRecipientFilter        : (&(objectClass=user)(objectCategory=person)(mailNi
                             ckname=*)(msExchHomeServerName=*))
LastUpdatedRecipientFilter : RecipientType -eq 'UserMailbox'
RecipientFilterApplied     : True
RecipientFilterType        : Precanned
ExchangeVersion            : 0.1 (8.0.535.0)

Name                       : All Groups
RecipientFilter            : (RecipientType -eq 'MailUniversalDistributionGroup
                             ' -or RecipientType -eq 'MailUniversalSecurityGrou
                             p' -or RecipientType -eq 'MailNonUniversalGroup' -
                             or RecipientType -eq 'DynamicDistributionGroup')
LdapRecipientFilter        : (|(&(objectCategory=group)(groupType:1.2.840.11355
                             6.1.4.804:=8)(!(groupType:1.2.840.113556.1.4.804:=
                             2147483648))(mailNickname=*))(&(objectCategory=gro
                             up)(groupType:1.2.840.113556.1.4.803:=2147483656)(
                             mailNickname=*))(&(objectCategory=group)(!(groupTy
                             pe:1.2.840.113556.1.4.804:=8))(mailNickname=*))(&(
                             objectCategory=msExchDynamicDistributionList)(mail
                             Nickname=*)))
LastUpdatedRecipientFilter : (RecipientType -eq 'MailUniversalDistributionGroup
                             ' -or RecipientType -eq 'MailUniversalSecurityGrou
                             p' -or RecipientType -eq 'MailNonUniversalGroup' -
                             or RecipientType -eq 'DynamicDistributionGroup')
RecipientFilterApplied     : True
RecipientFilterType        : Precanned
ExchangeVersion            : 0.1 (8.0.535.0)

Name                       : All Contacts
RecipientFilter            : RecipientType -eq 'MailContact'
LdapRecipientFilter        : (&(objectClass=contact)(mailNickname=*))
LastUpdatedRecipientFilter : RecipientType -eq 'MailContact'
RecipientFilterApplied     : True
RecipientFilterType        : Precanned
ExchangeVersion            : 0.1 (8.0.535.0)

Name                       : Public Folders
RecipientFilter            : RecipientType -eq 'PublicFolder'
LdapRecipientFilter        : (&(objectCategory=publicFolder)(mailNickname=*))
LastUpdatedRecipientFilter : RecipientType -eq 'PublicFolder'
RecipientFilterApplied     : True
RecipientFilterType        : Custom
ExchangeVersion            : 0.1 (8.0.535.0)

Name                       : All Rooms
RecipientFilter            : (Alias -ne $null -and (RecipientDisplayType -eq 'C
                             onferenceRoomMailbox' -or RecipientDisplayType -eq
                              'SyncedConferenceRoomMailbox'))
LdapRecipientFilter        : (&(mailNickname=*)(|(msExchRecipientDisplayType=7)
                             (msExchRecipientDisplayType=-2147481850)))
LastUpdatedRecipientFilter : (Alias -ne $null -and (RecipientDisplayType -eq 'C
                             onferenceRoomMailbox' -or RecipientDisplayType -eq
                              'SyncedConferenceRoomMailbox'))
RecipientFilterApplied     : True
RecipientFilterType        : Custom
ExchangeVersion            : 0.1 (8.0.535.0)


Get-GlobalAddressList | Format-List Name,*RecipientFilter*,ExchangeVersion

Name                       : Default Global Address List
RecipientFilter            : (Alias -ne $null -and (((((ObjectClass -eq 'user'
                             -or ObjectClass -eq 'contact') -or ObjectClass -eq
                              'msExchSystemMailbox') -or ObjectClass -eq 'msExc
                             hDynamicDistributionList') -or ObjectClass -eq 'gr
                             oup') -or ObjectClass -eq 'publicFolder'))
LdapRecipientFilter        : (&(mailNickname=*)(|(objectClass=user)(objectClass
                             =contact)(objectClass=msExchSystemMailbox)(objectC
                             lass=msExchDynamicDistributionList)(objectClass=gr
                             oup)(objectClass=publicFolder)))
LastUpdatedRecipientFilter : (Alias -ne $null -and (((((ObjectClass -eq 'user'
                             -or ObjectClass -eq 'contact') -or ObjectClass -eq
                              'msExchSystemMailbox') -or ObjectClass -eq 'msExc
                             hDynamicDistributionList') -or ObjectClass -eq 'gr
                             oup') -or ObjectClass -eq 'publicFolder'))
RecipientFilterApplied     : True
RecipientFilterType        : Custom
ExchangeVersion            : 0.1 (8.0.535.0)

I'm not sure what I'm looking for here.
and did you run on the commands I mention before and the same problem still ??
what is the outlook client you have ?
Are the Client have any problem in downlaoding the OAB
like if you add a new user.. will it appear in the OAB in the client Side ???
Yes, I ran all the first commands you gave, and the ones from that link (except the last section). I'm using Outlook 2007 with Outlook Anywhere to test; I get 0X8004010F when I try to download the OAB.

Also noticed that this folder is empty; it should be populated:
C:\Program Files\Microsoft\Exchange Server\ExchangeOAB\19d54b61-3020-412a-91ed-c2e55dda3c01

I also tried Outlook 2003 with a direct LAN connection; get this when I try to download OAB:
"An error occurred while opening the Microsoft Exchange offline address book files on the Microsoft Exchange server"

Can't answer the last question since I don't have an OAB generated.
It looks like some of my replicas are missing:

Get-PublicFolder "\NON_IPM_SUBTREE\OFFLINE ADDRESS BOOK" -recurse |Format-List

AgeLimit                       :
EntryId                        : 000000001A447390AA6611CD9BC800AA002FC45A030010
                                 E19F39D746AD4196D96F8D24D80B7E0000000000050000
HasSubFolders                  : True
HiddenFromAddressListsEnabled  : True
LocalReplicaAgeLimit           :
MailEnabled                    : False
MaxItemSize                    :
Name                           : OFFLINE ADDRESS BOOK
ParentPath                     : \NON_IPM_SUBTREE
PerUserReadStateEnabled        : True
PostStorageQuota               :
Replicas                       : {}
ReplicationSchedule            : {}
RetainDeletedItemsFor          :
StorageQuota                   :
UseDatabaseAgeDefaults         : True
UseDatabaseQuotaDefaults       : True
UseDatabaseReplicationSchedule : True
UseDatabaseRetentionDefaults   : True
Identity                       : \NON_IPM_SUBTREE\OFFLINE ADDRESS BOOK
IsValid                        : True
OriginatingServer              : email.company.org

AgeLimit                       :
EntryId                        : 000000001A447390AA6611CD9BC800AA002FC45A030062
                                 A80E430FB87B4B80025B9C0A021DF50000000000080000
HasSubFolders                  : True
HiddenFromAddressListsEnabled  : True
LocalReplicaAgeLimit           :
MailEnabled                    : False
MaxItemSize                    :
Name                           : /o=company/cn=addrlists/cn=oabs/cn=Defau
                                 lt Offline Address List
ParentPath                     : \NON_IPM_SUBTREE\OFFLINE ADDRESS BOOK
PerUserReadStateEnabled        : True
PostStorageQuota               :
Replicas                       : {}
ReplicationSchedule            : {}
RetainDeletedItemsFor          :
StorageQuota                   :
UseDatabaseAgeDefaults         : True
UseDatabaseQuotaDefaults       : True
UseDatabaseReplicationSchedule : True
UseDatabaseRetentionDefaults   : True
Identity                       : \NON_IPM_SUBTREE\OFFLINE ADDRESS BOOK\/o=Fraun
                                 hoferUSA/cn=addrlists/cn=oabs/cn=Default Offli
                                 ne Address List
IsValid                        : True
OriginatingServer              : email.company.org

AgeLimit                       : 30.00:00:00
EntryId                        : 000000001A447390AA6611CD9BC800AA002FC45A030058
                                 CE845B083474409AF00243FEB79943000000003AA30000
HasSubFolders                  : False
HiddenFromAddressListsEnabled  : True
LocalReplicaAgeLimit           :
MailEnabled                    : False
MaxItemSize                    :
Name                           : OAB Version 2
ParentPath                     : \NON_IPM_SUBTREE\OFFLINE ADDRESS BOOK\/o=Fraun
                                 hoferUSA/cn=addrlists/cn=oabs/cn=Default Offli
                                 ne Address List
PerUserReadStateEnabled        : True
PostStorageQuota               :
Replicas                       : {Public Folder Database}
ReplicationSchedule            : {Sun.12:00 AM-Sat.11:45 PM, Sat.11:45 PM-Sun.1
                                 2:00 AM}
RetainDeletedItemsFor          :
StorageQuota                   :
UseDatabaseAgeDefaults         : False
UseDatabaseQuotaDefaults       : True
UseDatabaseReplicationSchedule : True
UseDatabaseRetentionDefaults   : True
Identity                       : \NON_IPM_SUBTREE\OFFLINE ADDRESS BOOK\/o=Fraun
                                 hoferUSA/cn=addrlists/cn=oabs/cn=Default Offli
                                 ne Address List\OAB Version 2
IsValid                        : True
OriginatingServer              : email.company.org

AgeLimit                       : 30.00:00:00
EntryId                        : 000000001A447390AA6611CD9BC800AA002FC45A030058
                                 CE845B083474409AF00243FEB79943000000003AA40000
HasSubFolders                  : False
HiddenFromAddressListsEnabled  : True
LocalReplicaAgeLimit           :
MailEnabled                    : False
MaxItemSize                    :
Name                           : OAB Version 3a
ParentPath                     : \NON_IPM_SUBTREE\OFFLINE ADDRESS BOOK\/o=Fraun
                                 hoferUSA/cn=addrlists/cn=oabs/cn=Default Offli
                                 ne Address List
PerUserReadStateEnabled        : True
PostStorageQuota               :
Replicas                       : {Public Folder Database}
ReplicationSchedule            : {Sun.12:00 AM-Sat.11:45 PM, Sat.11:45 PM-Sun.1
                                 2:00 AM}
RetainDeletedItemsFor          :
StorageQuota                   :
UseDatabaseAgeDefaults         : False
UseDatabaseQuotaDefaults       : True
UseDatabaseReplicationSchedule : False
UseDatabaseRetentionDefaults   : True
Identity                       : \NON_IPM_SUBTREE\OFFLINE ADDRESS BOOK\/o=Fraun
                                 hoferUSA/cn=addrlists/cn=oabs/cn=Default Offli
                                 ne Address List\OAB Version 3a
IsValid                        : True
OriginatingServer              : email.company.org

AgeLimit                       : 30.00:00:00
EntryId                        : 000000001A447390AA6611CD9BC800AA002FC45A030058
                                 CE845B083474409AF00243FEB799430000000144440000
HasSubFolders                  : False
HiddenFromAddressListsEnabled  : True
LocalReplicaAgeLimit           :
MailEnabled                    : False
MaxItemSize                    :
Name                           : OAB Version 4
ParentPath                     : \NON_IPM_SUBTREE\OFFLINE ADDRESS BOOK\/o=Fraun
                                 hoferUSA/cn=addrlists/cn=oabs/cn=Default Offli
                                 ne Address List
PerUserReadStateEnabled        : True
PostStorageQuota               :
Replicas                       : {Public Folder Database}
ReplicationSchedule            : {Sun.12:00 AM-Sat.11:45 PM, Sat.11:45 PM-Sun.1
                                 2:00 AM}
RetainDeletedItemsFor          :
StorageQuota                   :
UseDatabaseAgeDefaults         : False
UseDatabaseQuotaDefaults       : True
UseDatabaseReplicationSchedule : False
UseDatabaseRetentionDefaults   : True
Identity                       : \NON_IPM_SUBTREE\OFFLINE ADDRESS BOOK\/o=Fraun
                                 hoferUSA/cn=addrlists/cn=oabs/cn=Default Offli
                                 ne Address List\OAB Version 4
IsValid                        : True
OriginatingServer              : email.company.org

AgeLimit                       :
EntryId                        : 000000001A447390AA6611CD9BC800AA002FC45A0300E9
                                 AB6BD165BEEE4FAB198D7937BEF44B0000000000080000
HasSubFolders                  : False
HiddenFromAddressListsEnabled  : True
LocalReplicaAgeLimit           :
MailEnabled                    : False
MaxItemSize                    :
Name                           : EX:/o=company/ou=Exchange Administrative
                                  Group (FYDIBOHF23SPDLT)
ParentPath                     : \NON_IPM_SUBTREE\OFFLINE ADDRESS BOOK
PerUserReadStateEnabled        : True
PostStorageQuota               :
Replicas                       : {Public Folder Database}
ReplicationSchedule            : {}
RetainDeletedItemsFor          :
StorageQuota                   :
UseDatabaseAgeDefaults         : True
UseDatabaseQuotaDefaults       : True
UseDatabaseReplicationSchedule : True
UseDatabaseRetentionDefaults   : True
Identity                       : \NON_IPM_SUBTREE\OFFLINE ADDRESS BOOK\EX:/o=Fr
                                 aunhoferUSA/ou=Exchange Administrative Group (
                                 FYDIBOHF23SPDLT)
IsValid                        : True
OriginatingServer              : email.company.org
I'm wrong, the folders that don't have replicas are just containers.
what are the folder that dont have any Replica
Forget about the last post .


Check these links
http://support.microsoft.com/kb/905813/en-us
http://support.microsoft.com/kb/312354/en-us

Open this directory using internet explorer
http://Yourdomain.local/OAB

after typing the user name and the password
what is the error you are facing ??
I tried the first link before I posted the question. If I open it in IE, I get: "The website declined to show this webpage"
Something must have kicked in during the night because this folder is now populated with files:
C:\Program Files\Microsoft\Exchange Server\ExchangeOAB\19d54b61-3020-412a-91ed-c2e55dda3c01

I can now download the OAB from Outlook with no errors. I'm not sure which step fixed it, but problem solved!