Last post Jul 15, 2013 04:54 AM by mark1961
Jul 12, 2013 07:24 AM|mark1961|LINK
Im trying to authenticate on our DEV intranet with code that is working on my local machine.
however i get this error :-
System.DirectoryServices.DirectoryServicesCOMException (0x80072020): An operations error occurred. at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail) at System.DirectoryServices.DirectoryEntry.Bind() at System.DirectoryServices.DirectoryEntry.get_NativeObject()
Its not that helpful but i wondered if anyone else had encountered this error and what may be causing it.
The User.Identity.Name is returning the correct ID
Jul 12, 2013 08:55 AM|shabirhakim1|LINK
I guess this is permission issue when you are creating DirectoryEntry Instance just try to pass credentials of permitted user like
DirectoryEntry directoryEntry =
otherise just see this support article from micrsoft regarding this error
Jul 15, 2013 04:54 AM|mark1961|LINK
i was hoping it was possible to authenticate just on the username (user.identity.name) of the machine logged in account...