|
You must run the EXE as administrator.
Just using the normal way will launch the EXE in non-admin mode and when the
user tries to write to Active Directory it receives Access Denied. From: Hi, I found the posting in the link below. I am also facing the same problem exactly like this. the
windows service is trying to call a exe which will try to create a new user in
Active Directory 2000. The exe is creating the new user when the exe is executed
through the debug mode, but the same exe is not able to create the user while
it is called by a windows service. It breaks in the statement objSResult = objSearch.FindOne(); It is not
able to find the existing user. I also
verified in the GPO, "Deny Log on as a service" is not set. Any ideas
how to solve this problem. How to use the imperosantion in the code and what it
will exactly do in this case. ( I mean why should i use impersonation here). Immediate
reply is much appreciated. Regards,
SPONSORED LINKS
YAHOO! GROUPS LINKS
|
- [Microsofts_C_Sharp] "The authentication mechanism is unknow... Krishnan
- RE: [Microsofts_C_Sharp] "The authentication mechanism ... Rob
