How do I – Resolve the issue where I cannot upload files to SharePoint that are larger than 50 MB through Explorer View or WebDAV

Written by Cornelius J. van Dyk on . Posted in How Do I...

Ever tried uploading a file larger than 50 MB to SharePoint and it fails, even though your file upload size limits for the SharePoint web app is set to a value larger than the default of 50 MB?  This one can be particularly annoying at times.  Under SharePoint 2010, Microsoft has made it even easier for users to connect to their SharePoint libraries via Windows Explorer.  Many users love to make use of this method, but there are some pitfalls.  Windows Explorer leverages WebDAV to access SharePoint content.  As such, it is constrained by the FileSizeLimitInBytes registry settings of the local computer’s web client properties.  If you are trying to move or copy files to a SharePoint library via Windows Explorer or Explorer view and you encounter the following error, this is probably the issue:

Cannot Copy <filename>: Cannot read from the source file or disk

To be clear, this has absolutely nothing to do with the file upload size limits that are set by your administrator for each web application within SharePoint.  This is a local client machine limitation.  To solve this, follow these steps:

  • Start REGEDIT
  • image_thumb_0D411325
  • Expand the following registry key:
  • HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WebCLient\Paramters
  • image_thumb_1_0D411325
  • Note the value of the FileSizeLimitInBytes key which should be 0x02faf080 or 50,000,000 bytes by default.
  • In the detail window on the right, right click the FileSizeLimitInBytes key.
  • On the popup menu, click “Modify”.
  • image_thumb_2_0D411325
  • Enter the new value you wish to use.  NOTE: This value is in BYTES i.e. 1024 bytes per KB and 1024 KB per MB and 1024 MB per GB.
  • The maximum value you can use is 7fffffff which represents 2147483647 bytes or 1 byte shy of 2 GB.
  • Click OK.
  • Close REGEDIT.
  • Reboot your computer.

 

To make it easier, you can simply copy the following into Notepad and save it with a .reg extension and then double click the entry to import it into your registry:

<—CUT AFTER THIS LINE—>

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\WebClient\Parameters]
“FileSizeLimitInBytes”=dword:7fffffff

<—CUT BEFORE THIS LINE—>



Cheers
C




image

Tags: , ,

Trackback from your site.

Cornelius J. van Dyk

Born and raised in South Africa during the 70's I got my start in computers when a game on my Sinclair ZX Spectrum crashed, revealing it's BASIC source code. The ZX had a whopping 48K of memory which was considered to be a lot in the Commodore Vic20 era, but more importantly, it had BASIC built into the soft touch keyboard. Teaching myself to program, I coded my first commercial program at age 15.

After graduating high school at 17, I joined the South African Air Force, graduating the Academy and becoming a Pilot with the rank of First Lieutenant by age 20. After serving my country for six years, I made my way back into computer software.

Continuing my education, I graduated Suma Cum Laude from the Computer Training Institute before joining First National Bank where my work won the Smithsonian Award for Technological Innovation in the field of Banking and Insurance. Soon I met Will Coleman from Amdahl SA, who introduced me to a little known programming language named Huron/ObjectStar. As fate would have it, this unknown language and Y2K brought me to the USA in 1998.

I got involved with SharePoint after playing around with the Beta for SharePoint Portal Server 2003. Leaving my career at Rexnord to become a consultant in 2004, I was first awarded the Microsoft Most Valuable Professional Award for SharePoint in 2005, becoming only the 9th MVP for WSS at the time. I fulfilled a life long dream by pledging allegiance to the Flag as a US citizen in 2006. I met the love of my life and became a private consultant in 2008. I was honored to receive my ninth MVP award for SharePoint Server in 2013.

Leave a comment

You must be logged in to post a comment.