Maximum request length exceeded when loading file to SharePoint

  • 24 February 2022
  • 0 replies
  • 268 views

Userlevel 5
Badge +20
 

Maximum request length exceeded when loading file to SharePoint

kbt144813

PRODUCT
K2 blackpearl 4.6 to 4.7
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 FilesMicrosoft SharedWeb Server Extensions15ISAPI 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> 

0 replies

Be the first to reply!

Reply