How to Modify the Time Limit for Autodiscover Operations

Microsoft Exchange Server 2007 will reach end of support on April 11, 2017. To stay supported, you will need to upgrade. For more information, see Resources to help you upgrade your Office 2007 servers and clients.

 

This topic explains how to use Notepad to edit the ASP.NET Web.config file to change the value of the RecipientResolutionTimeoutInSeconds property.

The Cross-Forest Availability service has a time limit for performing an AutoDiscover operation for cross-forest users in the Active Directory directory service. By default, the time-out value is 10 seconds. If the Autodiscover request does not finish in 10 seconds, the Availability service request for the cross-forest user may time out.

To control the time-out value, use the RecipientResolutionTimeoutInSeconds property. The RecipientResolutionTimeoutInSeconds property is set in the ASP.NET Web.config file. The ASP.NET Web.config file exists in two locations.

Warning

We recommend that you set this property to a value of no more than 25 seconds.

Before You Begin

To perform this procedure, the account you use must be delegated membership in the local Administrators group.

For more information about permissions, delegating roles, and the rights that are required to administer Exchange Server 2007, see Permission Considerations.

Procedure

Change the value of the RecipientResolutionTimeoutInSeconds property

  1. Locate the Web.config file in the following directory:

    *drive:*Program Files\Microsoft\Exchange Server\ClientAccess\exchweb\ews\web.config

  2. Copy the existing Web.config file, and then rename the copy file Web.config.bak1.

  3. Open the Web.config file in Notepad.

  4. Look for a section that is named <appSettings>. If <appSettings> exists, add the following entry to this section between <appSettings> and </appSettings>:

    <add key="RecipientResolutionTimeoutInSeconds" value="24"/>
    

    If the <appSettings> section does not exist, add the following section directly beneath the <Configuration> section:

    <appSettings>
         <add key="RecipientResolutionTimeoutInSeconds" value="24"/>
    </appSettings>
    

    Important

    • This entry is case-sensitive, and must be entered exactly as shown. However, you can change the value from 24 to the value that you want to use. We recommend that you set the value for this property to between 20 and 24 seconds.

    • Do not add this section under any other section of the Web.config file. If the new section does not immediately follow <Configuration>, it will not work.

  5. Save the Web.config file.

  6. Locate the Web.config file in the following directory:

    *drive:*Program Files\Microsoft\Exchange Server\ClientAccess\Owa\web.config

  7. Copy the existing Web.config file, and then rename the copy file Web.config.bak1.

  8. Open the Web.config file in Notepad.

  9. Look for a section that is named <appSettings>. If <appSettings> exists, add the following entry to this section between <appSettings> and </appSettings>:

    <add key="RecipientResolutionTimeoutInSeconds" value="24"/>
    

    If the <appSettings> section does not exist, add the following section directly beneath the <Configuration> section:

    <appSettings>
         <add key="RecipientResolutionTimeoutInSeconds" value="24"/>
    </appSettings>
    

    Important

    • This entry is case-sensitive, and must be entered exactly as shown. However, you can change the value from 24 to the value that you want to use. We recommend that you set the value for this property to between 20 and 24 seconds.

    • Do not add this section under any other section of the Web.config file. If the new section does not immediately follow <Configuration>, it will not work.

  10. Save the Web.config file.

For More Information

How to Configure the Availability Service for Cross-Forest Topologies