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.

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>