Error 0x80005000 and DirectoryServices

后端 未结 13 1814

I\'m trying to run a simple LDAP query using directory services in .Net.

    DirectoryEntry directoryEntry = new DirectoryEntry(\"LDAP://someserver.contoso.c         


        
相关标签:
13条回答
  • 2020-11-29 05:12

    I had this error as well and for me it was an OU with a forward slash in the name: "File/Folder Access Groups".

    This forum thread pointed me in the right direction. In the end, calling .Replace("/","\\/") on each path value before use solved the problem for me.

    0 讨论(0)
提交回复
热议问题