I’ve been working with a brand new SharePoint 2013 farm where Search Service has been published and working fine with some content sources.

At least, it’s working until I try to open either the Crawl Health Reports or the Query Health Reports, as I get this error there:

The chart cannot be rendered. This may be due to a misconfiguration of the Microsoft SharePoint Server State Service. For more information, contact your server administrator.

Let’s check the State Service. For this, you can either go to Central Administration or use PowerShell (Get-SPStateServiceApplication). If the PowerShell response is empty and/or there’s no State Service on your Searvice Applications list, you have to be sure, you really don’t have State Service configured on your farm.

Let’s do it now!

You can either use Central Admin again, or PowerShell:

$stateName = “My State Service” 

$stateDBName = “SP2013_State_Service_DB”

$stateDB = New-SPStateServiceDatabase -Name $stateDBName

$state = New-SPStateServiceApplication -Name $stateName -Database $stateDB

New-SPStateServiceApplicationProxy -Name “$stateName Proxy” -ServiceApplication $state –DefaultProxyGroup

If you check again, you should see your State Service now, and here you go: your Crawl and Query Health Reports are working fine now!


Related Posts: