0x80005000 Exception IIS and Windows 2008 Server


By Robbe Morris
Printer Friendly Version
  

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.


Biography
Robbe is a 2004-2008 Microsoft MVP for C# and the Chief Technology Officer for Equals Solved.  He is responsible for the architecture and development of AdvancedXL Server, Designer, and Data Analyzer.  He is also the co-founder of EggHeadCafe. Robbe enjoys scuba diving with the folks at wet-n-fla in Lake Mary, FL.


button

 
Article Discussion: 0x80005000 Exception IIS and Windows 2008 Server
Robbe Morris posted at 29-Dec-07 05:07
Original Article