• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 207
  • Last Modified:

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.
0
liquid22
Asked:
liquid22
  • 2
  • 2
1 Solution
 
laotzi2000Commented:
You should add a reference to the dll for that namespace in your project.
0
 
liquid22Author Commented:
What if I'm not using a project?  I'm coding in Dreamweaver and am not using any type of .NET development application.
0
 
laotzi2000Commented:
I don't know about dreamweaver.
But I believe that there is somewhere to add a reference.
What it does is adding "/r:xxx.dll" option to the compiler.
0
 
liquid22Author Commented:
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.
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now