Major Active Exception while accessing creating user : Exception 0000202B: RefErr: DSID-031007EF, data 0, 1 access points" [extended Error 8235]

Vivek picture Vivek · Nov 5, 2011 · Viewed 13.9k times · Source

I need to read the Active Directory, search users and create user functionality.

I am able to use DirectoryEntry in C# and Domain is only physical server.

In my production environment, I have two physical domain servers with same domain name. When I try to search the AD user or create, I am getting the following exception.

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

Note that I have Domain Admin privileges on the domain but I'm still having the same issue.

Answer

Onlyjob picture Onlyjob · Aug 5, 2013

0000202B: could mean wrong DN/searchbase like incorrect DC value etc.