Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

How to Delete Application Pools

  Asked By: Anushka    Date: Sep 26    Category: Sharepoint    Views: 4458

I am seeing application pools within IIS that I previously deleted
within IIS. The application pools appear after adding a new WFE server
to an existing server farm.

The old application pools also exist within Sharepoint Central
Administration when viewing 'Operations' Tab, then 'Service Accounts'.
What is the right way to delete application pools so that Sharepoint
and IIS are in-synch?



3 Answers Found

Answer #1    Answered By: Breann Beach     Answered On: Sep 26

I don't think there is any way to delete  an Application Pool once its
been used in SharePoint. I've seen this question several times and I've
never seen a solution. The key is to not create any pools  that you don't
intend to use. You can of course always re-use pools that were created
in the past and are no longer used. Otherwise, deleting them in IIS
will remove them from the production environment until you add a WFE.
This will automatically recreate them because they are stored in the
SharePoint Config database.

Answer #2    Answered By: Timothy Hall     Answered On: Sep 26

I have noticed in a test environment that if you delete  a web
application and it's the only web app associated with an application
pool, then it will delete the application  pool as well. Make sure you
check Yes to Delete IIS Web sites when deleting web app.

Answer #3    Answered By: Ian Powell     Answered On: Sep 26

That works because it automatically deletes the App Pool in IIS. But I
think you will find that if you add a new WFE to SharePoint the App Pool
will be recreated because a reference to it is still stored in the
SharePoint Configuration database.

Didn't find what you were looking for? Find more on How to Delete Application Pools Or get search suggestion and latest updates.