title: Moss 2007 SSP Error "Search application '{0}' is not ready."
body: <p>I'm trying to fix a broken SSP on a MOSS 2007 site. The problem I am running into manifests itself as follows...</p>
  
  <p>In the SSP "Search Settings" page I get this message:</p>
  
  <p><i>The search service is currently offline. Visit the Services on Server page in SharePoint Central Administration to verify whether the service is enabled. This might also be because an indexer move is in progress. </i></p>
  
  <p>In the SSP "User Profiles and Properties" page I get this in red at the top:</p>
  
  <p><i>An error has occurred while accessing the SQL Server database or the Office SharePoint Server Search service. If this is the first time you have seen this message, try again later. If this problem persists, contact your administrator. </i></p>
  
  <p>I have contacted my administrator, but that is currently me and it turns out I don't know any more than I do about the problem.</p>
  
  <p>In the Event Log I get the following message:</p>
  
  <p><i>The Execute method of job definition Microsoft.Office.Server.Search.Administration.IndexingScheduleJobDefinition (ID 8714973c-0514-4e1a-be01-e1fe8bc01a18) threw an exception. More information is included below.</p>
  
  <p>Search application '{0}' is not ready.</i></p>
  
  <p>The Event ID is 6398, which isn't as useful as I had hoped, but I don find the message interesting in that it looks like a String.format call where the substituted value is missing. Unfortunately no interesting in that it tells me how to fix the problem.</p>
  
  <p>Sharepoint's own log offers this:</p>
  
  <pre>UserProfileConfigManager.GetImportStatus() failed to obtain crawl status: System.InvalidOperationException: Search application '{0}' is not ready.     
  at Microsoft.Office.Server.Search.Administration.SearchApi..ctor(WellKnownSearchCatalogs catalog, SearchSharedApplication application)     
  at Microsoft.Office.Server.Search.Administration.SearchSharedApplication.get_SearchApi()     
  at Microsoft.Office.Server.UserProfiles.UserProfileConfigManager.c__DisplayClass3.b__0()     
  at Microsoft.Office.Server.Diagnostics.FirstChanceHandler.ExceptionFilter(Boolean fRethrowException, TryBlock tryBlock, FilterBlock filter, CatchBlock catchBlock, FinallyBlock finallyBlock)</pre>
  
  <p>I have tried stopping and starting the search service, removing and re-adding it from the administration panel, and pretty much every other thing I could find to do with Sharepoint's own administrative tools, which leads me to believe the problem here may be database or permissions related.</p>
  
  <p>There was a second SSP set up on the same server, which I think may have been part of the original cause of the problem, but removing it has made no difference.</p>