ActiveDirectory error 0x8000500c when traversing properties

前端 未结 5 1924
北荒
北荒 2020-12-11 05:07

I got the following snippet (SomeName/SomeDomain contains real values in my code)

var entry = new DirectoryEntry(\"LDAP://CN=SomeNa         


        
5条回答
  •  半阙折子戏
    2020-12-11 05:42

    Using the Err.exe tool here

    http://www.microsoft.com/download/en/details.aspx?id=985

    It spits out:
    for hex 0x8000500c / decimal -2147463156 :
    E_ADS_CANT_CONVERT_DATATYPE adserr.h
    The directory datatype cannot be converted to/from a native
    DS datatype
    1 matches found for "0x8000500c"

    Googled "The directory datatype cannot be converted to/from a native" and found this KB: http://support.microsoft.com/kb/907462

提交回复
热议问题