Posts Tagged ‘Application’
SharePoint 2010 \ 2013: Search Service Application stopped working
Hi Friends,
Today search stopped working on an a server. Found that search service was stopped on Central Admin > “Services on server” tab.
When try to start it get error “starting the search service on a server much be done within the context of a search service application. click ok to go to the manage service application spage where you can create a new search service application or select a search servicea application”
There was no option to stop or start anything from Search Service Application.
Tried to open Search Service Application using run as admin for browser. Also tried using multiple browser but it did not help.
When tried to delete and recreate service application, got below error while deleting service application.
When checked ULS logs got error:
Application error when access /_admin/ServiceApplicationDelete.aspx, Error=Request timed out.
System.Web.HttpException: Request timed out.
Getting Error Message for Exception System.Web.HttpException (0x80004005): Request timed out.
Then I tried to delete the service application using powershell. Used below powershell for same.
$spapp = Get-SPServiceApplication -Name “Search Service Application”
Remove-SPServiceApplication $spapp -RemoveData
Incase you don’t see a outcome for a long time, open another SharePoint powershell windows without closing this and run below command:
stsadm -o execadmsvcjobs
Once the service application is deleted, follow below steps to create a new search service application using GUI.
Open Central Admin > Select “Configuration Wizards” from left hand side > Select “Launch the Farm Configuration Wizard” > Click “Start the Wizard” > Make sure “Search Service Application” is selected > Click Continue
Shortly your search service application would be created and ready to use.
Applies to : SharePoint server 2013, SharePoint server 2010, SharePoint foundation 2010, SharePoint foundation 2013.