Symptoms
Plesk is running on Windows 2008. When you try to upload a file with a large size, Plesk Panel shows this error:
HTTP Error 404.13 – Not Found
The request filtering module is configured to deny a request that exceeds the request content length.
Cause
This problem occurs because the client request contains a Content-Length header that is larger than the value that is specified for this header in the maxAllowedContentLength property in the ApplicationHost.config file. This is a security feature. Do not change this feature unless the scope of the change is fully understood. You can configure the IIS 7.0 server to reject requests whose content length is greater than a specified value. If the request’s content length is greater than the configured length, this error is returned.
By default, the value of the maxAllowedContentLengthproperty is 30000000.
Resolution
If the content length requires an increase, modify the configuration/system.webServer/security/requestFiltering/requestLimits@maxAllowedContentLength setting for Plesk Control Panel. You can do it using this command:
%windir%\system32\inetsrv\appcmd set config “PleskControlPanel/” -section:requestFiltering -requestLimits.maxAllowedContentLength:104857600
This command sets maxAllowedContentLength to 100MB, though you can set any other value for maxAllowedContentLength.
Please note that the maximum file size which can be uploaded anywhere through IIS is 2GB (maxAllowedContentLength = 2147483647). maxAllowedContentLength is already set to this value in Parallels Plesk Panel 10.4.4 (in the case of a clean installation).
Please use another way to upload a file to the server if its size is more than 2GB (for example, FTP). If it is a backup file, you can use the following command to upload a local file into the Panel backup repository:
"%plesk_bin%\pmm-ras.exe" --import-file-as-dump --dump-file-specification="C:\backup.file"