Modify the MaxFieldLength and MaxRequestBytes to Completely Solve the Error "Request Too Long"
When The iis 6 or iis 7 or iis 7.5 received the request header more than 16k of the length(default), it will lead to the error of "Bad Request - Request Too Long. The HTTP Error 400. The size of The Request headers is Too Long."
According to the IIS official BBS posts (HTTP 400 Error. The size of The request headers is too long),The lenth of 16 k request header was limited by the two parameters MaxFieldLength (request) and MaxRequestBytes (request head and body) in the registry (HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\\HTTP Parameters).So,we must do something on the two parameters . Read more