Skip to content
  • There are no suggestions because the search field is empty.

AppEnhancer - Maximum request length exceeded

Request Entity Too Large. Maximum Request length exceeded.

Applies to Versions:
All

Summary:
Uploading documents that are too large needs to have some changes made to the web.config and IIS.

 

Modify web.config:
1. Open the C:\inetpub\wwwroot\Appxtender OR AppEnhancer\ and make a backup copy of the web.config file. (For AppEnhancerReST too)

1a. Then open the Web.config file.

2. Find the following section: <httpRuntime targetFramework="4.5" executionTimeout="600" maxRequestLength="10240"  requestValidationMode="2.0" />
  2a. (change 10240 to 1048576)

3.  Find the following section: <requestLimits maxAllowedContentLength="50485760" />
  3a. (Change 50485760 to 2147483647)

 

Modify the site in IIS:
1.  Open IIS manager.

2.  Expand "Server name > Sites > Default web Site" and select Appxtender OR AppEnhancer. (if this does not work, try "ServerName > AppXtender >

3.  In the middle of the page, open "Request Filtering".

4.  On the right side of the page, select "Edit Feature Settings".

5.  Under the Request Limits section, change the "Maximum allowed content length (Bytes)" to the same size specified in the previous steps (BUT convert this value to bytes instead of kilobytes).  For example, 1000000000 bytes = 1 Gb. (Use 2147483647 Bytes.)

Click OK to save the changes.