Friday, September 28, 2012

Error When Deleting a SharePoint 2010 Web Application

Scenario: You have just created a new Web Application in SharePoint 2010 but realized after hitting the "ok" button that you have mistyped an application pool name or even entered the wrong port number. You try deleting this newly created Web Application through Central Admin and PowerShell but unfortunately receive the following error:

"Unprovisioning (your web application name) already exists under the parent Microsoft.SharePoint.Administration.SPWebService named "". Rename your object or delete the existing object."

Fix: You need to delete the Timer Job Definition called "Unprovisioning Web Application (your web application name)". This is because SharePoint is still trying to delete the Web Application from your unsuccessful steps before. 

To delete this Timer Job Definition, go to Central Admin -> Monitoring -> Review Job Definitions -> Paginate to the Job Definition called "Unprovisioning Web Application (your web application name)". Click on it and select Delete. 

Now you can delete your Web Application successfully.

1 comment:

  1. Thank you for sharing excellent informations. Your website is so cool. I am impressed by the details that you’ve on this blog. It reveals how nicely you perceive this subject. Bookmarked this website page, will come back for more blogs. Professional Website Design Company