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

折月煮酒 提交于 2019-11-30 05:17:37

问题


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.


回答1:


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




回答2:


Your problem looks like a DNS problem. I know writting that, I've got statisticaly 80% chance being right. Check the domain name resolution from your client. Check your DNS and verify that your two domain controlers are well registered.




回答3:


The error you are getting is referall related:

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

You can find the error codes linked at this MSDN Article.



来源:https://stackoverflow.com/questions/8019332/major-active-exception-while-accessing-creating-user-exception-0000202b-refer

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!