Solved

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

Posted on 2008-06-15
7
1,232 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
  • 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
Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

 
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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

747 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now