Erk, I'm really not sure why, but what if you just do something like:



using (DirectoryEntry appPools = new DirectoryEntry(MetabasePath))
{
DirectoryEntry newPool =...