PDesai Blogs

MOSS 2007 Search Scope Error --> Query/Index Server Event log Error (HOW TO FIX IT)

MOSS Error: In multi Server MOSS 2007 farm environment. You might see Search Scope Count Errors and also Event Log errors on Index/Query server

 

Possible Cause: Query and Index Servers are not functioning correctly

 

Symptoms:

 

View Scope page error:

 

Search Scope Error

 

 

Rule

Behavior

Item Count (approximate)

All Content

Include

(all items)

contentclass = urn:content-class:SPSPeople

Exclude

error

ContentSource = BDCCStarSearch

Include

error

ContentSource = BDCCStarSearchDelta

Include

error

ContentSource = BDCCStarSearchCurrent

Include

error

Total: error

 

Application Event Log:

 

 

 

Description:

 

Event Type:        Error

Event Source:    Office SharePoint Server

Event Category:                Office Server Shared Services

Event ID:              6482

Date:                     9/26/2007

Time:                     10:27:52 PM

User:                     N/A

Computer:          MyServerName

Description:

Application Server Administration job failed for service instance Microsoft.Office.Server.Search.Administration.SearchServiceInstance (09596173-2751-4db9-a84a-920690352eba).

 

Reason: Object b605e66d-073d-4075-ad36-8565cdd48497 not found.

 

Techinal Support Details:

System.Collections.Generic.KeyNotFoundException: Object b605e66d-073d-4075-ad36-8565cdd48497 not found.

   at Microsoft.Office.Server.Search.Administration.SearchApi.get_App()

   at Microsoft.Office.Server.Search.Administration.SearchServiceInstance.Synchronize()

   at Microsoft.Office.Server.Administration.ApplicationServerJob.ProvisionLocalSharedServiceInstances(Boolean isAdministrationServiceJob)

 

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

 

 

 

Diagnosis :  Steps to fix this problem

 

This problem occurs mostly when your Office SharePoint Service Search is not working (or configured correctly). When you  follow steps listed here to configure your office SharePoint Service Search, you will  most likely loose crawled data in content catalogs if any. You need to re-crawl data source again.

 

1.       Stop Office SharePoint Service on all servers (command line option StsAdm.exe -o osearch -action stop)

2.       Stop and Start MOSS timer service

3.       Start office SharePoint Service Search service on index server first. (my observation is stsadm.exe command line tool works better StsAdm.exe -o osearch -action start -role index)

a.       Sometimes you configure Index location on index server (use new location). Use “configure automatically” option and provide domain account which is member of local admin group on the index server (command line option StsAdm.exe -o osearch -defaultindexlocation E:\spsindexdata)

4.       Start Office SharePoint Services Search Service on Query Server(s) next. (command line option StsAdm.exe -o osearch -action start -role query)

a.       Sometimes you configure Index location on Query server (use new location). Use “configure automatically” option and provide domain account which is member of local admin group on the Query server. (command line option StsAdm.exe -o osearch -propogationlocation d:\spsindexdata)

5.       You might want to wait couple of minutes.

6.       Edit your Shared Service Provider (SSP) settings. Select Index Server in drop down list. Provide service credentials. Click OK

7.       Wait about 10 minutes and check your server again. Check if Scope count Error is gone.

 

This worked for me in two diffent environments

Published Thursday, September 27, 2007 10:20 AM by PDesai

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

 

Techy News Blog » MOSS 2007 Search Scope Error –> Query/Index Server Event log Error (HOW TO FIX IT) said:

September 27, 2007 1:48 PM
 

Karen said:

you are the bomb! This fixed our index propagation/search problems. Thanks.

December 21, 2007 6:37 PM
 

Brij said:

This article would definitely be helpful to few people, who are experiencing search issues however I had to add SharePoint service account with full control to the MOSS Site (portal web application) by going to Central Administration => Application Security => Policy for Web application to resolve this error in my environment. This is in addition to your steps.

Following steps, mentioned in this article did not resolve my errors until I added SharePoint service account with full control to portal web application as explained above. I hope this will help to few other people, who are unable to resolve their search issue by following your article.

This is the BEST article, I have found on internet for this specific issue.

January 25, 2008 2:55 PM
 

Wael A. Kabli said:

Thanks a lot, that works for me,,,

i had to restart the timer services after i config the propagation share

March 11, 2008 6:42 AM
 

NEW- Andy said:

Awesome.  Worked for me.  Thanks a ton!

May 27, 2008 4:29 PM
 

Ashish said:

Hello Brijesh

I was also facing same problem, as per your article, I followed the steps and now everything is fixed. But I am not able to crawl , it is showing old no. of items, rather than actual items in crawls. I also noticed that in scope, it is also not crawaling.

Let me know what should I do?

Ashish

October 16, 2008 4:39 PM
 

Hect said:

I didn't need to move the index but it had somehow become corrupted and deleting it and creating a new one fixed the issue.

Thanks

March 24, 2009 1:27 AM
 

Grace said:

Oh.. Thank you! I had this problem for a while and wasn't able to resolve the issue, until I saw your blog. I did Stop, Start search for index and query services more than 20 times and propagated the index file location more than 5 times.

Well, well, well, after reviewing your step, I checked the Timer Service Status on both WFE servers, which I assigned a Query Search Server role. The Timer Service was stopped and it didn't get started even if I manaully started it using "NET START SPTIMERV3".

The fix to all of my troubles was starting Windows SharePoint Services Administration Service manually.

Thanks again for sharing your valuable information!

Grace

July 7, 2009 3:57 PM

Leave a Comment

(required) 
(optional)
(required) 

  
Enter Code Here: Required
Submit

About PDesai

SDE @ Microsoft

© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Microsoft
Page view tracker