Aug 27, 2010

The search request was unable to connect to the Search Service: MOSS Error

Here are the steps to fix this problem:

Step 1:
Right click on My Computer and Goto Computer management
Select Services and applications
Start indexing service If not started.

Step 2:
* Central Admin > Application Management > Office SharePoint Server Shared Services > Create or Configure this farm’s shared services
* Shared Services Provider (drop down) > Edit Properties
* Edit Shared Services Provider > Index Server: Verify the index server is set

Step 3:

Single Server Farm

On the MOSS 2007 server:
* Start > Run > CMD > stsadm.exe -o osearch -action stop
* Start > Run > CMD > stsadm.exe -o osearch -action start -role queryindex

Multiple Server Farm

On the MOSS 2007 Front End Web/Query server:
* Start > Run > CMD > stsadm.exe -o osearch -action stop

On the MOSS 2007 Index server:
* Start > Run > CMD > stsadm.exe -o osearch -action stop

On the MOSS 2007 Index server:
* Start > Run > CMD > stsadm.exe -o osearch -action start -role index

On the MOSS 2007 Front End Web/Query server:
* Start > Run > CMD > stsadm.exe -o osearch -action start -role query

Step 4:
* Goto Central Admin ->Operations ->Topologies and services ->Services on server
* Click “Office SharePoint Server Search
* Make sure the user has sufficient permission to access database.

Note: If your Search query and indexing server are same then set Both options “Use this server for indexing content” and “Use this server for serving search queries” true.

Hope, It helps.

11 comments

  1. IndexQuery works in single server farm… “queryindex” didn’t work as mentioned in the article

  2. wao, that was very helpful…. step one only my search function was working again, just restart the indexing services

Leave a Reply

Your email address will not be published. Required fields are marked *