Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_web_howto thread: How do i work with Active directory AND ASP


Message #1 by adi@a... on Sat, 23 Jun 2001 10:20:24
Hi,



How do I work with Active Directory from an ASP Page ?

Using ADO ???



Thanks,



   DD
Message #2 by "Ronald I. Herman" <rherman@f...> on Fri, 29 Jun 2001 20:28:28
> Hi,

> 

> How do I work with Active Directory from an ASP Page ?

> Using ADO ???

> 

> Thanks,

> 

>    DD



Have you gotten any information on this?  Using an example from

the O'Reilly book, Windows 2000 Active Directory, I added a call to

GetObject to bind to an AD object.  However, I get the following

message:



    HTTP 500.100 - Internal Server Error - ASP Error



    Error Type:

    (0x8007054B)

    /FRB/test.asp, line 13



If I just bind to the LDAP namespace, i.e.

    Set adsNamespace = GetObject("LDAP:")



I get no error.  However, if I add the correct path of

an object, i.e.

    Set adsObject = GetObject("LDAP://dc=frs,dc=frb,dc=gov")



I get the aforementioned error. I checked that I have read

permission to that object.



Any ideas?



Thanks,

Ron


  Return to Index