Exchange: Searching via OWA or Outlook Online Mode Fails

Sometimes, you may find that performing a search via Outlook Web App (OWA) results in an error message, “The action couldn’t be completed. Try again later.” Additionally, Outlook clients operating in Online Mode can no longer search for attachments or embedded emails.

When this issue occurs, you will see the following events in the application log:
Log Name: Application

Source: MSExchangeIS Mailbox Store

Event ID: 9877

Task Category: Content Indexing

Level: Error

Keywords: Classic

Description:

Content Indexing function ‘CISearch::EcGetRowsetAndAccessor’ received an unusual and unexpected error code from MSSearch.Mailbox Database: Mailbox Database 1 Error Code: 0x80043629

Log Name: Application

Source: MSExchangeIS Mailbox Store

Event ID: 9842

Task Category: Content Indexing

Level: Error

Keywords: Classic

Description:

Function CISearch::EcGetRowsetAndAccessor detected that content indexing was disabled for database ” because of error ‘0x80041820’ from MSSearch.

When you check the CatalogData folder in the same subfolder as the database, you may see that the content indexing files (.CI files) are not growing. If you perform a ResetSearchIndex.ps1 on the index, you may see that the total size of the CatalogData folder only grows to a few KB or a few MB and either no .CI files are generated or only a few .CI files are generated and are only a few KB each.

What causes this issue?
This problem typically is a result of installing or upgrading a multi-role server (a server that has the Mailbox, Client Access, and Hub Transport roles installed) to SP1 and then removing the Hub Transport and Client Access roles, thereby leaving the server with only the Mailbox role installed.

There is a symbolic link for each registry entry in

.

How do we resolve this issue?
You will need to execute a script on the affected Mailbox servers that reinstalls the symbolic links:

Download the script Repair-ExchangeSearchSymlinks.ps1 from the Script Center.
Copy the Repair-ExchangeSearchSymlinks.ps1 script to the Scripts directory (default installation is C:\Program Files\Microsoft\Exchange Server\vXX\Scripts).

Open the Exchange Management Shell.
Within the Exchange Management Shell, navigate to the Exchange Scripts directory.
Within the Exchange Management Shell, run the following script:

Within the Exchange Management Shell, run the following script (without the symbols [] and substitute the database name(s) for any databases you wish to reset:

You will receive an Event ID 109 when the rebuilding of the index starts for each database and an Event ID 110 for each database when the index rebuild has completed.

After receiving Event ID 110 for each database, test to make OWA search is now working.

Written by Misha Hanin

Trusted Business & Technology Advisor, Solutions Managing Director & Senior Solutions Architect at iRangers International Inc. with more than 25 years of experience in the field of information technology, infrastructure analysis and design, implementing innovative and leading technologies for International companies around the globe in public and private sectors.

Over the years I was able to develop very strong technical and engineering skills which helped me to earn trusted advisor status with our clients. As one of the nearly 500 trained Microsoft Certified Masters (MCM) in The World (during 10 years existence of MCM program, just about 500 people in The World participated in this very intensive training), I have a winning track record in building and bringing projects to operational and measurable success.

I am honored to have been awarded Microsoft Most Valuable Professional (MVP). This award is given to "exceptional, independent community leaders who share their passion, technical expertise, and real-world knowledge of Microsoft products with others."