Meeting the needs of your business from a distance

Win32: The library, drive, or media pool must be empty to perform this.

by Mark Shiffer 8/4/2008 8:52:00 AM
I recently received this error when programmatically attempting to delete an application pool in IIS. Upon examination of IIS, the system thought the application pool was assigned to a virtual directory that no longer existed. I tried to delete the application pool manually in IIS and received a similar error (worded differently though). I searched through all of the virtual directories on the server and did not find any that were referencing the application pool. Still, IIS was showing the application pool as being assigned to a virtual directory. To get around this, I created a virtual directory with the name that it thought it was already assigned to and assigned the application pool to that new virtual directory. I then unassigned the application pool and was able to delete it. Odd...

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: , , ,

Issues

Related posts

Add comment


(Will show your Gravatar icon)  

  Country flag





Live preview

November 21. 2008 07:51

About the author

Name of author Mark Shiffer
CEO & CIO of MS Consulting

E-mail me Send mail

Calendar

<<  November 2008  >>
MoTuWeThFrSaSu
272829303112
3456789
10111213141516
17181920212223
24252627282930
1234567

View posts in large calendar

Pages

    Recent posts

    Recent comments

    Disclaimer

    The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

    © Copyright 2008

    Sign in

    Copyright © 2001-2008 MS Consulting, Inc. All Rights Reserved.