Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to tidy up an IIS server. I have removed some test/uat virtual directories however I am not able to remove the application pools. I get the following error message.

alt text

Any hints on how I go about resolving this?

share|improve this question
up vote 3 down vote accepted

If you open the Application Pool "tree" you should see which applications are associated to that pool. Of course, if all your application use the "Standard Application" name, this information has no value. So, when I create new applications, I always give them a meaningful name.

Second tip: you could give IIS Metabase Analyzer a try:

As the name implies, the application looks at IIS Metabase information to determine which IIS Web applications are running under which IIS Web sites. Additionally, it determines which Application Pools those websites and web applications are running under. When a version conflict is detected, IIS Metabase Analyzer alerts you to it and then it's up to you to fix the issue with the IIS Management tools.

share|improve this answer
Cheers splattne, the analyzer tool was a great help. – redsquare Jul 14 '09 at 9:33

Unfortuatnely there is not an easy way that I know of to list what applications belong to which application pool, you will have to go through each site and check all the applications to see what pool they are in and re-assign if necessary.

share|improve this answer

Try creating a dummy directory with the same name and location as the virtual directory. Open IIS manager. Your directory should show up as a virtual directory. Now delete it from IIS manager...and voila...your app pool would be empty. You can now delete the app pool

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.