Link to home
Start Free TrialLog in
Avatar of liquid22
liquid22

asked on

Compliation Error

Hi All,
I've made a simple web form to query Active Directory thanks to some other code I found on this site howerver I'm getting a compliation error in my testing.

BC30466: Namespace or type 'DirectoryEntry' for the Imports 'System.DirectoryServices' cannot be found.

Any idea why I'd get this error?  The server running is 2003 enterprise with all the lastest and greatest patches, including SP1 for 2003.  

Thanks.
Avatar of laotzi2000
laotzi2000

You should add a reference to the dll for that namespace in your project.
Avatar of liquid22

ASKER

What if I'm not using a project?  I'm coding in Dreamweaver and am not using any type of .NET development application.
ASKER CERTIFIED SOLUTION
Avatar of laotzi2000
laotzi2000

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I'l go ahead and award the points to you since I think I know my problem now.  I copied and pasted the code behind page but I bet I need to compile that using VB.NET or a similar app so that I can add the reference you're talking about.  I'll give that a shot.  Thanks.