"An object of the type Microsoft.SharePoint.Administration.SPIisWebServiceApplicationPool named "Excel Service Application Pool" already exists under the parent Microsoft.SharePoint.Administration.SPIisWebServiceSettings named "SharePoint Web Services". Rename your object or delete the existing object."
In another case: An application pool already exists with the name specified
So, How to delete the unused application pool? From IIS? Nope. IIS will not provide the interface for managing service application's application pools. But we can delete service application's application pool in SharePoint 2010 using powershell.
Use these below cmd-let to get list of service application's application pools.
SharePoint 2010 delete orphaned application pool: To delete a application pool of service application, use the cmdlet:
E.g. Remove-SPServiceApplicationPool -Identity <Orphaned Application Pool Name>
Get-SPServiceApplicationPool -Identity "name of the app pool" | Remove-SPServiceApplicationPool
You might also like:
SharePoint Usage Reports
Usage reports, collaboration and audit for SharePoint.
Document SharePoint Farm
Automatically generate SharePoint documentation.