When an HTTP Error occursCodeThe value 400 indicates that the request initiated by the client does not comply with the server's restrictions on the request, or the request itself has certain errors.
You can use fiddler2 to check whether the request length exceeds the default length of maxrequestbytes by 16384.
The IIS Error Log also shows
C: \ windows \ system32 \ logfiles \ httperr \ httperr1.log Error
05:33:00 10.13.64.91 12433 10.14.12.25 80 HTTP/1.1 get/workspace/navigation. aspx 400-requestlength-
05:33:16 10.13.64.91 12433 10.14.12.25 80---timer_minbytespersecond-
05:36:36 10.13.64.91 12516 10.14.12.25 80 HTTP/1.1 get/workspace/navigation. aspx 400-requestlength-
05:36:39 10.13.64.91 12518 10.14.12.25 80 HTTP/1.1 get/workspace/navigation. aspx 400-requestlength-
The solution is to change the registry.
HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Services \ HTTP \ Parameters
Maxfieldlength = 65534 and maxrequestbytes = 65534
For more information about the parameters, see http. sys registry settings for IIS.
1. Run the following command to restart the system HTTP service (administrator privilege required)
Net stop HTTP
Net start HTTP
2. Run the following command to restart the IIS service.
Iisreset
ReferenceArticle:
HTTP 400 Error reproduction experiment and Solution
Fixing 400 requestlength issue in SharePoint and IIS