locked
what is the maximum size allowed for uploading files in sharepoint 2007 site RRS feed

  • Question

  • Hi,

    I am user with contributor access.

    I need the disk space of 2 GB to upload a document, is it possible?

    Thanks in advance.

    Regard,

    Jayashri

    • Moved by Mike Walsh FIN Tuesday, April 5, 2011 11:57 AM not programming (From:SharePoint - Development and Programming (pre-SharePoint 2010))
    Tuesday, April 5, 2011 11:53 AM

Answers

  • Hi jayashri,

    Configuring Large File Support

    Ref: http://office.microsoft.com/en-us/technet/installing-and-using-service-packs-for-windows-sharepoint-services-HA001160788.aspx?redir=0 

    The biggest change included in Windows SharePoint Services SP1 is the support for uploading large files. By default, the maximum size for uploading files is set to 50 MB. If you need to be able to upload larger files (such as when you use smigrate.exe to migrate a site between servers), you can change this setting to any value up to 2 GB (2047 MB).

    To configure large file support you must increase the default upload size in SharePoint Central Administration. You may also need to perform the following additional actions (depending on your hardware configuration):

    • Tune the Microsoft Internet Information Services (IIS) connection timeout setting.

    The default timeout for connections in IIS is 120 seconds (2 minutes). Depending on your maximum file size and how long it takes for the file to be uploaded, you may not need to change this setting. If, however, IIS is timing out when you upload large files, you can change this property to ensure that larger files can be uploaded successfully.

    • Increase the default chunk size for large files.

    The large-file-chunk-size property sets the amount of data that can be read from server running SQL Server at one time. If you have a file that is greater than your chunk size (such as 70 MB when the chunk size is set to 5 MB), the file would be read in 14 chunks (70 / 5). The chunk size is not related to the maximum upload file size. The chunk size simply specifies the amount of data that can be read from a file at one time. By default, the large-file-chunk-size property is set to 5 MB. If you notice performance or scale problems on the client or server, then you may need to tune this setting to get the performance you are targeting. Note that if you raise the chunk size too high, the files might use up too much front-end memory and you may need to lower this setting.

    • Increase the maximum size limit for Web Parts.

    By default, the maximum size limit for a Web Part is 1 MB. If you need to accomodate large Web Parts, you can change this setting in the web.config file for your server or servers running Windows SharePoint Services.

    Increase the maximum upload size
    1. Click Start, point to All Programs, point to Administrative Tools, and then click SharePoint Central Administration.
    2. Under Virtual Server Configuration, click Configure virtual server settings.
    3. On the Virtual Server List page, click the virtual server you want to change.
    4. On the Virtual Server Settings page, under Virtual Server Management, click Virtual server general settings.
    5. Under Maximum upload size, type the maximum file size (in MB) that you want to allow to be uploaded.
    6. Click OK.

    If IIS is timing out when you upload large files, you can configure the Connection timeout setting in IIS to allow more than the default 120 seconds (2 minutes).

    Tune the IIS connection timeout
    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 you want to configure, and then click Properties.
    3. Click the Web Site tab.
    4. In the Connections section, in the Connection timeout box, type the number of seconds you want IIS to wait before timing out.
    5. Click OK.
    Increase the default chunk size for large files

    The large–file–chunk–size property must be set from the command line. This property is configured for a server or server farm, and cannot be configured for an individual virtual server. To set this property, use the following syntax:

    Stsadm.exe –o setproperty –pn large–file–chunk–size –pv <size in bytes>.

    After making a change to this property, you must restart IIS. You can restart IIS by typing iisreset on the command line.

    Increase the maximum limit for Web Parts

    This change is required only when working with large Web Parts. The maximum limit for Web Parts is set to 1048576 bytes by default.

    1. On your server computer running Windows SharePoint Services, open Notepad.
    2. In Notepad, navigate to the %HomeDrive%\Inetpub\wwwroot folder and open the web.config file.
    3. Locate the PropertySize attribute in the configuration\SharePoint\WebPartLimits element.
    4. Change the PropertySize attribute to the maximum size you need.
    5. Save and close the web.config file.

    Large file support limitations

    The following features do not support files larger than 50 MB:

    • Virus checking.
    • Picture libraries.
    • Streaming files.
    • Client-side restoration of smigrate backup files (limited to 2 GB). The manifest files for an smigrate backup cannot be larger than 2 GB.
    • Site templates (limit of 10 MB per site template, including content).

    Also check with the below knowledge base articles

    http://support.microsoft.com/kb/925083 and http://support.microsoft.com/kb/944981 

    Regards,

    Raj

    • Edited by Veera Raj Tuesday, April 5, 2011 12:49 PM
    • Marked as answer by David HM Monday, April 11, 2011 3:58 AM
    Tuesday, April 5, 2011 12:47 PM