Split off from
http://forums.asp.net/t/1766514.aspx/1?Unknown+error+0x80005000+System+DirectoryServices+occurring+randomly. Please don't necropost.
Hello,
I am having the exact same probblem and this has been driving me crazy for a couple of weeks. I'm using the following code and it runs for a while just fine then it starts throwing this error and I need to restart IIS.
String path;
if (server.Contains("adroot"))
path = String.Format("GC://{0}", server);
else
path = String.Format("LDAP://{0}", server);
try
...
Go to the complete details ...