Rebuilding Exchange Search Index
I have a few users that cannot use the serach index in OWA. When I try to rebuild the corrupted indexes this is the error message I am getting: [PS] C:\>ResetSearchIndex.ps1 [-force] -allGet-MailboxDatabase : The operation could not be performed because object '[-force]' could not be found on domain controller 'gwlcdc2.GWLC.COM'.At C:\Program Files\Microsoft\Exchange Server\Scripts\ResetSearchIndex.ps1:81 char:36+ $mbdbList+= (get-mailboxdatabase <<<< $a).NameWARNING: Waiting for service 'Microsoft Exchange Search Indexer(MSExchangeSearch)' to finish stopping...MSExchangeSearch service stopped removing: C:\Program Files\Microsoft\Exchange Server\Mailbox\Moderate Storage Group\CatalogData-bb04a98e-27b2-42f4-88e5-d06b3e69f4ae-cc64dd2d-2428-4f12-bba2-79d6d34c4d27 Can anyone help? Thanks, Tim
April 9th, 2008 4:57pm

Tim, Stop the Microsoft Exchange Search service, delete the search index (you can find this in the directory of the mailstore)and then start the Microsoft Exchange Search service. Regards, Johan
Free Windows Admin Tool Kit Click here and download it now
April 9th, 2008 6:05pm

I have tried to stop the msexchangeserch service -> delete the catalogdata folder-> start msexchangeserach service again but the user still got the following result by running test-exchangeserch <userid> |flResultFound : FalseSearchTime : -1Besides, i tried to run resetsearchindex.ps1, but got the following error :[PS] E:\E2007\Scripts>resetsearchindex.ps1 -force <dbname>Get-MailboxDatabase : The operation could not be performed because object '<dbname>' could not be found on domain controller 'xxxxxx'.At E:\E2007\Scripts\ResetSearchIndex.ps1:81 char:36+ $mbdbList+= (get-mailboxdatabase <<<< $a).NameWARNING: Waiting for service 'Microsoft Exchange Search Indexer(MSExchangeSearch)' to finish stopping...WARNING: Waiting for service 'Microsoft Exchange Search Indexer(MSExchangeSearch)' to finish stopping...WARNING: Waiting for service 'Microsoft Exchange Search Indexer(MSExchangeSearch)' to finish stopping...Anyone can help ?
March 3rd, 2009 12:51pm

Follow the following articles.How to Rebuild the Full-Text Index Cataloghttp://technet.microsoft.com/en-us/library/aa995966(EXCHG.80).aspxManaging Exchange Searchhttp://technet.microsoft.com/en-us/library/aa998289(EXCHG.80).aspxIf the above mentioned links doesnt help then reinstall MSFTE.MSI and follow the above steps again.-ArunArun Kumar | MCSE - 2K3 + Messaging | ITIL-F V3
Free Windows Admin Tool Kit Click here and download it now
January 29th, 2010 2:14pm

Hello Koco, I had tried with the below mentioned shell command and succeeded. Get-MailboxDatabase “MailbxoServerName04\Database15\MailboxServerName04 Database 15” | ResetSearchIndex.ps1 [-force] Where- you have to put your Mailbox server's name and database name and run the command as it is. This will auto stop the search service, wipe the catalog and then again start the service. As soon as the service gets started, the catalog will be again. Let me know in case you may still face the issue so more. Thanks!
August 26th, 2011 5:49am

Hello, at the first command you have the parameter "force" in brackets []. It has to be run without these. At the second command you have <dbname> as name for the database. You have to provide the correct databasename. You can find out the correct name in the EMC or in the EMS via Get-MailboxDatabase. Greetings, Toni
Free Windows Admin Tool Kit Click here and download it now
August 26th, 2011 6:08am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics