Solved

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

Posted on 2008-06-15
7
1,237 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
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

 
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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
ADO.NET ENTITY DATA MODEL 3 32
Using C#, how could you improve upon my method of writing out a merged, compressed file? 2 34
SQL Login 17 40
Reset asp.net login password 4 32
ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …

895 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

16 Experts available now in Live!

Get 1:1 Help Now