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

ContentSource = BDCCStarSearch

Include

ContentSource = BDCCStarSearchDelta

Include

ContentSource = BDCCStarSearchCurrent

Include

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 https://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

Comments

  • Anonymous
    September 27, 2007
    PingBack from http://www.artofbam.com/wordpress/?p=3424

  • Anonymous
    December 21, 2007
    The comment has been removed

  • Anonymous
    January 25, 2008
    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.

  • Anonymous
    March 10, 2008
    Thanks a lot, that works for me,,, i had to restart the timer services after i config the propagation share

  • Anonymous
    May 27, 2008
    Awesome.  Worked for me.  Thanks a ton!

  • Anonymous
    October 16, 2008
    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

  • Anonymous
    March 23, 2009
    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

  • Anonymous
    July 07, 2009
    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

  • Anonymous
    March 26, 2010
    I spent  close to five hours troubleshooting. This thing worked like charm! Thanks! I wonder if Microsoft can create an easy of resetting index files and reconfiguring search - like "Click here to reconfigure search" or similar...........

  • Anonymous
    April 12, 2010
    Thumbs up! Saved the production envorinment for my customer!

  • Anonymous
    December 17, 2010
    Someone been into this issue in 2010 environment? I have similar issue in a single server 2010 environment. At least I can' perform a search (throws exception) and my item count show "Error" beside of all my scopes. I'm not beside the server now, so I don't know if Event log has simular error as shown here ...

  • Anonymous
    November 20, 2011
    Office SharePoint Server Search Required on Farm, not running Starting can anyone help me to solve this issue. thanks

  • Anonymous
    November 22, 2012
    Many thanks mate !! Good work  :)

  • Anonymous
    June 30, 2014
    The comment has been removed