Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ADSI, set up new user, setpassword problem

Status
Not open for further replies.

Clementswoman

Programmer
Joined
Oct 28, 2002
Messages
1
Location
US
I am trying to set up a new user via ASP.NET on my Windows 2000 Domain controller and I continue to receive the error "Network Path not found" I am using LDAP to connect to my Domain Controller. I set up the user and commit and then try and set the password using this code:

objUser.Invoke("SetPassword", "newpass")

I have tried also adding this before I commit again and it doesn't work either. When I check the Domain controller I can see that it adds the user, it just will not let me manipulate the password.

objUser.Properties("accountdisabled").Value = False

Please help. This has become a three day problem!

Thanks :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top