Maximum request length exceeded when loading file to SharePoint
kbt144813
PRODUCTObjective
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:
<system.web>
<httpRuntime maxRequestLength=”2097151″ executionTimeout=”240″ />
</system.web>
</location>