0x80005000 Exception IIS and Windows 2008 Server

If you use .NET DirectoryServices and get COM exceptions like this lovely one "0x80005000" (unknown error) when referencing DirectoryEntry objects, simply install the following:

The IIS Metabase and IIS6 Configuration Compatibility is not automatically installed when you enable the Web Server role in Windows 2008 Server.  If you enable this feature, your old DirectoryServices code in .NET should work like it used to.
By Robbe Morris   Popularity  (3875 Views)
Picture
Biography - Robbe Morris
Robbe has been a Microsoft MVP in C# since 2004. He is also the co-founder of NullSkull.com which provides .NET articles, book reviews, software reviews, and software download and purchase advice.  Robbe also loves to scuba dive and go deep sea fishing in the Florida Keys or off the coast of Daytona Beach. Microsoft MVP