Link Search Timeout Error

  • Updated

When attempting to run a link search in the workarea the following error message is thrown.

[iSearch.asx.vb->Postback_DoFindContent] [EkContent->SearchAssets] 
Timeout expired. The timeout period elapsed prior to completion of the 
operation or the server is not responding. 

When there is excessive content and or aliases within the CMS the link sarch functionality can experience time outs.

To get the errors to resolve the error message increase the 'SqlCommandTimeoutSeconds' field within the web.config file and add an 'executionTimeout' value into the 'httpRuntime' tag of the min site's web.config file. The exact values needed to resolve the issue will depend on a number of factors including system specifications and content, so some testing of values may need to be done to find the exact value that works best on a particular site. Below is a sample of both the default values as well as the values that have worked for some customers in previous instances.

Default Values:

<httpRuntime maxRequestLength="2097151" requestLengthDiskThreshold="2097151" requestValidationMode="2.0" maxUrlLength="1024" relaxedUrlToFileSystemMapping="true" />
...
<add key="SqlCommandTimeoutSeconds" value="30" />

Updated Values:

<httpRuntime executionTimeout="300" maxRequestLength="2097151" requestLengthDiskThreshold="2097151" requestValidationMode="2.0" maxUrlLength="1024" relaxedUrlToFileSystemMapping="true" />
...
<add key="SqlCommandTimeoutSeconds" value="60" />