"Request Timed Out" Error When You Upload A Large File To A Document Library On A SharePoint 2010/2013

To resolve this issue, use one or more of the methods, given below.

Step 1 Increase the file upload max size
  1. Go to SharePoint Central Administration.
  2. Click Application Management.
  3. Under SharePoint Web Application Management -->Application general settings.
  4. Select Web Application, which you want to change.
  5. Under Maximum upload size, type the maximum file size in megabytes, which you want and click OK. You can specify a maximum file size up to 2,047 megabytes.
Step 2 Add the executionTimeout

Open the Webconfig file from this location C:\Program Files\Common Files\Microsoft Shared\Web Server extensions\12\TEMPLATE\LAYOUTS

Select the line, given below.
  1. <location path="upload.aspx">   
  2.     <system.web>   
  3.       <httpRuntime maxRequestLength="2097151" />   
  4.     </system.web>   
  5.   </location>   
Replace the code, as given below.
  1. <location path="upload.aspx">   
  2.     <system.web>   
  3.       <httpRuntime executionTimeout="999999" maxRequestLength="2097151" />   
  4.     </system.web>   
  5.   </location>    
Open your Web Application Web.config file in Notepad.

Inetpub\wwwroot\wss\VirtualDirectories\VirtualDirectoryFolder

Chage the http run time.

<httpRuntime executionTimeout="999999" maxRequestLength="51200" />
Ebook Download
View all
Learn
View all