Webclient Service File Size limit in SharePoint

We ran into an issue with some custom code that was doing a System.IO.File.Copy from a WebDav (SharePoint) to a UNC network share. Everything was working great until the file sizes we were transferring hit approx. 47MB in size. At this point, it craps out with an error.

When you upload a large file (over 50Mb usually) to SharePoint 2010, you might get an “Error 0x800700DF: The file size exceeds the limit allowed and cannot be saved” message. Check your  current SharePoint file size upload quota and web.config settings. If the quota is not a problem, then the error is most likely caused by a local restriction set on Web Client service. By default, Web Client file size limit is set to 47Mb or so. To increase this limit:

  • Backup the Windows Registry – be cool, keep your job
  • Open Windows Registry using regedit command
  • Browse to HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesWebClientParameters
  • Right click on the FileSizeLimitInBytes and click Modify
  • Click on Decimal, and type 4294967295 and click OK
  • Restart Web Client service by typing services.msc.
This will increase the Web Client file size limit to 4Gb, which is a maximum file size you can upload using WebDAV. Please note, that this will only address Web Client service restrictions, and will not increase your SharePoint quota .. you still need to address those points approriately as per the linked MSDN blog post above.
It is also of note that the SharePoint max, cannot raise, hardcoded file size limit is 2GB, period, so raising to 4Gb is essentially overkill. 😉
p.s Don’t forget, if you want to use WebDAV effectively in SharePoint, you will need to have the Desktop Experience feature turned on in Win2k8 – you’ll run into inexplicable intermittent transfer drops otherwise.

p.p.s See my post SharePoint 2010 File Size Upload Limits – The Essential Mix for a full run down of all the file size limit jazz in SP 2010.

Error 0x800700DF, webclient, webdav

Leave a Reply

Your email address will not be published. Required fields are marked *