[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

Search option in outlook stops working after Exchange Database Repair

Posted on 2013-01-03
17
Medium Priority
?
858 Views
Last Modified: 2013-01-04
Hi,
  Recently i had to repair Exchange mail database due to corruption.
  After the database was repaired,  "Search" option stopped working.
  We use OUTLOOK 2010 and EXCH 2010 in SBS2011.
  What can I try?

Thanks.
0
Comment
Question by:sglee
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 9
  • 4
  • 4
17 Comments
 
LVL 11

Accepted Solution

by:
apathy42 earned 720 total points
ID: 38742002
Try rebuilding the full-text index catalog:

http://technet.microsoft.com/en-us/library/aa995966(EXCHG.80).aspx
0
 

Author Comment

by:sglee
ID: 38742155
Can I just remove all indexes by running the following in EXCH MGMT Shell?

ResetSearchIndex.ps1 [-force] -all

Is this all I need to do? No deleting files, no restarting services?
0
 
LVL 11

Expert Comment

by:apathy42
ID: 38742210
The script will do all of that for you.  The manual process is for the case that either that's not working properly or you like doing it step by step.
0
Nothing ever in the clear!

This technical paper will help you implement VMware’s VM encryption as well as implement Veeam encryption which together will achieve the nothing ever in the clear goal. If a bad guy steals VMs, backups or traffic they get nothing.

 

Author Comment

by:sglee
ID: 38742305
OK. Let me run the script and will post the result
0
 

Author Comment

by:sglee
ID: 38742313
I got an error message when I ran:
[PS] C:\Windows\system32>ResetSearchIndex.ps1 [-force] -all
------------------------ Error Message -------------------------
The term 'ResetSearchIndex.ps1' is not recognized as the name of a cmdlet, function, script file, or operable prog
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:21
+ ResetSearchIndex.ps1 <<<<  [-force] -all
    + CategoryInfo          : ObjectNotFound: (ResetSearchIndex.ps1:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException
0
 
LVL 11

Assisted Solution

by:apathy42
apathy42 earned 720 total points
ID: 38742329
Check to see if "ResetSearchIndex.ps1" is in the Scripts directory (usually %Program Files%\Microsoft\Exchange Server\Scripts).  If so, cd to that directory and run it like so:

.\ResetSearchIndex.ps1 -force -all

By the way, don't put the brackets around the -force...that was just to note that it was optional.
0
 
LVL 52

Assisted Solution

by:Manpreet SIngh Khatra
Manpreet SIngh Khatra earned 360 total points
ID: 38743468
[PS] C:\Windows\system32>ResetSearchIndex.ps1 [-force] -all

few points
1. The command should be run from ExchangeShell
2. You need to redirect the Shell to Scripts folder and then run the .ps1 (SHould show something like
[PS] C:\Program Files\Microsoft\Exchange Server\Scripts> .\ResetSearchIndex.ps1 -Force -All

- Rancy
0
 

Author Comment

by:sglee
ID: 38743915
Late yesterday afternoon, I rebooted Exchange Server /SBS2011 a couple of times after replacing old RAID controller with faulty memory chip that caused Exch Mail database to get corrupted about two weeks ago. As  Exch Mail database was repaired, I learned that users could not use "Search" fuction in OUTLOOK and that was the reason I opened this question yesterday afternoon.

For some reason, after rebooting the server a couple of times (after RAID card replacement), Search function was working all of sudden. But I know it is not because I ran this script. Because I saw an error due to syntax was not correct and I did not run the script so far (I just saw two additional comments this morning).

That said, I guess I do not need to run it again because it is working, but I still like to try it. Is there a harm running this script now as there is no more problem and users are already in  OUTLOOK?
0
 
LVL 52

Expert Comment

by:Manpreet SIngh Khatra
ID: 38743933
i would say there is no harm but if its working i would rather not retry something

- Rancy
0
 

Author Comment

by:sglee
ID: 38743966
you know what, let me try it on my exchange/sbs2011. In that way I will have tried it out and no harm to anyone. I will keep you posted.
0
 
LVL 11

Expert Comment

by:apathy42
ID: 38744000
It will not harm anything long-term...it will just take a few hours of search not working as it rebuilds the index...it's possible that full-text indexing was restarted and discovered that it needed to rebuild on its own.
0
 

Author Comment

by:sglee
ID: 38744007
It ran successfully. I had to change the directory "C:\Program Files\microsoft\exchange server\v14\scripts". Here is the result:
-------------------------------------------------------------

[PS] C:\Program Files\microsoft\exchange server\v14\scripts>.\ResetSearchIndex.ps1 -Force -All
WARNING: Waiting for service 'Microsoft Exchange Search Indexer (MSExchangeSearch)' to finish stopping...
WARNING: Waiting for service 'Microsoft Exchange Search Indexer (MSExchangeSearch)' to finish stopping...
MSExchangeSearch service stopped
Deleting catalog forMailbox Database

removing: C:\Program Files\Microsoft\Exchange Server\V14\Mailbox\Mailbox Database\CatalogData-cae8dde9-edab-4f88-9
eca6a02a013-8a7b94ad-c5c5-407e-bc84-019a254a79c8

MSExchangeSearch service Started
-------------------------------------------------------------
It only took several seconds. Of course my exchange database is only  2GB where my customers is close to 90GB.

if that was all, then it was very simple. Thank you for your help.
0
 

Author Comment

by:sglee
ID: 38744027
@apathy42
it's possible that full-text indexing was restarted ---> are you referring to "Microsoft Exchange Search Indexer" service in SERVICES.MSC?

I did not  check  SERVICES.MSC when "Search" function was not working because it simply did NOT know what to look for? Maybe that service was stopped and I have not restarted the server since exch database was repaird. During the repair, MS Exchange Engineer restarted Exchange Information Store several during the troubleshooting ...
0
 
LVL 52

Expert Comment

by:Manpreet SIngh Khatra
ID: 38744098
Hope there is no DAG in your customer environment ?
are you referring to "Microsoft Exchange Search Indexer" service in SERVICES.MSC? - This is the same service that stoppe din your command above

If its stopped please start and maybe you wont need to reset the SearchIndexes

- Rancy
0
 

Author Comment

by:sglee
ID: 38744173
no DAG exists.
Next time when Search function stops working, I will check the status of "Microsoft Exchange Search Indexer" service in SERVICES.MSC.

Thank you all for your help.
0
 
LVL 52

Expert Comment

by:Manpreet SIngh Khatra
ID: 38744213
You can always exceute a Exchange Shell command to check the status for all service

Test-ServiceHealth

- Rancy
0
 

Author Comment

by:sglee
ID: 38744220
That is good to know. Thank you.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article lists the top 5 free OST to PST Converter Tools. These tools save a lot of time for users when they want to convert OST to PST after their exchange server is no longer available or some other critical issue with exchange server or impor…
There are times when we need to generate a report on the inbox rules, where users have set up forwarding externally in their mailbox. In this article, I will be sharing a script I wrote to generate the report in CSV format.
In this video we show how to create an Address List in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Organization >> Ad…
This video discusses moving either the default database or any database to a new volume.
Suggested Courses

650 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question