SharePoint 2010 Error: HTTP Error 400. The size of the request headers is too long

Grant Holliday’s blog

Senior Service Engineer, Microsoft Visual Studio Team Foundation Service

SharePoint 2010 Error: HTTP Error 400. The size of the request headers is too long

  • Comments 5

Recently I started seeing this error on our internal TFS SharePoint sites.  These sites use the Excel Dashboards and if I opened more than a few sites at a time, I would start getting the following popup error:

Unexpected callback response!
Error: 400 Bad Request

Bad Request - Request Too Long
HTTP Error 400. The size of the request headers is too long.

It didn’t seem to matter which browser I used or whether I ran in Private Mode (to get a clean session each time) – the result was always the same error.

The fix:

http://support.microsoft.com/kb/920862/en-us

Save this as a .reg file and run it.

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\HTTP\Parameters]
"MaxFieldLength"=dword:0000fffe
"MaxRequestBytes"=dword:0007a120

After setting the settings, you will need to restart your server so that HTTP.sys can pickup the new parameters.

  • I have a Sharepoint 2010 site where just one user is receiving the "HTTP Error 400. The size of the request headers is too long." error.  It happens in all browsers and happens across different machines when the user is logged in with his credentials.  I've cleared the users cache, opened the browser in safe mode, and he is still not able to get to the site. Any ideas?

    Additional info: User is able to hit other servers/sites without a problem.

    Any suggestions?

  • @Kathryn - see the KB support.microsoft.com/.../en-us

  • God bless you man! :) A lot was riding on me finding this page and implementing this fix!

  • I am having some issues upon installation of SharePoint 2010. After immediatly installing SP 2010 configuration wizard, It takes me to the SP Central Admin Site.  However, I get an HTTP 400 Error.  This occured after I uninstalled and reinstalled SP 2010.  Does anyone have any idea of what might be causing this?  I am running it on SQL server 2008 r2.  I have tried to uninstall and reinstall several times.  I even totally uninstalled SQL Server 2008 and all it's components, VS, and SP and reinstalled to no avail.

  • Thank you so much for such informative post.I am very happy to knew about it .keep up the interesting post...

    godwinsblog.cdtech.in/.../sharepoint-2010-root-of-certificate.html

Page 1 of 1 (5 items)