Having problem setting the password for an ADAM user using C
Windows Server Forum Index Windows Server
Server discussion on Windows platform.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web winserverhelp.com
Having problem setting the password for an ADAM user using C

 
Post new topic   Reply to topic    Windows Server Forum Index -> Active Directory
Author Message
Ann
Guest





Posted: Mon Jan 17, 2005 7:07 am    Post subject: Having problem setting the password for an ADAM user using C Reply with quote

Hi

I'm having problem setting the password for an ADAM user using C#,
when I call
objUser.Invoke("SetPassword", new object[]{"mypassword"});

It throws an exception "Exception has been thrown by the target of an
invocation"
I really appreciate anyone who has any suggestions!

Ann
Back to top
Lee Flight
Guest





Posted: Mon Jan 17, 2005 3:57 pm    Post subject: Re: Having problem setting the password for an ADAM user usi Reply with quote

If you Google groups for ADAM SetPassword, you will see some of the
problems that others have experienced. Probably the most common
problem in this area is failing to have a secure channel in place for the
password operation. See Security Considerations in the start_here.htm
file in the directory where you unpacked ADAM.

If none of those seem to match your problem then please post a snip of
your code and tell us on which operating system you are running ADAM.

Thanks
Lee Flight

"Ann" <Ann@discussions.microsoft.com> wrote in message
news:1BC810FF-E4DC-4C6F-A960-19562AE4CE90@microsoft.com...
Quote:
Hi

I'm having problem setting the password for an ADAM user using C#,
when I call
objUser.Invoke("SetPassword", new object[]{"mypassword"});

It throws an exception "Exception has been thrown by the target of an
invocation"
I really appreciate anyone who has any suggestions!

Ann
Back to top
Ann
Guest





Posted: Tue Jan 18, 2005 4:49 am    Post subject: Re: Having problem setting the password for an ADAM user usi Reply with quote

Hi Lee,

Thanks heaps.

Best regards,
Ann



"Lee Flight" wrote:

Quote:
If you Google groups for ADAM SetPassword, you will see some of the
problems that others have experienced. Probably the most common
problem in this area is failing to have a secure channel in place for the
password operation. See Security Considerations in the start_here.htm
file in the directory where you unpacked ADAM.

If none of those seem to match your problem then please post a snip of
your code and tell us on which operating system you are running ADAM.

Thanks
Lee Flight

"Ann" <Ann@discussions.microsoft.com> wrote in message
news:1BC810FF-E4DC-4C6F-A960-19562AE4CE90@microsoft.com...
Hi

I'm having problem setting the password for an ADAM user using C#,
when I call
objUser.Invoke("SetPassword", new object[]{"mypassword"});

It throws an exception "Exception has been thrown by the target of an
invocation"
I really appreciate anyone who has any suggestions!

Ann


Back to top
 
Post new topic   Reply to topic    Windows Server Forum Index -> Active Directory All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




New Topics Powered by phpBB