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,
Krishnan


SPONSORED LINKS
C programming language C programming language Software programming language
Java programming language History of computer programming language


YAHOO! GROUPS LINKS




Reply via email to