"Search Vault" button (searcho2k.asp) or "View Original Item" generates error 400 Bad Request

book

Article ID: 100021674

calendar_today

Updated On:

Description

Error Message

400 Bad Request

Cause

There can be a Kerberos authentication timeout issue when Internet Information Systems 7 (IIS7) authenticates users that are members of many groups. When a 400 bad request is logged on an IIS server, an error code is created and placed in the httperr#.log file. This file gives the error code value to adjust in the http.sys to remedy the error.
 

Resolution

The MaxRequestByes and MaxFieldLength registry keys will need to be added and set with a value higher than the default of 16384 to allow for increased size in header request.
 
1. On the Enterprise Vault server, open a registry editor, such as Regedit.exe or Regedt32.exe.
 
2. Navigate to: HKey_Local_Machine\System\CurrentControlSet\Services\HTTP\Parameters.
 
3. Right-click Parameters, select New | DWORD value, and then enter name the value MaxFieldLength, then press the Enter key.
 
4. Right-click Parameters, select New | DWORD value, and then name the value MaxRequestBytes, then press the Enter key.
 
5. In the right pane, double-click MaxFieldLength, and then set its value to 32768 (decimal).
 
6. In the right pane, double-click MaxRequestBytes, and then set its value to 32768 (decimal).
 
Note: These are maximum values and could be lowered depending on number of group memberships and size of the header.
 
7. Close the registry editor and restart the IIS Admin service for the changes to take effect.
 
 
For more information refer to Microsoft Knowledge Base articles below:

 

Warning: Incorrect use of the Windows registry editor may prevent the operating system from functioning properly. Great care should be taken when making changes to a Windows registry. Registry modifications should only be carried-out by persons experienced in the use of the registry editor application. It is recommended that a complete backup of the registry and workstation be made prior to making any registry changes.

 

Issue/Introduction

When clicking on the Search Vault button within Outlook, the error below will be displayed. This also has been seen when choosing the View Original Item button within the Search feature.