Applies to: Exchange Server 2010 SP3

Topic Last Modified: 2012-09-14

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.

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

Change the value of the RecipientResolutionTimeoutInSeconds property

You need to be assigned permissions before you can perform this procedure. To see what permissions you need, see the Exchange Server configuration settings entry in the Exchange and Shell Infrastructure Permissions topic.

Note:
The ASP.NET Web.config file exists in two locations. Therefore, the same procedure applies to both locations.
  1. Locate the Web.config file in the following directory:

    drive:\Program Files\Microsoft\Exchange Server\V14\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>:

    Copy Code
    <add key="RecipientResolutionTimeoutInSeconds" value="24"/>
    
    If the <appSettings> section does not exist, add the following section directly beneath the <Configuration> section:

    Copy Code
    <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\V14\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>:

    Copy Code
    <add key="RecipientResolutionTimeoutInSeconds" value="24"/>
    
    If the <appSettings> section does not exist, add the following section directly under the <Configuration> section:

    Copy Code
    <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