Prasad Bolla's SharePoint Blog

Click Here to go through the Interesting posts within my Blog.

Click Here to go through the new posts in my blog.

Tuesday, June 30, 2015

Script for SharePoint 2010 Query Server Not Responding Issue - Fixed


Script:-
Add-PSSnapin Microsoft.SharePoint.Powershell
$S = Get-SPEnterpriseSearchServiceApplication -Identity ”Search Service Application Name”
$Q =$S.QueryTopologies
$C =Get-SPEnterpriseSearchQueryComponent -QueryTopology $Q.ActiveTopology
$C | fl Name,State
$C[0] |  Restart-SPEnterpriseSearchQueryComponent

Issue:-
Log Name:      Application
Source:        Microsoft-SharePoint Products-SharePoint Server Search
Date:          6/30/2015 2:10:04 AM
Event ID:      2587
Task Category: Administration
Level:         Warning
Keywords:     
User:          Domain\UserName
Computer:      ServerName
Description:
The following conditions are currently affecting index propagation to this server for search service application 'Search Service Application': 1. Query 4 has been disabled so that crawls can continue. It may be recovered via the Restart-SPEnterpriseSearchQueryComponent command in PowerShell.