?
Solved

Why i cannot add a reference System.DirectoryServices to my web project?

Posted on 2008-06-15
7
Medium Priority
?
1,306 Views
Last Modified: 2013-11-26
Hi all,
i am trying to use LDAP to my project. but when i add reference to my web project, i keep getting an error:
A reference to System.DirectoryServices could not be added.
why is that? i can select the System.DirectoryServices from "Add reference" popup window and when i click "OK", THIS ERROR POPS UP.

do you know what's going on? do i need to install something?
i am using VS2005.

thanks
0
Comment
Question by:viola123
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
7 Comments
 
LVL 53

Expert Comment

by:Dhaest
ID: 21791055
How to use the System.DirectoryServices namespace in ASP.NET
http://support.microsoft.com/kb/329986

How to use Active Directory with ASP.NET using LDAP?
http://www.tek-tips.com/faqs.cfm?fid=5440
0
 
LVL 6

Author Comment

by:viola123
ID: 21791147
hi,
the link you provided are very good reference to how to use LDAP. But my current problem is i cannot add the reference to my web project. do i need to reinstall VS2005? cos my colleague can add it easily.

thanks
0
 
LVL 53

Expert Comment

by:Dhaest
ID: 21791160
I guess that reïnstalling your visual studio will be the easiest solution.
If that also doesn't work, then you'll have to reïnstall your complete pc.
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 6

Author Comment

by:viola123
ID: 21791366
hi,
i will install vs2005 sp1 to see if it works, if not, have to reinstall vs2005.
0
 
LVL 53

Expert Comment

by:Dhaest
ID: 21819851
Any luck with the reïnstall ?
0
 
LVL 6

Accepted Solution

by:
viola123 earned 0 total points
ID: 21827409
hi,
i found the reason. that is because my colleague checked in bin folder to VSS. when i try to add a reference, the error comes up cos the bin folder is locked.

thanks a lot
viola
0
 
LVL 53

Expert Comment

by:Dhaest
ID: 21830056
Glad to see that the problem is solved.
Please don't forget to close this question so that the CV have less work :)
You have answered the question yourself: http://www.experts-exchange.com/help.jsp#hi331

0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
Suggested Courses

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question