ADSI & Windows NT SP5 & IE5 
Author Message
 ADSI & Windows NT SP5 & IE5

I've run into a problem with ADS, and NT SP5 & IE 5.  A program that I wrote
for our helpdesk to allow them to change passwords and unlock accounts has
stopped working.  This program was being used daily for about 4 months,
without problems.  This past weekend I upgraded our PDC (Windows NT 4.0)
with SP5 and IE 5, and my program stopped working.  I verified the users
still have rights on domain, and also tried changing passwords through user
manager - everything is set correctly.

When we try running my program I'm getting a "run time error 70".

If anyone else has run into this problem, and can offer any suggestions I
would appreciate it.  I've even re-installed all the ADS stuff and nothing
seems to help.

Chris



Fri, 15 Feb 2002 03:00:00 GMT  
 ADSI & Windows NT SP5 & IE5
I forgot to mention that my code does work from a Windows NT machine, but
currently it won't
work from a Windows 95 machine.  Am I missing something here?

My code follows:

  Private Sub Command2_Click()
    username = User_Name_fld
    Set UserObj = GetObject("WinNT://<MYDOMAIN/" & username)

    If UCase(username) = "ADMINISTRATOR" Then

       MsgBox "You are not allowed to change this password"

    Else

       If New_Pwd_fld <> Conf_Pwd_fld Then
          MsgBox ("Passwords do not match" & vbCrLf & "Please re-confirm")
        Else
          UserObj.SetPassword (Conf_Pwd_fld)
          MsgBox ("Password for " & username & " was reset to: " &
Conf_Pwd_fld)
          Unload Me
       End If
    End If
End Sub

Thanks,

Chris


Quote:

> I've run into a problem with ADS, and NT SP5 & IE 5.  A program that I
wrote
> for our helpdesk to allow them to change passwords and unlock accounts has
> stopped working.  This program was being used daily for about 4 months,
> without problems.  This past weekend I upgraded our PDC (Windows NT 4.0)
> with SP5 and IE 5, and my program stopped working.  I verified the users
> still have rights on domain, and also tried changing passwords through
user
> manager - everything is set correctly.

> When we try running my program I'm getting a "run time error 70".

> If anyone else has run into this problem, and can offer any suggestions I
> would appreciate it.  I've even re-installed all the ADS stuff and nothing
> seems to help.

> Chris




Fri, 15 Feb 2002 03:00:00 GMT  
 ADSI & Windows NT SP5 & IE5
Chris,

According to Microsoft, ADSI 2.0 and 2.5 has some incompatibility issues
with MDAC 2.1, which is included in IE5.  Their basic solution is don't
install IE5 on any box where you need 100% functionality from ADSI.
<sarcasm>Nice solution</sarcasm>.  The following link is somewhat related:

http://support.microsoft.com/support/kb/articles/q216/7/09.asp?FR=0

~ Chris Bray

Quote:

>I've run into a problem with ADS, and NT SP5 & IE 5.  A program that I
wrote
>for our helpdesk to allow them to change passwords and unlock accounts has
>stopped working.  This program was being used daily for about 4 months,
>without problems.  This past weekend I upgraded our PDC (Windows NT 4.0)
>with SP5 and IE 5, and my program stopped working.  I verified the users
>still have rights on domain, and also tried changing passwords through user
>manager - everything is set correctly.

>When we try running my program I'm getting a "run time error 70".

>If anyone else has run into this problem, and can offer any suggestions I
>would appreciate it.  I've even re-installed all the ADS stuff and nothing
>seems to help.

>Chris




Tue, 19 Feb 2002 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. ADSI & Windows NT SP5 & IE5

2. Windows 95/NT clients & ADSI

3. ADSI & NT Domain

4. NO puedo bajar el ie5 !!!!!!!!!@#%&&$%·"·

5. *&*&*&* Date math question *&*&*&*

6. Mac&StyleScript&EPS&ClarisWorks&Ill7

7. X Window Ghostscript & ghostview for Windows NT

8. VBScript & Windows NT Event Log

9. VBScript & Windows NT Event Log

10. &#12493;&#12483;&#12488;&#12466;&#12540;&#12512; &#12458;&#12475;&#12525;, &#12452;&#12531;&#12479;&#12540;&#12493;&#12483;&#12488;&#12398;&#12362;&#37329;&#12434;&#31292;&#12368;, &#12458;&#12531;&#12521;&#12452;&#12531;&#12466;&#12540;&#12512;&#123

11. VB, RDO & Windows NT.

12. Windows NT name & Visual Basic

 

 
Powered by phpBB® Forum Software