Unable to Upload Large Files to SharePoint 2013

can not upload large file to sharepoint

I am sure most of us might have experienced this issue “can’t upload large files to SharePoint”. By default, the maximum size for uploading files is set to 250 MB. The maximum file size that it can go up to is 2,047 megabytes. If the file size is greater than 2 GB you will see the one of the below errors:

1. “An unexpected error has occurred”
2. “The page cannot be displayed”
3. “An unknown error occurred”
4. “HTTP 404 – Page Not Found”
5. “Request timed Out’

In fact some time the user might see one these error even if the file size is only 500 MB. This can occur due to various reasons now I would like to discuss few cases with the solutions for each.

Note: File size parameter/property is at web application level, as per Microsoft best practices it is strongly recommended not to increase the size because it will impact the performance of that web application.

Case I: Maximum upload size for web application is less than the file size:

As discussed just before the default file size of a web application is 250 MB. Increase the file size for the required web application by following the below steps.
1. Log on to application server with FARM administrator account
2. Click on Manage web application under Web applications in Central Admin
Central Administration -> Application Management -> Manage web application

upload large file to sharepoint online
upload large file to sharepoint online

3. It will list all the Web Applications in the FARM
4. Select the web application in which you want to increase the file size and click on General setting from ribbon control

upload large file to sharepoint 2013
upload large file to sharepoint 2013

5. It will show all the General Settings of the web Application like Default Quota Template, Alerts, RSS settings, Recycle Bin settings of web application and Maximum upload size limit
6. You should be able to see as below by default

upload large file to sharepoint 2016
upload large file to sharepoint 2016

7. Now change it to 2047 MB to support files up to 2GB and click ok

Read some SharePoint 2013 tutorials on:

Case II: Increase the connection time-out settings in IIS:

While uploading large files, there are chances that the request will timeout. By default, the IIS connection time-out setting is 120 seconds. Follow these steps to increase the connection time-out setting,

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.

unable to upload large file to sharepoint
unable to upload large file to sharepoint
can not upload large file to sharepoint
can not upload large file to sharepoint

Case III: 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.
– Check if the ‘large-file-chunk-size’ property is set or not

Stsadm -o getproperty -propertyname large-file-chunk-size

–  In order to set the large–file–chunk–size property, we need to use the command line. This property is configured for a server or server farm, and cannot be configured for an individual web app server. To set this property, use the following syntax:

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


More on this command is available at Large-file-chunk-size: Stsadm property (Office SharePoint Server)
–  After making a change to this property, perform an IISreset /noforce.

Tags: upload large file to sharepoint online, upload large file to sharepoint 2013, upload large file to sharepoint 2016, unable to upload large file to sharepoint, unable to upload large file to sharepoint 2013, can not upload large file to sharepoint, can not upload large file to sharepoint 2013, an unexpected error has occurred in sharepoint 2013, the page cannot be displayed in sharepoint 2013, the webpage cannot be found http 404 sharepoint 2013, request timed out sharepoint 2013


You May Also like the Following SharePoint Online Tutorials:

About Krishna Vandanapu

I am Krishna.Vandanapu a SharePoint architect working in IT from last 12 years, I worked in SharePoint 2007, 2010, 2013, 2016 and Office 365. I have extensive hands on experience in customizing SharePoint sites from end to end. Expertise in SharePoint migration tools like Sharegate, Doc Ave and Metalogix. Migrated SharePoint sites from SharePoint 2007 to 2010 and 2010 to 2013 several times seamlessly. Implementing CSOM with Microsoft best practices. Spent quality time in configuring SharePoint application services like User Profile, Search, Managed Meta data services etc. Now exploring SharePoint Framework and SharePoint 2019

View all posts by Krishna Vandanapu →