MOSS 2007– Error while editing Crawl Rule Crawl Schedules
Issue 1:
Browse SharePoint Central Administration --> Shared Services --> Search Administration --> Crawl Rule
Attempt to Add \ Edit \ Delete of Crawl Rule.
Issue 2:
Browse SharePoint Central Administration --> Shared Services --> Search Administration --> Content Source
Attempt to Add \ Edit the Crawl Schedules to Content Source
Issue 3:
Browse SharePoint Central Administration --> Shared Services --> Search Administration --> Reset all Content Source
When you attempt to perform any of the above operation you might receive following error
Microsoft.Office.Server.Search.Administration.MSSITLB.IGatherApplication2.ValidateVersionForWrite(Int32 lLastVersion, Int32& plVersionOut)
at Microsoft.Office.Server.Search.Administration.SearchApi.<>c__DisplayClassaa.<UpdateCrawlRule>b__a9()
at Microsoft.Office.Server.Search.Administration.SearchApi.RunOnServer[T](CodeToRun`1 remoteCode, CodeToRun`1 localCode, Boolean useCurrentSecurityContext, Int32 versionIn)
Resolution:
Log on to the server which has index .
Click on Start –> Run and type "Services.msc"
Locate Office SharePoint Server Search and then Restart it.
Or
Open Command Prompt and then execute below
Net Stop Osearch && Net Start Osearch