sharepointsharepoint-2010sharepointfoundation2010sharepoint-search

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


I am using SharePoint 2010 Foundation and I have a prolem with the search on there. Everytime I search for something I get the response of The search request was unable to connect to the Search Service.

I have spent alot of time looking at this and I cannot seem to see what is causing the issue. The SharePoint Foundation Search service is started but there are no services listed on the server for search other than the 'Help Search'.

Also, if I look into my content databases under the 'Manage Database Upgrade Status' it telling me that the database is too old...

Could anyone point me in the right direction as to how to resolve these issues as it is sending me mad!!

Many Thanks in advance... Luke


Solution

  • After some further research into this I found it was a simple case of needing to upgrade some of my databases (the search database being one of them).

    To view the databases that needed upgrading I used the Powershell Commands:

    Get-SPDatabase | ?{$_.NeedsUpgrade -eq $true} | Select Name

    AND

    Get-SPContentDatabase | ?{$_.NeedsUpgrade -eq $true} | Upgrade-SPContentDatabase

    This allowed me to identify all databases that needed this (pretty much the same as using the Health Analyzer in Central Admin). I then ran the following PSCONFIG command through the powershell command windows to perform the upgrade:

    psconfig -cmd upgrade -inplace -b2b -force -wait

    Finally I ran the Products and Technologies wizard and all worked fine (including the search).