Deleting the search service application
The search crawl db got corrupt in my development environment. After trying to remove the crawl db and component through the UI and being unsuccessful, I decided to just go ahead and blow away the search service app and recreate.
So I go to the Service Apps page, select the search service, and click delete. Twenty minutes later, the service is still being deleted. Not. Scrap that and head for PowerShell.
Twenty minutes later, still waiting.
Over to the old man stsadm.exe
The SharePoint PowerShell cmdlets are great and all, but sometimes they just don’t work.
Note: To get the id of the service application, you can do one of the following:
From the UI
Navigate to the service applications page. Mouse-over the search application link, and observe the id in the status bar.
From Powershell
Get-SPServiceApplication |?{$_.name -eq "Search Service Application"}
Hi Donal,
I have the same problem with Search service Application, i can’t delete the service and unable to modify the topology too. i’m trying to do it with stsadm like you did, but i don’t know how to get the ID. Could you please explain it in more details for deleting the search service application?
Thank you
Good point. Updated blog to include how to get service application id!
Thanks for this post. It just saved my but.
Hi Donal,
Thanks a lot. This saved me a lot of time. I was able to use the stsadm command and delete the service application.
I have still errors showing on my 2010 environment under services as “Error stopping”. How do i set it back to normal?
Thanks
Vishwas
You save my life! thanks a lot! Cheers from Argentina!
Thanks for the excellent Blog.. Saved me from getting rid of a irritating Search Service App which just did not want to die!
Fantasic Post! Saved me a great deal of pain caused by a troublesome Search Service.
Thanks, got to love STSADM! Powershell has it pros, and its place, and is a good compliment to STSADM. But I don’t think it is ready to replace STSADM.
You saved my butt! Thanks.
So true man! wow.. not all information and be called reliable.. but yours is exacty how you described.. good old stsadm.exe. thanks.
Awesome! I beat myself up for hours yesterday trying to accomplish this.
Fixed my issue. Thank you very much. I was able to delete my searchservice applications and pools
.
Yepp. great and clear explaination. made me smile, it was so simple.. cheers.
Thank you! I spent all day with this! You made my month!
Thanks a ton Donal. This post helps me a lot to fix the issue 😉
Donal
thanks for the solution.
Once we delete the service application, How can we get rid of the databases associated to that service application which was deleted?
Thanks a lot!!
Thanks for the Solution………….
I googled, “delete search administration web service for search service application” and this blog came up! What are the odds?! Unfortunately, I’m trying to delete just the “search administration web service for search service application” which was left behind after I deleted the search application. I’ll keep on googling, but good try DCON#$!!!