Wednesday, September 2, 2009

SharePoint Maximum File Upload Size

SharePoint 2007 by default allows a maximum file size of 50MB that can be uploaded into any document library. This might be too much as you might not want users downloading 50MB files over your LAN/WAN. To change the maximum file size, here is the approach:

Increase the maximum upload size:
  • Click Start, point to All Programs, point to Administrative Tools, and then click SharePoint Central Administration.
  • Under Virtual Server Configuration, click Configure virtual server settings. On the Virtual Server List page, click the virtual server that you want to change.
  • On the Virtual Server Settings page, under Virtual Server Management, click Virtual server general settings.
  • 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.

If you increase the file size limit, your site might occassionally time out for users while they are uploading files. To accomodate this increase the default time out property for IIS. Here are the steps to increase the connection time-out settings:

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:

  • Click Start, point to All Programs, point to Administrative Tools, and then click Internet Information Services (IIS) Manager.
  • Right-click the virtual server that you want to configure, and then click Properties.
  • 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.

No comments: