August 27th, 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.

  • Belovedindian

    Very helping

  • Kenny

    Thanks… this helped me to resolve!

  • Guest

    in Single Server Farm
    to start the search service use
    stsadm -o osearch -action start -role IndexQuery

  • djudele

    Thanks … helped me to fix this strange error.

  • http://pulse.yahoo.com/_TRFV2TTU75PLJDVR6QECH7QVQ4 Tina H

    Can this be run on WSS server?
    http://www.ekhichdi.com

  • Nourbakhsh

    it is perfect . thanks a lot for your solutions

  • Keburegi

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

  • http://virusremovalhelps.com/help-smart-fortress-2012-virus-removal/ Smart Fortress 2012 virus

    I really appreciate your step by step guide.

  • http://virusremovalhelps.com/help-smart-fortress-2012-virus-removal/ Smart Fortress 2012 virus

    I really appreciate your step by step guide.

  • Tiffblue12

    ahh…its working now. thanks so much for your solution ;))

  • kannabiran

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