Microsoft KB Archive/318237

= You cannot generate an offline address list and an event ID 9126 error message is logged =

Article ID: 318237

Article Last Modified on 12/3/2007

-

APPLIES TO


 * Microsoft Exchange Server 2003 Enterprise Edition
 * Microsoft Exchange Server 2003 Standard Edition
 * Microsoft Exchange 2000 Server Standard Edition
 * Microsoft Windows Small Business Server 2003 Premium Edition
 * Microsoft Windows Small Business Server 2003 Standard Edition

-



This article was previously published under Q318237



SYMPTOMS
If you try to generate an offline address list from the global address list or any other address list that has been created, the offline address list may not be generated on the Exchange server. An event ID 9126 error message may be logged that is similar to:

Event Type: Error

Event Source: MSExchangeSA

Event ID: 9126

Description:

OALGen encountered error [0x80004005] while calculating this OAL. This OAL will not be available for client download. (\Global Address List)

Note The following event ID 9108 informational message is logged immediately before the event ID 9126 error message:

Event Type: Information

Event Source: MSExchangeSA

Event ID: 9108

Description:

Offline Address List is being generated for \Global Address List.



CAUSE
There are several causes for this issue. These causes include:  Exchange cannot find details, address, or display templates because of an incorrect legacyExchangeDN value. During an unsuccessful installation of or removal of Exchange, orphaned Display-Templates were left in the following container:

CN=LostAndFoundConfig,CN=Configuration,DC=Domain,DC=com





RESOLUTION
To resolve this issue:  Look for orphaned Display-Templates. To do so, you have to use ADSI Edit.

Warning If you use the ADSI Edit snap-in, the LDP utility, or any other LDAP version 3 client, and you incorrectly modify the attributes of Active Directory objects, you can cause serious problems. These problems may require you to reinstall Microsoft Windows 2000 Server, Microsoft Windows Server 2003, Microsoft Exchange 2000 Server, Microsoft Exchange Server 2003, or both Windows and Exchange. Microsoft cannot guarantee that problems that occur if you incorrectly modify Active Directory object attributes can be solved. Modify these attributes at your own risk.

To look for orphaned Display-Templates:  Start ADSI Edit, and then locate the LostandFoundConfig container in the Configuration container:

CN=LostAndFoundConfig,CN=Configuration,DC=Domain,DC=com

 Right-click the orphaned Display-Template, and then click Delete.</li> After you delete these entries, use Active Directory Sites and Services to force replication throughout the domain.</li> In Exchange System Manager, right-click the Offline Address List, and then click Rebuild.</li> If you still cannot generate the offline address list, continue to step 2.</li></ol> </li> Check the legacyExchangeDN value: <ol style="list-style-type: lower-alpha;"> Start ADSI Edit, and then locate the following container:

Configuration\Services\Microsoft Exchange\ \Administrative Group\First Administrative Group\Servers\ \Microsoft System Attendant

</li> Click Microsoft System Attendant, right-click Microsoft System Attendant, and then click Properties.</li> In the Select a property to view list, locate the legacyExchangeDN attribute.</li> Start a second session of ADSI Edit, and then locate the following container:

Configuration\Services\Microsoft Exchange\ \Addressing

Under the Addressing container, there are three additional containers:  Address-Templates</li> Address-Types</li> Display-Templates</li></ul> </li> Click Address-Templates, right-click Address-Templates, and then click Properties.</li> In the Select a property to view list, locate the legacyExchangeDN attribute. Compare the value in this field to the legacyExchangeDN of the Microsoft system attendant.</li> If the organization portion (/o=<Organization>) in the legacyExchangeDN attributes do not match, modify the legacyExchangeDN attribute of the Address-Template object to set the same organization name as in the legacyExchangeDN attribute of the system attendant object. Change only the organization portion of the legacyExchangeDN attribute of the Address-Template object. Additionally, make the changes only if it is necessary. See the following example:

Incorrect Address-Template legacyExchangeDN value: /o=< >/cn=Configuration/cn=Addressing/cn=Address-Templates

Correct Address-Template legacyExchangeDN value: /o=< >/cn=Configuration/cn=Addressing/cn=Address-Templates

</li> Check the legacyExchangeDN values of the Address-Types and Display Templates. If the legacyExchangeDN values do not match, correct them.</li> <li>In Exchange System Manager, right-click the Offline Address List, and then click Rebuild.</li></ol> </li></ol>

<div class="moreinformation_section">

MORE INFORMATION
To monitor the activity that occurs when the offline address list is rebuilt, increase the diagnostic logging to maximum on the following object in the offline address list server properties:

Service: MSExchangeSA

Category: OAL Generator

Check the Application event log for events that you can use to troubleshoot issues with offline address list generation. The sequence of events in the following table occurs when you try to generate the offline address list.

<pre class="fixed_text">Source       |  Category       |  Event |  Description - MSExchangeAL |  OAL Generator  |  9106  |  Offline address list generation has been started |                |        | MSExchangeAL  |  OAL Generator  |  9117  |  OALGen successfully opened a connection to the DS which will supply the current address lists |                |        | MSExchangeAL  |  OAL Generator  |  9121  |  OALGen successfully loaded the hierarchy table for (\Global Address Lists) |                |        | MSExchangeAL  |  OAL Generator  |  9131  |  OALGen is attempting to open the public folder which stores the offline address lists |                |        | MSExchangeAL  |  OAL Generator  |  9132  |  OALGen has successfully opened the public folder which stores the offline address lists |                |        | MSExchangeAL  |  OAL Generator  |  9133  |  OALGen is attempting to create or open the sub folder 'OAB Version 2' in the OAL public folder |                |        | MSExchangeAL  |  OAL Generator  |  9134  |  OALGen successfully created or opened the sub folder 'OAB Version 2' in the OAL public folder |                |        | MSExchangeAL  |  OAL Generator  |  9122  |  OALGen successfully removed any OAL-related public folders which are no longer needed |                |        | MSExchangeAL  |  OAL Generator  |  9108  |  Offline Address List is being generated for \Global Address List |                |        | MSExchangeAL  |  OAL Generator  |  9123  |  OALGen successfully generated template files (\Global Address List) For more information about offline address list generation, click the following article number to view the article in the Microsoft Knowledge Base:

315250 Your attempt to generate an offline address list does not work and Event 9126 occurs in Exchange 2000 Server

Additional query words: reviewdocid exch2kp2w OAB XADM

Keywords: kberrmsg kbprb KB318237

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.