SharePoint 2013 – Set executionTimeout value in web.config

Standard SharePoint Timeout Values are set to 360 seconds (6 mins). But sometimes you can have a request for added timeout values. If for instance you have a need to upload large files on slow networks.

You can set individual timeouts for all SharePoint application pages under the Layouts folder. You just need to edit the web.config file which are located at: “C:\inetpub\wwwroot\wss\VirtualDirectories\[port]\web.config”

NOTE: Remember to always make a backup-copy of the web.config file before editing anything. Each time you save the web.config file, the IIS will do a reset, so be careful not to do this during opening hours.

Locate and change the following values in web.config

Or insert a new value, if you for instance need a larger timeout value on an application page, that is not listed in the web.config. For instance here is the code for the Audit log, which can time out on running a large audit report.

<location path="_layouts/Reporting.aspx">
    <system.web>
      <httpRuntime maxRequestLength="2097151" executionTimeout="3600" />
    </system.web>
  </location>
  <location path="_layouts/15/Reporting.aspx">
    <system.web>
      <httpRuntime maxRequestLength="2097151" executionTimeout="3600" />
    </system.web>
  </location>

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.