Deleting
the SharePoint2010 Search service application
Posted July 18, 2011 by Gangadhar
Kotu in SharePoint
Server 2010. Tagged: Configuration, Delete,
Search,
SharePoint Server 2010. Leave a Comment
To delete the Search service
application, perform the following.
- Go to Central Administration
- Click on ‘Manage Services applications’ under
Application Management.

- Select the ‘Enterprise Search Service Application’ from the list of service applications. The name may differ as per your configuration.
- Click on ‘X’ Delete button from the Ribbon.

- Check the ‘Delete the content database as well’ option from the diaglog.
- Click OK.
While deleting the search service
application, the page hangs and keeps showing the same messaging like “Deleting
the service application…..”. Even if you leave it untouched for hour or two or
three like that… nothing happens, it would just hang on from the Central
administration.
In such case, perform the below
operations to get them cleaned fully from the Farm.
- Get the Search Service application Id – You would get
it when you click on the Search Service application from the Manage
Service Applications page.

- Execute the following STSADM command
Stsadm
-o deleteconfigurationobject -id f1d41cf0-50d0-4fcc-9087-344103757277
- Connect to the DataBase Server
- Delete the Search Service Application Specific
databases (CrawlStoreDB, Application_DB and PropertyStore_DB ) manually.

Now that the Service application has
been cleaned successfully. You could go ahead and configure the Search service
application now.
Note: STSADM command is still powerful in this case over
PowerShell Command. Here is the PowerShell command as an alternative:
$spapp
= Get-SPServiceApplication -Name "Enterprise Search Service
Application"
Remove-SPServiceApplication
$spapp -RemoveData
This is still taking 15 and more…
and executing..

No comments:
Post a Comment