Why the error message of “request timed out” when uploading a file to a WSS 3.0 site?

The discussion below applies to the users of Apps4Rent’s Sharepoint hosted on a Hyper-V virtual dedicated server.

When you try to upload a file which is larger than 50 MB to a document library on a Windows SharePoint Services 3.0 site, you receive the following error message:

“Request timed out”

To resolve this issue, use one or more of the following methods:

  • Increase the maximum upload size for the virtual server settings in Microsoft Internet Information Services (IIS).
  • Increase the connection time-out setting in IIS.
  • Add the executionTimeout value in the Web.config file.

Increase the maximum upload size

1. Click Start, point to All Programs, point to Administrative Tools, and then click SharePoint Central Administration. Then, click Application Management.

2. Under SharePoint Web Application Management, click Web application general settings.

3. On the Web Application General Settings page, click the Web application that you want to change.

4. Under Maximum upload size, type the maximum file size in megabytes that you want, and then click OK. You can specify a maximum file size up to 2,047 megabytes.

Increase the connection time-out setting

By default, the IIS connection time-out setting is 120 seconds. To increase the connection time-out setting, follow these steps:

1. Click Start, point to All Programs, point to Administrative Tools, and then click Internet Information Services (IIS) Manager.

2. Right-click the virtual server that you want to configure, and then click Properties.

3. Click the Web Site tab. Under Connections, type the number of seconds that you want in the Connection time-out box, and then click OK

Add the executionTimeout value

1. Use Notepad to open the Web.config file.

By default, this file is in the following location:

Program FilesCommon FilesMicrosoft SharedWeb server extensions12TEMPLATELAYOUTS

2. Add the executionTimeout value that you want. For example, replace the value as follows.

Existing code

<location path=”upload.aspx”>

<system.web>

<httpRuntime maxRequestLength=”2097151″ />

</system.web>

</location>

Replacement code

<location path=”upload.aspx”>

<system.web>

<httpRuntime executionTimeout=”999999″ maxRequestLength=”2097151″ />

</system.web>

</location>

3. After you change the file, click Save on the File menu.

4. Use Notepad to open the Web application Web.config file. By default, this file is in the following folder:

InetpubwwwrootwssVirtualDirectoriesVirtualDirectoryFolder

5. Change the following line in the file.

Existing line

<httpRuntime maxRequestLength=”51200″ />

Replacement line

   <httpRuntime executionTimeout="999999" maxRequestLength="51200" />

6. After you change the file, click Save on the File menu.

7. Exit Notepad.

With the best SharePoint hosting price plans in the industry, Apps4Rent provides any sized business the power to integrate the virtual collaboration technology into their business model and streamline communications at a minimal SharePoint hosting price rate of $8.95 per month.

Related Links

Best SharePoint Hosting

Free SharePoint Hosting WSS 3.0 Templates

SharePoint Hosting Services

Hosted SharePoint Uses Benefits Features

Hosted Applications – SharePoint – Microsoft Exchange 2007

Hosted Exchange Mail Services