Showing posts with label Execution Timeout. Show all posts
Showing posts with label Execution Timeout. Show all posts

Monday, January 19, 2009

Changing Execution Timeout in SharePoint

If any of the tasks that you are performing in your site takes more time than usual and if the page is timing out then one solution that you can do is to increase the execution timeout value.
To change this value you need to edit the web.config files of SharePoint and the web site.

1. Open the SharePoint web.config file located at
Drive:\Program Files\Common Files\Microsoft Shared\Web server extensions\12\TEMPLATE\LAYOUTS
(C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\LAYOUTS)
using NotePad or Visual Studio.
2. Find the section and insert executionTimeout value there as shown below. 3. Save the site config file.4. Now you need to edit the web applications' web.config file. Normally this can be found under Drive:\Inetpub\wwwroot\wss\VirtualDirectories\VirtualDirectoryFolder(C:\Inetpub\wwwroot\wss\VirtualDirectories\82)using NotePad or Visual Studio. 5. Find the line maxRequestLength and add executionTimeout in to it as shown below. 6. Save the application config file.7. Do an IIS restart and then your change will be in effect.