Equisys technical notes

Technical guidance, explanations and fixes for our products

HOWTO: Increase the file size limit of documents uploaded to SharePoint.

Print

ZTN4215

ID: ZTN4215

This Zetadocs technical note applies to:

  • Zetadocs Express & Version 5 of Zetadocs for NAV
  • SharePoint 2010 on-premise

Summary

This technical note will guide you through the process of changing the file size limit that is applied to documents uploaded to SharePoint, using the Zetadocs drag & drop and document queue functionality.

Please note: Updated releases of Zetadocs Express and version 5.5 of Zetadocs for NAV are available which resolve this issue and grant you uploads of up to 100Mb. It is recommended that you update to the latest version to gain access to this and many other benefits it includes. Should you not be in a position to carry out the update, please follow the steps below to increase the upload file size limit.

More information

The SharePoint Client Object Model (CSOM) limits the upload file size to 3MB at it uses the default SharePoint request message size. This limit can be altered but requires administrator privileges.

Note: If you are using SharePoint online, the upload file size limit cannot be changed.

To increase the upload file size limit follow these steps:

  1. Log into SharePoint 2010 server with administrator privileges.
  2. Open the ‘SharePoint 2010 Management Shell’.
  3. Run the following script:
  4. [Microsoft.SharePoint.Administration.SPWebService]::ContentService.ClientRequestServiceSettings.MaxReceivedMessageSize = 52428800
    [Microsoft.SharePoint.Administration.SPWebService]::ContentService.Update()

    The above will increase the default upload file size limit from 3MB to 50MB. You can set the MaxReceivedMessageSize in the above script as required.

  5. Perform an IIS reset.

If uploading very large files then in addition to the above you may need to follow steps in ZTN4079 to ensure Zetadocs does not time-out during the upload of documents to SharePoint.

References

ZTN4079 – PRB: Uploading of documents times out when archiving to SharePoint

Last updated: 31st July 2013 (JW/MW)

EquisysLogo
 

Recent news

This article describes the new features and other improvements in the November 2019 release of the Zetadocs Expenses service. Zetadocs Expenses Release ...

This article describes the new features and other improvements in the October 2019 release of the Zetadocs Expenses service. Zetadocs Expenses Release date and version ...