PVWA: The page was not displayed because the request entity is too large
Symptom
When performing certain tasks an error stating: The page was not displayed because the request entity is too large
These include:
1. Searching an account.
2. Doing a blank search and hitting enter.
3. When a password change going on in an account and the account is refreshed manually
Environment
10.5;10.10;11.3;11.4;11.5;11.6;11.7;12.0;12.1;12.2;12.6;13.0 Privileged Access Manager (PAM, self-hosted) Password Vault Web Access PVWA
Cause
If client certificates are enabled on a Web server, Web site, or on individual directories or files on the site, clients might see an HTTP 413 error when uploading large files.
If a client sends a long HTTP request, for example, a POST request the IIS worker process might receive enough data to parse request headers, but not receive the entire request entity body. When the IIS worker process detects that client certificates are required to return data to the client, IIS attempts to renegotiate the client connection. However, the client cannot renegotiate the connection because it is waiting to send the remaining request data to IIS.
Resolution
Backup 'applicationHost.config' (default location is at 'C:\Windows\System32\inetsrv\config')
Open command prompt as an administrator user (right click it and choose 'Run as Administrator')
Navigate to 'appcmd.exe' location (default is 'C:\Windows\System32\inetsrv')
Execute the command:
appcmd.exe set config -section:system.webserver/serverruntime /uploadreadaheadsize:1048576 /commit:apphost
Restart IIS for changes to apply
Additional Information
Details
SYMPTOM:If client certificates are enabled on a Web server, Web site, or on individual directories or files on the site, clients might see an HTTP 413 error when uploading large files.
If a client sends a long HTTP request, for example, a POST request the IIS worker process might receive enough data to parse request headers, but not receive the entire request entity body. When the IIS worker process detects that client certificates are required to return data to the client, IIS attempts to renegotiate the client connection. However, the client cannot renegotiate the connection because it is waiting to send the remaining request data to IIS.
SOLUTION:
- Backup 'applicationHost.config' (default location is at 'C:\Windows\System32\inetsrv\config')
- Open command prompt as an administrator user (right click it and choose 'Run as Administrator')
- Navigate to 'appcmd.exe' location (default is 'C:\Windows\System32\inetsrv')
- Execute the command:
appcmd.exe set config -section:system.webserver/serverruntime /uploadreadaheadsize:1048576 /commit:apphost - Restart IIS for changes to apply