The main active exception when accessing user creation: Exception 0000202B: RefErr: DSID-031007EF, data 0, 1 access points "[extended error 8235]

I need to read Active Directory, search for users, and create custom functions.

I can use DirectoryEntry in C #, and Domain is just a physical server.

In my production environment, I have two physical domains with the same domain name. When I try to search for an AD user or create, I get the following exception.

Exception: "0000202B: RefErr: DSID-031007EF, data 0, 1 access points" [extended error 8235]

Please note that I have domain administrator rights in the domain, but I still have the same problem.

+6
source share
3 answers

0000202B: may indicate an invalid DN / searchbase, such as an invalid DC value, etc.

+4
source

Your problem looks like a DNS problem. I know that this is a spelling, I have a statistical chance of 80% to be right. Check the resolution of the domain name with your client. Check your DNS and make sure your two domain controllers are well registered.

+3
source

The error you get is related to referall:

ERROR_DS_REFERRAL 8235 (0x202B) The referral was returned from the server.

You may find error codes associated with this MSDN article .

+1
source

Source: https://habr.com/ru/post/900838/


All Articles