General access denied error ???

Results 1 to 2 of 2

Thread: General access denied error ???

  1. #1
    Join Date
    Dec 1969

    Default General access denied error ???

    Hi there I have some problems to run a script that creates a Active Directory user.<BR><BR>This is the code used;<BR><BR>&#060;%@Language=VBScript%&#062;<BR>& #060;%Option Explicit%&#062;<BR>&#060;%<BR><BR>AddUser "Fantazya_Frej",""<BR> <BR> Sub AddUser(strUser,strDomain)<BR> Dim Computer<BR> Dim User<BR><BR> Set Computer = Getobject("WinNT://" & strDomain)<BR> Set User = computer.create("User",strUser)<BR> User.setinfo<BR><BR> Set User = nothing<BR> Set computer = nothing<BR><BR> End sub<BR><BR>%&#062;<BR><BR>And the Error;<BR><BR>Error Type:<BR>Active Directory (0x80070005)<BR>General access denied error <BR>/webmail/Skapa_ADSI1.asp, line 13<BR><BR>Well... I know so much that I have to give something some administrator rights, but I dont know who, where and how?<BR><BR>Thanks for answeres!

  2. #2
    Join Date
    Dec 1969

    Default RE: General access denied error ???

Posting Permissions

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