WSS Search: Your search cannot be completed because this site is not assigned to an indexer

I’ve noticed that this issue came up few times in different environments where Team foundation server 2010 configured with out of the box SharePoint (WSS) installation. I thought of writing this post that might help someone having the same issue.

The Problem: SharePoint search was not working in the current production environment and when you search you get a error message saying

Your search cannot be completed because this site is not assigned to an indexer. Contact your administrator for more information’.

You also notice that the SharePoint search service is running as a windows service in the service console but not visible under farm services in the Central Administration.

 

The cause:  Search services not properly configured registered in the SharePoint farm level.

The resolution steps:

1.      Go to Central Admin as login as the farm Administrator

2.      Go to Application Management tab

3.      Select SharePoint Web Application Management heading | Content databases

4.      Ensure your web application is the one selected

5.      Select your content database name

6.      Under Search Server – select your server (if your search server drop down is disabled please follow the additional steps below)

7.      Go to 12 hive folder and open stsadm.exe utility

8.      Run the following command psconfig.exe -cmd services -install

9.      Then run stsadm -o spsearch -action start (specify the farm account if required)

This process will register the search services within the SharePoint (WSS) farm and search service will now appear under central administration. Now you can click the service service and create a indexing schedule. After indexing job is completed for the given web application you will notice that search results appear as expected.


3 Comments on “WSS Search: Your search cannot be completed because this site is not assigned to an indexer”

  1. Dan Aquinas says:

    As stated in Step 6, my “search server” drop-down list is disabled, so I need to execute Step 7. However, I do not have knowledge of what “Go to 12 hive folder” means. Is this in a .CAB file, the registry, some folder on my hard drive, or something else?

    Thanks for your help and time.

    • Dan Aquinas says:

      I believe I found the answer to my own question, although I would like you to confirm that you (the author) are referring to:
      C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN

  2. Dopamine says:

    Thank you so much for this post!!! Very helpful 🙂


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s