p2p.wrox.com Forums

Need to download code?

View our list of code downloads.


  Return to Index  

proasp_howto thread: Accessing Active Directory


Message #1 by "Mark Emerson" <Mark_Emerson83@H...> on Wed, 14 Aug 2002 11:15:37
The error message I get is the one which is coded in to the ASP script.  Where it says 
Dim oClassSchema
Set oClassSchema = GetObject(oObject.Schema)if (err.number <> 0) then              Response.Write "Failed to bind to class
schema object" ###The above line is displayed because there is an error in binding to the schema#####              Response.Endend
if
This example is taken straight from the book! I  have even dowloaded the example to check I had no typo's surely this should work!
Thanks for your help

>From: "Andrew Haslett" 
>Reply-To: "Pro ASP HowTo" 
>To: "Pro ASP HowTo" 
>Subject: [proasp_howto] RE: Accessing Active Directory 
>Date: Thu, 15 Aug 2002 11:06:31 +0930 
> 
>Whats the error? 
> 
>-----Original Message----- 
>From: Mark Emerson [mailto:Mark_Emerson83@H...] 
>Sent: Wednesday, 14 August 2002 11:16 AM 
>To: Pro ASP HowTo 
>Subject: [proasp_howto] Accessing Active Directory 
> 
> 
>I get the following proble when trying to connect to Active Directory 
>using LDAP, 
> 
>I am using the PropertyBrowseEx.asp example in chapter 21 (ADSI and Active 
>Directory) of Professional ASP 3.0. 
> 
>When I enter the LDAP path to my requested User I get an error when it 
>attempts to retrieve the objects schema. 
> 
>Below is the code I am using in case you do not have the book at hand 
> 
> 
><%
>Dim strADsPath
>strADsPath = Request.QueryString("strADsPath")
>%> 
> 
>

>

>
>
> 
>Send and receive Hotmail on your mobile device: Click Here

  Return to Index