In case there's an SQL timeout exception is thrown in the SharePoint logs when certain ShareKnowledge pages are accessed, follow these steps to resolve the issue.

1. Increase the ‘Core.CommandTimeout’ value of the ShareKnowledge system property to '720'.

2. Add/change following property to the <httpRuntime /> section in the IIS site's web.config: executionTimeout = "780"

Here's the example of modified section:
<system.web>
<httpHandlers />
<customErrors mode="Off" />
<httpRuntime maxRequestLength="51200" executionTimeout = "780" />
The value of the property should be stated in seconds and larger than ‘Core.CommandTimeout’ value of the ShareKnowledge system property


3. Add/change the element <httpRuntime executionTimeout = "seconds" /> of the web.config file located in this folder C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\TEMPLATE\LAYOUTS

Here's the example of modified section:
<system.web>
<compilation batch="false" batchTimeout="600" maxBatchSize="10000" maxBatchGeneratedFileSize="10000" />
<customErrors mode="On" />
<httpRuntime executionTimeout="780" />
<globalization fileEncoding="utf-8" />
</system.web>