Event IDs 6398 and 5586 – Could not find stored procedure ‘dbo.Search_GetRecentStats’


While setting up SharePoint 2010 farm, after provisioning Search Service application, you may find the following Event IDs being logged into Windows Event Viewer. Search and indexing still may work.

Event ID: 6398

The Execute method of job definition Microsoft.Office.Server.Search.Monitoring.HealthStatUpdateJobDefinition (ID 9cb6be54-0384-4c6e-abfc-c2f25621a3ed) threw an exception. More information is included below.

Could not find stored procedure ‘dbo.Search_GetRecentStats’.

Event ID: 5586

Unknown SQL Exception 2812 occurred. Additional error information from SQL Server is included below.

Could not find stored procedure ‘dbo.Search_GetRecentStats’.

Most probably this is because ‘Health Data Collection’ service is not enabled. To enable this service, go to ‘Central Admin > Monitoring > Configure usage and health data collection’ and check both ‘Enable usage data collection’ and ‘Enable health data collection’ check boxes. Reset IIS and SPTimer.

Note: If the event IDs are logged into event viewer and both the above services are already enabled, disable them first, reset IIS and SPtimer, enable them and reset IIS and SPtimer again.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s