PDA

Click to See Complete Forum and Search --> : ADSI Problem


asad_s23
Sep 30th, 2000, 09:40 AM
Dear!
i m using ADSI scripts to automate some administrative
purposes for my NT Domain.
i used following statement:
dim adsuser
set adsuser = getobject("WinNT://MyDomain")
i got the error 'the network path was not found'
domain name that i m using is 100% correct and it matches
my domain name.

r there some other reasons that may cause this error
please reply me as soon as possile.
Waiting for ur cooperation.

rscott
Oct 2nd, 2000, 03:50 PM
You must make sure that your project references
Active DS Type Library - then
I think you must dim adsUser as shown below.

dim adsuser As IADsUser

Hope this works.