Showing posts with label Administration. Show all posts
Showing posts with label Administration. Show all posts

Tuesday, January 15, 2019

SharePoint Server: "The search service is not able to connect to the machine that hosts the administration component"

Issue

The search service is not able to connect to the machine that hosts the administration component. Verify that the administration component ‘GUID’ in search application ‘Search Service Application’ is in a good state and try again
In Farm Search Administration page when you click on “Modify Topology” you get error “An unhandled exception occurred in the user interface.Exception Information: Exception has been thrown by the target of an”

Cause

Search is not able to connect is because of many reasons, In this article I am providing all possible causes and the solutions.

Solutions

Solution 1


In the end it turns out to be that the application pool that hosts the search service application somehow doesn’t have the correct access.

You can simply change the application pool to use SharePoint Web Services System for search service applications and check.
1. Click on Start > Run > Type Inetmgr > Click OK0094 





  1. In IIS > Expand server > Expand sites > Expand “SharePoint Web Services”
    0096
  2. Now check all the GUID 1 by 1 in content view unless you find searchadmin.svc and searchservice.svc
    0095 
  3. Right click GUID go to advance settings
    0097 
  4. Change the application to “SharePoint Web Services” > Click OK
    0098 

Solution 2

Enable the timer job and do IIS reset:
1. Run below PS command to know the status of timer job
Get-SPTimerJob job-application-server-admin-service
Result ==> Is Disabled: True
  1. Run below PS command to enable the service.
    Enable-SPTimerJob job-application-server-admin-service
    Result ==> IsDisabled: False
  2. Do Net Stop sptimerv4
  3. Do Net start sptimerv4
  4. Do iisreset

Solution 3




Ensure the account has full control permissions on the Search service application and IIS account used by this service application
Follow below steps
1. Open Central Admin  > Select Security > Select “Configure service accounts”
 














  1. Select the search service application
     
  2. For “select account for this component” Select a account which has full permission

SharePoint 2013 "The search service is not able to connect to the machine that hosts the administration component"

Issue

SharePoint Server: 

"The search service is not able to connect to the machine that hosts the administration component" after August 2018 CU


Cause

You need to check the EventViewer after installing August 2018 CU binaries and you can see there is a backward compatibility issue for the Search database if you are applying the patch directly after SP1.

EventViewer Log
"The synchronization operation of the search component: 5a44ee64-4c85-4c9e-a5f6-6098cf079cb1 associated to the search application: Search Service Application on server: DXXXXXV has failed. The component version is not compatible with the search database: SharePoint_Search_AdminDB_CrawlStore on server: DBPROD. The possible cause for this failure is The database schema version is less than the minimum backwards compatibility schema version that is supported for this component. To resolve this problem upgrade this database.."

Resolution

Run the PSConfig and it will upgrade Search databases Schema and which will bring the search up and running.