To resolve this issue, use one or more of the methods, given below.
Step 1 Increase the file upload max size
- Go to SharePoint Central Administration.
- Click Application Management.
- Under SharePoint Web Application Management -->Application general settings.
- Select Web Application, which you want to change.
- 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.
- <location path="upload.aspx">
- <system.web>
- <httpRuntime maxRequestLength="2097151" />
- </system.web>
- </location>
Replace the code, as given below.
- <location path="upload.aspx">
- <system.web>
- <httpRuntime executionTimeout="999999" maxRequestLength="2097151" />
- </system.web>
- </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" />