Sharepoint 2010 – Cannot delete service application from Central Admin

By peter.stilgoe









When trying to delete a service application in Sharepoint 2010 from the central admin, sometimes you will find it just stays on the ‘processing’ window for hours (if you wait that long).

If it does you can try & delete the service application using Powershell:

Remove-SPServiceApplication

If that command doesnt work you can force the deletion by using STSADM:

STSADM -o deleteconfigurationobject -id {ID}

The above STSADM command is not documented by Microsoft (or doesnt seem to be)




Share

, , ,

About... peter.stilgoe

peter.stilgoeThis author published 497 posts in this site.
Sharepoint, InfoPath, K2, Nintex, Business Process Mapping, Business Intelligence, Automation, ECM, Document Management, Document Imaging, Internet Marketing & Online Business Consultant Email / MSN: pstilgoe@hotmail.com LinkedIn: Pete Stilgoe - Sharepoint Consultant









Share

FacebookTwitterEmailWindows LiveTechnoratiDeliciousDiggStumbleponMyspaceLikedin

5 Comments

  • At 2011.05.03 18:51, Taylor said:

    Great help! Great command. Got me out of a jam. Thanks for posting!

    [Reply]

    • [...] screen) can be accomplished with stsadm -o provisionservice. Deleting it can be done using stsadm -o deleteconfigurationobject (though this one does seem to have side [...]

      • At 2011.10.10 16:33, Adrian Murphy said:

        Remarkable that (in some situations) a Service Application can not be deleted in Central Admin, nor with PowerShell and that we are forced to use stsadm.

        Great that it works though.

        [Reply]

        • At 2011.11.16 10:07, Vlad said:

          How can I know the appropriate ID (f.e. if I try to delete some custom Managed Metadata service)?

          [Reply]

          • At 2011.11.16 10:19, Peter Stilgoe said:
            peter.stilgoe

            Powershell: Get-SPServiceApplication will list service applications, names & ID’s

            [Reply]

            (Required)
            (Required, will not be published)