Results 1 to 2 of 2

Thread: ADSI Problem

  1. #1

    Thread Starter
    Junior Member
    Join Date
    May 2000
    Location
    Karachi,Pakistan
    Posts
    16

    Unhappy

    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.

  2. #2
    New Member
    Join Date
    Jun 1999
    Location
    Pikeville, KY, USA
    Posts
    12

    Smile

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width