Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Sharepoint 2010 - The search request was unable to connect to the Search Service

This has been frustrating me for days now.

I am trying to use Sharepoint Search (not Fast), and I just want to be able to enter a search term and have relevant results returned from the site.

So I have gone through setting up a Search App with all the trimmings about 3 times. I can monitor the crawl and its going well. (Did it once via powershell as well)

So everything seems to be setup on the "server side" I have ensured that the relevant ( I think) Windows Services are running and seems to work.

Now what happens is when I create a Search site on the site I am in, when I execute a search I always get the response "The search request was unable to connect to the Search Service." And I have not managed to "connect" my search site with the search application it seems.

Now I have looked through the trace log and I have looked through the event logs, and I have failed to find an entry so far that corresponds to the difficulty in "connecting". If someone knows of others logs I ought to look at that would be super.

If anyone has an idea of what in the world is going wrong. please let me know.

Our "Farm" is one web front end and one app server.

I have configured one Sharepoint 2010 site before with Search and I did not encounter any of these problems. I didnt do the install and base configuration of this environment though I am just troubleshooting it.

like image 713
Development 4.0 Avatar asked Dec 06 '10 22:12

Development 4.0


2 Answers

I finally found the answer here Sharepoint 2010 - 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.

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

If you go to edit your web app in central admin you will see that there is a button along the top called "Service Connections". Please ensure that your search app is selected in the form that pops up.

like image 151
Development 4.0 Avatar answered Oct 26 '22 21:10

Development 4.0


Central Admin -> Service Applications ->Manage service applications make sure your search service application is running with a proxy just below it. If not, likely because you did a backup and the proxy requires a second backup, from the ribbon select New -> Search Service Application.

Once created successfully go to CA -> Web Applications -> Manage web applications. Highlight the sharepoint port 80 site and select Service Connections. Make sure your new proxy is selected.

Then under CA -> Application Mgmt -> Manage services on server select Sharepoint Server Search select the new service you setup and make sure the topology looks ok. Then schedule and start a new Full crawl. All set.

AND

Don't forget to add the pdf file type if you've set that up under the old search app before.

like image 6
JimMNH Avatar answered Oct 26 '22 20:10

JimMNH