The search service is not able to connect to the machine that hosts the administration component
The search service is not able to connect to the machine that hosts the administration component
When you are running your SharePoint 2010 beta 2 on a machine that has the domain controller, you might sometimes face this issue of SharePoint search sevice not working, inspite of a Search Service Application being associated. This is what I did to solve this:
I had this problem as well on my SharePoint 2010 machine and I feel this specifically occurs when you have the Domain Controller running on the same machine. I sorted out with the following steps:
When you are running your SharePoint 2010 beta 2 on a machine that has the domain controller, you might sometimes face this issue of SharePoint search sevice not working, inspite of a Search Service Application being associated. This is what I did to solve this:
I had this problem as well on my SharePoint 2010 machine and I feel this specifically occurs when you have the Domain Controller running on the same machine. I sorted out with the following steps:
- Deleted the 3 databases that gets created along with a Search Service Application from SQL Server directly
- Stopped the SharePoint Search Service using stsadm command
- Reset all the crawled index
- Started the Search Service again using stsadm
- Created a new Search Service Application (I also ensured - the same account - for example spsearch is used for the Crawl Service, Search Service and Query Service Application pools) - previously I had admin account for the Crawl Service and the custom account for the application pools)
- iisreset - bingo - started working :)
Colud you please provide a tutorial for "Reset all the crawled index" because I delete the service and I think the crawled index is the problem.
ReplyDelete$searchApp = Get-SPEnterpriseSearchServiceApplication -Identity “SearchAppName”
Deleteif($searchApp -ne $null) {
$searchContext = [Microsoft.Office.Server.Search.Administration.SearchContext]::GetContext($searchApp)
$searchContext.Reset($true)
}