Monday, June 30, 2014

SharePoint 2013: Session OfficeSearchHealthSession failed to start with the following error: 0xC0000035

Problem

The following error appears in a SharePoint 2013 farm server's Application log:
Log Name:      Microsoft-Windows-Kernel-EventTracing/Admin
Source:        Microsoft-Windows-Kernel-EventTracing
Date:          [Date/Time]
Event ID:      2
Task Category: Session
Level:         Error
Keywords:      Session
User:          [farm service account]
Computer:      [a farm server]
Description:
Session "OfficeSearchHealthSession" failed to start with the following 
error: 0xC0000035
Event Xml:
...
Solution
  • Ignore this error.
  • You can generate it manually by executing the following PowerShell script on the server:
    Start-Job -ScriptBlock {Restart-Service sptracev4}
    $job = Get-SPTimerJob -Identity "Search Health Monitoring - Trace Events"
    $job.Execute([System.Guid]::Empty)
    
    Refresh the Application log.
References
Notes
  • Thanks to Janis Norvelis for presenting the script.  Janis originally presented this script with respect to seeing this error appearing in SharePoint Server 2010 application logs.
  • I have seen this error appear in the Application log of all farm servers hosting SharePoint Server 2013, every 24 hours, separated by approximately one minute intervals among the farm servers.  It occurs on all my farms, both 2010 and 2013.  One example:
    • WFE1: 6:12:03 AM
    • APP1:  6:13:02 AM
    • WFE2: 6:14:03 AM

No comments: