Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > Active Directory error '80070005' (GetObject)

Reply
Thread Tools

Active Directory error '80070005' (GetObject)

 
 
Bohous
Guest
Posts: n/a
 
      09-02-2005
I create an ASP application for Windows 2003 server (Czech) with Exchange
2003. When I want to create new user in Active Directory from my application
- this error occurs:
Active Directory error 80070005'
General Access error denied

Web application runs under ADMINISTRATOR account and problematic code is:

Set oOU = GetObject("LDAP://test.test.cz/ou=skup,dc=test,dc=test,dc=cz")
Set oUser = oOU.Create("User", "cn=" & "Test" & " " & "Tester")
oUser.Put "sAMAccountName", "Test13"
oUser.SetInfo

 
Reply With Quote
 
 
 
 
Jeff Cochran
Guest
Posts: n/a
 
      09-02-2005
On Fri, 2 Sep 2005 00:23:03 -0700, Bohous
<(E-Mail Removed)> wrote:

>I create an ASP application for Windows 2003 server (Czech) with Exchange
>2003. When I want to create new user in Active Directory from my application
>- this error occurs:
>Active Directory error 80070005'
>General Access error denied
>
>Web application runs under ADMINISTRATOR account and problematic code is:
>
>Set oOU = GetObject("LDAP://test.test.cz/ou=skup,dc=test,dc=test,dc=cz")
>Set oUser = oOU.Create("User", "cn=" & "Test" & " " & "Tester")
>oUser.Put "sAMAccountName", "Test13"
>oUser.SetInfo


Are you sure the code runs as admin?

Jeff
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
System.IO.Directory.GetDirectories() and System.IO.Directory.GetFiles() are not returning the specified directory Nathan Sokalski ASP .Net 2 09-06-2007 03:58 PM
Error when installing Active Directory (Windows Server 2003) =?Utf-8?B?bjFjaG9sYXM=?= MCSE 6 01-10-2006 05:40 PM
Active Directory Search fails ("The directory service is unavailab ejcosta ASP .Net Security 2 10-08-2004 09:57 AM
active directory and asp.net error. Jamie ASP .Net 2 11-10-2003 07:10 AM
ASP ERROR: error '8002801d' -> Library not registered. : my Active Server Pages are not so active. carlos seramos ASP General 2 08-01-2003 02:57 AM



Advertisments