Quantcast
Channel: Directory Services forum
Viewing all articles
Browse latest Browse all 31638

Need Help on DirectorySearcher.DirSync

$
0
0

 I am using DirSync to get the changes from active directory...Its working fine if the directoryEntry is binded to the root (LDAP://DCNAME/DC=domain,DC=com)... If i change the directoryEntry path to (LDAP://DCNAME/CN=users,DC=domain,DC=com) then i am getting no changes and when i try to access the SearchResultCollection.Count it gives 

"System.Runtime.InteropServices.COMException was unhandled
  Message=Access is denied.

  Source=System.DirectoryServices
  ErrorCode=-2147024891"

(I am using Domain Admin Account)


bin hex


Viewing all articles
Browse latest Browse all 31638

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>