Error message seen when attempting to run a Search:

Server Error in '/EnterpriseVault/Search' Application.
Runtime Error
Error message seen when attempting to restore an item:

Could not process the selected items.
Reason: The web server is available, but is not correctly configured for Enterprise Vault.
A client trace may show the following:
Failed to contact the EV web server using any of the available URLs
HTTP request error: 371 (404)
HTTP request error. The web server is available, but is not correctly configured for Enterprise Vault. 404 Not Found
The issue is caused by one or more missing EV Search components from the EVS website. These components can be viewed in IIS and should include the following at a minimum:
Application Pools with associated applications:
EnterpriseVaultAPI - /EnterpriseVaultAPI, /EnterpriseVaultAPI/Search.
EnterpriseVaultAPI32 - /EnterpriseVaultAPI/Search32.
EnterpriseVaultAppPool - /EnterpriseVault
EVOnlineWebSearch - /EnterpriseVault/Search
Sites under the Default Web Site:
Enterprise Vault
EnterpriseVaultAPI
Note that additional EV features and /or components that are installed may add their own IIS components and/or add to the existing Application Pools' associated applications. Examples include Auditing, Monitoring, Domino, FSA and Information Classifier.
To reinstall the missing IIS components:
1. Log on to the EV server as the Vault Service Account (VSA).
2. Open an administrative/elevated command prompt. To open an administrative/elevated command prompt, click Start, right-click Command Prompt, and then click Run as administrator.
3. Navigate to the EV installation directory.
4. Execute the following commands as needed:
4.1. To re-add the EV components:
Configuration.exe ConfigureWebApps install
4.2. To re-add the EV Search components:
Configuration.exe ConfigureOnlineWebSearch install
Note - If the following error is seen, this indicates the web.config file has the Read-Only attribute enabled. This attribute must be disabled for the commands to be effective.
Exception Message: Filename: \\?\C:\inetpub\wwwroot\web.config
Error: Cannot write configuration file due to insufficient permissions
5. Execute the command IISRESET.exe, or restart the IIS Services.