50Mb Limit on Files Sent to Content Organizer(OfficialFile.asmx)

One of the out of the box limitations in SharePoint 2010 is that the OfficialFile.asmx web sevice (http://<server>/<site>/_vti_bin/OfficialFile.asmx) only allows for files that are under 50Mb in size.  When you are sending individual files, that is not so bad, considering the default Max File Size setting on a web application is also 50Mb.  But, most people up the limit on the web application to a larger size. 

The problem is that even if you update the limit on the web application to say, 250Mb, this setting does not carry forward to the web service.  This is because the web service is not specific to the web application.  It has it own settings and lives under the 14 root (C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\ISAPI\OfficialFile.asmx), not the web application virtual directory.  To make matters worse, if you are using the new feature of “Document Sets” in SharePoint 2010, the entire document set must be under 50Mb.  This is because a document set is sent to the web service as a .ZIP file which contains metadata and all of the documents that are in the document set.

Luckily, there is a solution – and this has been approved my Microsoft Support. 

ULS Error Log Example

When you try to submit a file/document set that exceeds the limit, you will notice the following errors in your ULS:

03/27/2012 16:26:59.85        w3wp.exe (0x4700)        0x2408        SharePoint Foundation        General        f855        Monitorable        OfficialFile::SubmitFile: Encountered error when sending file http://server/sites/sitename/Library/DocSetName.zip to http://server/sites/sitename/_vti_bin/OfficialFile.asmx: There was an exception running the extensions specified in the config file. —> Maximum request length exceeded.        

03/27/2012 16:26:59.85        w3wp.exe (0x4700)        0x2408        SharePoint Foundation        General        7022        Critical        The http://server/sites/sitename/_vti_bin/OfficialFile.asmx site is not properly configured for this request.       



  1. Make sure that you have set the max file size on the web application
    1. Central Admin –> Manage Web Applications –> Select the Web Application –> General Settings –> Maximum Upload Size
  2. Open the following file and edit on each SharePoint server:
    1. C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\ISAPI\web.config
    2. Add the following section, then save and close

<location path=”OfficialFile.asmx”>
        <httpRuntime maxRequestLength=”2097151″ executionTimeout=”240″ />


8 thoughts on “50Mb Limit on Files Sent to Content Organizer(OfficialFile.asmx)

  1. Albert

    Hi dan. I’ve tried your solition but to no avail. I have also installed the hotfix from microsoft solving the 50mb limit. Where in the web.config should i add these lines and do you have any more suggestions? Kind regard, albert

  2. Kevin

    This worked for – after I had to fix the code above. I don’t know if your blog allows it, but you should post this as plain text or in a code block.

    Replace the ” and ″ with “

  3. Pingback: SharePoint 2010 + DocumentSets + OfficialFile.asmx max file size « Thornton Technical

  4. ewok66429

    Thank you – this fixed my issue in SharePoint 2013 as well – just change the “14” in the file path to “15” – I could not find this documented anywhere else.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s