No ratings

Maximum request length exceeded when loading file to SharePoint

 

Maximum request length exceeded when loading file to SharePoint

This article was created in response to a support issue logged with K2. The content may include typographical errors and may be revised at any time without notice. This article is not considered official documentation for K2 software and is provided "as is" with no warranties.
LEGACY/ARCHIVED CONTENT
This article has been archived, and/or refers to legacy products, components or features. The content in this article is offered "as is" and will no longer be updated. Archived content is provided for reference purposes only. This content does not infer that the product, component or feature is supported, or that the product, component or feature will continue to function as described herein.

Objective

When attempting to upload a large (45MB) file to a SharePoint 2010 library, you may receive the following error:

 

"10702 An error occurred in the [SP Service Instance Name] Service Instance. There was an exception running the extensions specified in the config file. ---> Maximum request length exceeded."

Before You Begin

This error can be resolved by modifying the web.config file in the SharePoint server.

How-to Steps

The following steps can be performed to resolve the issue:

 

1. Navigate to [ProgramFiles]\Common Files\Microsoft Shared\Web Server Extensions\15\ISAPI on the SharePoint server
2. Make a backup copy of the web.config 
3. Add the following section in the web.config: 

 

<location path=”K2SPFiles.asmx”>
    <system.web>
        <httpRuntime maxRequestLength=”2097151″ executionTimeout=”240″ />
    </system.web>
</location> 
Labels: (2)
Version history
Last update:
‎03-15-2022 04:02 AM
Updated by:
Contributors