The Outlook Web Access search function does not work for some users in Exchange 2007


In Microsoft Exchange Server 2007, the Microsoft Office Outlook Web Access search function does not work for some of users. These users receive the following error message when they perform a search in Outlook Web Access:
Search results may take a long time to appear because Microsoft Exchange Search is unavailable. Results will not include matches in the e-mail body.
If you run the test-exchangesearch command, you receive the following output.
[PS] >test-exchangesearch username |fl
ResultFound : False
SearchTime : -1
Note This issue does not appear to affect newly created mailboxes.


This issue occurs because the full-text index catalog is corrupted.


To resolve this issue, rebuild the full-text index catalog. To do this, follow these steps:
  1. Open the Exchange Management Shell.
  2. Run the following script to remove the index directories that are associated with specified mailbox databases.
    ResetSearchIndex.ps1 [-force]
Note The ResetSearchIndex.ps1 script is located in the <drive>:\Program Files\Microsoft\Exchange Server\Scripts folder. The script deletes the CatalogData-<guid of database> folder and its contents. When you restart the MSExchangeSearch service, the CatalogData-<guid of database> is recreated. Also, a full database crawl is started.

Article ID: 945077 - Last Review: Dec 4, 2007 - Revision: 1