by Aaron
17. January 2012 04:47
Yesterday, I discussed my issue where my Search Service Application wasn't working. It wasn't crawling, couldn't connect to some back end, and searching was returning an error. After I created the new Search Service Application, I had to delete the old one.
Sounds simple, right? Sure, if you understand that you might not be able to delete it from the SharePoint Central Administration.
Here's the problem: the Search Service Application is selected. Delete is clicked. You get a fancy-looking popup with a swirling logo asking you to please wait. And you do! FOREVER!

That spinning logo never goes away regardless of how long you wait. You close out and go back into the Manage Service Applications page to see that it's still there.
The solution is to use stsadm.exe. I found this solution. Following the solution on that page, I executed:
stsadm.exe -o deleteconfigurationobject -id "<insert Application Service GUID here>"
It didn't complete instantaneously, but it did complete. When I went back into Central Administration, the extra Search Service Application was gone!