How to resolve “The server does not support the control. The control is critical.” Active Directory error

后端 未结 3 1333
礼貌的吻别
礼貌的吻别 2020-12-21 08:10

When trying to get all users from AD based on a role I was getting the exception:

System.DirectoryServices.Protocols.DirectoryOperationException: The

3条回答
  •  没有蜡笔的小新
    2020-12-21 08:58

    The solution posted in response to thread Paged LDap search fails with “The requested attribute does not exists” helped me with my issue too. I was using AuthType.Basic and changing it to AuthType.Ntlm had the paging code running fine. I doubt it will affect any other piece of AD code that I have but I'll check and post if I find anything to watch out for.

    Thanks.

提交回复
热议问题