A query times out if it takes more than 10 seconds to return the search results in SharePoint Server 2010, Search Server 2010, or in SharePoint Foundation 2010

Article translations Article translations
Article ID: 2537539 - View products that this article applies to.
Expand all | Collapse all

SYMPTOMS

Assume that you run a query that uses the Search Web service in Microsoft SharePoint Server 2010, Search Server 2010, or in SharePoint Foundation 2010. In this situation, the query times out if it takes more than 10 seconds to return the search results. Additionally, the 10 second time-out value cannot be changed. 

RESOLUTION

For SharePoint Server 2010 or Search Server 2010, apply the following update:  
2536588 Description of the SharePoint Server 2010 hotfix package (osrchwfe-x-none.msp): June 28, 2011

For SharePoint Foundation 2010, apply the following update: 
2536591 Description of the SharePoint Foundation 2010 hotfix package (sts-x-none.msp): June 30, 2011

Note You can change the time-out value in the registry after you apply the update.

Registry key information

Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:
322756 How to back up and restore the registry in Windows
To set the time-out value after you install the hotfix package, use one of the following methods, as appropriate for your situation.

For SharePoint Server 2010 or for Search Server 2010, follow these steps:
  1. Click Start, click Run, type regedit in the Open box, and then click OK.
  2. Locate and then select the following registry subkey:
    HKEY_LOCAL_MACHINE\Software\Microsoft\Office Server\14.0
  3. On the Edit menu, point to New, and then click DWORD (32-bit) Value.
  4. Type SearchWebServiceTimeoutInMilliSeconds, and then press ENTER.
  5. Double-click SearchWebServiceTimeoutInMilliSeconds.
  6. In the Valuedata box, type <Time-out Value in Milliseconds>, and then click OK.
  7. Exit Registry Editor.
Note You have to restart Internet Information Services (IIS) after you change the time-out value.

For SharePoint Foundation 2010, follow these steps:
  1. Click Start, click Run, type regedit in the Open box, and then click OK.
  2. Locate and then select the following registry subkey:
    HKEY_LOCAL_MACHINE\Software\Microsoft\Shared Tools\Web Server Extensions\14.0
  3. On the Edit menu, point to New, and then click DWORD (32-bit) Value.
  4. Type SearchWebServiceTimeoutInMilliSeconds, and then press ENTER.
  5. Double-click SearchWebServiceTimeoutInMilliSeconds.
  6. In the Valuedata box, type <Time-out Value in Milliseconds>, and then click OK.
  7. Exit Registry Editor.
Note You have to restart IIS after you change the time-out value.

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

Properties

Article ID: 2537539 - Last Review: July 27, 2011 - Revision: 1.0
APPLIES TO
  • Microsoft SharePoint Server 2010
  • Microsoft SharePoint Foundation 2010
  • Microsoft Search Server 2010
Keywords: 
kbqfe kbsurveynew kbexpertisebeginner KB2537539

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com