An object in the SharePoint administrative framework could not be deleted because other objects depend on it.
Today I was trying to delete a corrupt Web Application to clean out my Web Application List in Central Administration.
The following error occured:
An object in the SharePoint administrative framework could not be deleted because other objects depend on it.
Step 1
My first step was to run the SharePoint 2010 Management Shell (PowerShell). By using this command line:
1 |
stsadm -o enumdeployments |
I was able to trace the currently running deployment jobs.
Step 2
The second step was copying the JobId and run the following command line:
1 |
stsadm -o canceldeployment -id “JobId” |
Now I can go on removing my Web Application, without any errors.