Pages

Wednesday, August 8, 2012

Not able to search in OWA- Event id 9877


When you try to search something in OWA (outlook web access), you will get an error “The action couldn’t be completed.  Try again later.” We are having exchange 2010 and below is the error generated in the event log.

Log Name:      Application
Source:        MSExchangeIS Mailbox Store
Date:          8/8/2012 2:27:32 AM
Event ID:      9877
Task Category: Content Indexing
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      test.domain.com
Description:
Content Indexing function 'CISearch::EcGetRowsetAndAccessor' received an unusual and unexpected error code from MSSearch.
Mailbox Database: Mailbox Database 1443934757
Error Code: 0x80043629

 
This issue happens because of the Symbolic Links. Symbolic links are the links to registry for each languague. When you are uninstalling or removing any software or role in the server, there will be chances that these links will also be removed. Reinstalling the Symbolic links can resolve the issue.

Steps to fix this issue:

1) Download the script Repair-ExchangeSearchSymlinks.ps1 from the below link:
http://gallery.technet.microsoft.com/scriptcenter/16afe88b-6c6d-49a3-8b03-2a2ece27f61a

Below is the script and can be saved in .ps1 format:
======================

write-host "Attempting to repair symbolic links" 
 
write-host "Stopping msftesql-exchange and msexchangesearch services" 
stop-service -Force msexchangesearch 
stop-service -Force msftesql-exchange 
 
$rval = get-PSSnapin -Name Microsoft.Exchange.Management.PowerShell.Setup -ea SilentlyContinue 
if(!$rval) 
{ 
    add-PSSnapin -Name Microsoft.Exchange.Management.PowerShell.Setup -ea SilentlyContinue 
} 
 
write-host "Installing symbolic links" 
Install-ContentIndexingService –HubOnlyFilterRegistration 
 
if(!$rval) 
{ 
    Remove-PSSnapin -Name Microsoft.Exchange.Management.PowerShell.Setup -ea SilentlyContinue 
} 
 
write-host "Starting msftesql-exchange and msexchangesearch services" 
start-service msexchangesearch 
start-service msftesql-exchange 
 
write-host "Symbolic links restored." 
write-host "Please run test-exchangesearch to verify installation."
======================== 

2) Copy the Repair-ExchangeSearchSymlinks.ps1 script to the Scripts directory on the Mailbox server (default installation is C:\Program Files\Microsoft\Exchange Server\v14\Scripts).
3) On the afflicted Mailbox server, open the Exchange Management Shell by right-clicking and selecting “Run as Administrator”.
4) Within the Exchange Management Shell(EMS), navigate to the Exchange Scripts directory.
5) Within the Exchange Management Shell, run the following script:
.\Repair-ExchangeSearchSymlinks.ps1
6) Now reset the index file by issuing the below command within the EMS:
.\ResetSearchIndex.ps1 -All  (this is for all databases in the server)

If you want to reset on particular database then:
.\ResetSearchIndex.ps1 -(database name)

Wait for few hours for the indexing to rebuild on the server. If the issue still exists, try to restart the server or Information store service.


2 comments:

  1. If you don't get satisfactory results with this,then you can go for a alternative solution available in the form of Exchange Server Edb Recovery tool which is a complete package for recovery of corrupted Exchange database and conversion to PST files.

    See more details at- http://www.recoverydeletedfiles.com/exchange-server-edb-recovery.html


    ReplyDelete