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.
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'
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.
You should add a reference to the dll for that namespace in your project.
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
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.