Thursday, January 27, 2011

Enabling Search Server in 2010


Starting Search Service on SP2010
Application Management
Manage Service applications
New Search Service application from ribbon
Connect from Ribbon

Error Screen after I have done above steps and started respective services from manage services list:
And the log files exception section is as:

01/27/2011 14:04:35.10 w3wp.exe (0x0EBC)                       0x1144 SharePoint Server Search       Query                         fm9a Unexpected CoreResultsWebPart::OnInit: Exception initializing: Microsoft.Office.Server.Search.Query.SearchServiceNotFoundException: The search request was unable to connect to the Search Service.     at Microsoft.Office.Server.Search.Administration.SearchServiceApplicationProxy.GetProxy(SPServiceContext ServiceContext)     at Microsoft.Office.Server.Search.WebControls.CoreResultsWebPart.SetPropertiesOnQueryReader()     at Microsoft.Office.Server.Search.WebControls.CoreResultsWebPart.OnInit(EventArgs e) 58adda03-425a-4074-be6f-a13f3bf3a3bd
01/27/2011 14:04:35.10 w3wp.exe (0x0EBC)                       0x1144 SharePoint Server Search       Query                         dn4s High     FetchDataFromURL start at(outside if): 1 param: start 58adda03-425a-4074-be6f-a13f3bf3a3bd
01/27/2011 14:04:35.10 w3wp.exe (0x0EBC)                       0x1144 SharePoint Server Search       Query                         fm9a Unexpected CoreResultsWebPart::OnInit: Exception initializing: Microsoft.Office.Server.Search.Query.SearchServiceNotFoundException: The search request was unable to connect to the Search Service.     at Microsoft.Office.Server.Search.Administration.SearchServiceApplicationProxy.GetProxy(SPServiceContext ServiceContext)     at Microsoft.Office.Server.Search.WebControls.SearchResultsBaseWebPart.GetSearchServiceApplicationInfo()     at Microsoft.Office.Server.Search.WebControls.SearchResultsBaseWebPart.get_DefaultSearchProvider()     at Microsoft.Office.Server.Search.WebControls.SearchResultsBaseWebPart.get_DefaultSearchLocation()     at Microsoft.Office.Server.Search.WebControls.CoreResultsWebPart.OnInit(EventArgs e) 58adda03-425a-4074-be6f-a13f3bf3a3bd
01/27/2011 14:04:35.10 w3wp.exe (0x0EBC)                       0x1144 SharePoint Server Search       Query                         dm2p High     Exception while trying to create RemoteScopes. Returning scope cache as null. ex Microsoft.Office.Server.Search.Query.SearchServiceNotFoundException: The search request was unable to connect to the Search Service.     at Microsoft.Office.Server.Search.Administration.RemoteScopes.Initialize(SPServiceContext serviceContext)     at Microsoft.Office.Server.Search.Query.ScopeCache.GetScopeCache(SPServiceContext serviceContext) 58adda03-425a-4074-be6f-a13f3bf3a3bd
01/27/2011 14:04:35.11 w3wp.exe (0x0EBC)                       0x1144 SharePoint Server Search       Query                         dm2p High     Exception while trying to create RemoteScopes. Returning scope cache as null. ex Microsoft.Office.Server.Search.Query.SearchServiceNotFoundException: The search request was unable to connect to the Search Service.     at Microsoft.Office.Server.Search.Administration.RemoteScopes.Initialize(SPServiceContext serviceContext)     at Microsoft.Office.Server.Search.Query.ScopeCache.GetScopeCache(SPServiceContext serviceContext) 58adda03-425a-4074-be6f-a13f3bf3a3bd
01/27/2011 14:04:35.11 w3wp.exe (0x0EBC)                       0x1144 SharePoint Server Search       Query                         dm2p High     Exception while trying to create RemoteScopes. Returning scope cache as null. ex Microsoft.Office.Server.Search.Query.SearchServiceNotFoundException: The search request was unable to connect to the Search Service.     at Microsoft.Office.Server.Search.Administration.RemoteScopes.Initialize(SPServiceContext serviceContext)     at Microsoft.Office.Server.Search.Query.ScopeCache.GetScopeCache(SPServiceContext serviceContext) 58adda03-425a-4074-be6f-a13f3bf3a3bd
01/27/2011 14:04:35.11 w3wp.exe (0x0EBC)                       0x1144 SharePoint Server Search       Query                         dn1m High     RefinementManager is called to get refinements before it's fully configured. 58adda03-425a-4074-be6f-a13f3bf3a3bd
01/27/2011 14:04:35.11 w3wp.exe (0x0EBC)                       0x1144 SharePoint Foundation         Monitoring                     b4ly Medium   Leaving Monitored Scope (Request (GET:http://msct:900/_layouts/OSSSearchResults.aspx?k=hi&cs=This%20Site&u=http%3A%2F%2Fmsct%3A900)). Execution Time=30.9854701714549 58adda03-425a-4074-be6f-a13f3bf3a3bd


2 comments:

  1. After you have fully configured your search applicatoin, set up the data sources, and confirmed a crawl you might get the following message when you attempt to do a search from your web site

    "The search request was unable to connect to the Search Service."

    There can be a couple of different reasons for this error message, such as ensuring that the right service account is running the Search Windows Service, however there is one quick thing to check that might fix your issue.

    Goto Central Administration
    Application management
    Manage Web Applications
    Select the web application
    Click on Service Connections
    Ensure that the search application you configured is checked in this list.

    Tried this, and its not working as well.

    ReplyDelete
  2. Change the service connections from default to custom and once again choose the SSA and set it as default it will work

    ReplyDelete