473,404 Members | 2,213 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,404 software developers and data experts.

Debugging DirectoryServices Namespace under IIS????

Greetings:

Ok, I know the .NET framework is supposed to make things easier, but at this
point, I am rapidly getting the impression that .NET stinks compared to ADSI
when it comes to interfacing with AD through IIS....

In general, can anyone help me figure out how to debug connectivity issues
to my domain when attempting to use System.Directory Services in a web
page???

I have found numerous posts on the net of other individuals having similar
problems. Most of them seem to be discouraged by the uninformative nature
of the errors, and the lack of cross-referenced information about how the
class expects the LDAP connector to be formatted. For instance, do I need
to connect to LDAP://dc=domain,dc=com, or should I be using
LDAP://server/RootDSE?

Obviously, there are many who know how to make this work, but the amazing
amount of people who simply respond with only which namespace to use has
become not only arrogant and condescending, but incredibly discouraging
about the technology as a whole.

So, if you do know how to make Active Directory queries work using the
System.DirectoryServices namespace from an IIS 5 web server on a domain that
does NOT distribute information to anonymous users, and you DO want the
security context to be that of the user who is actually viewing the web
page, I would greatly appreciate some detailed information on how to make
secure AD queries from an aspx web page (without coding a username and
password into a web.config or machine.config file). MSVPs!!! Please renew
my hopes for .NET!!!

Thank you in advance.

Keith C. Jakobs, MCP
Jul 21 '05 #1
0 1080

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: bob | last post by:
Hi, Is this the right place to dicuss Visual Studio 2005 and .Net 2? I am try to implement a class (already using Windows Authentication) where I am given a user name and I return a list of...
12
by: hykim | last post by:
Hello, everyone. according to MSDN, there is any constructor of System.DirectoryServices.SearchResultCollection Class. if I implement DirectorySearcher.FindAll() method by myself, then how can I...
1
by: Gaab | last post by:
Hi Folks, After the weekend I wanted to start working on my c#/asp.net project, but when I tried to open it on my machine i got the following error: Compilation Error Description: An error...
2
by: Julien | last post by:
Hello, I'm quite new in the .Net Framework Environment. I am currently trying to develop a VB.net appli that connects to my domain Active Directory using the "Microsoft.DirectoryServices"...
2
by: Kelvin | last post by:
Hello I am using web matrix develop a login page through Active Directory but I cannot figure out why it is giving me an error when importing system.directoryServices. Any help will do! thank ...
5
by: Keith Jakobs, MCP | last post by:
Hi All.... I'm having a HECK of a time connecting to Active Directory using VB in Visual Studio.NET 2003. Can anyone PLEASE help me? All I am trying to do is list the current members of our...
0
by: Keith Jakobs, MCP | last post by:
Greetings: Ok, I know the .NET framework is supposed to make things easier, but at this point, I am rapidly getting the impression that .NET stinks compared to ADSI when it comes to interfacing...
6
by: Mark Rae | last post by:
Hi, I'm in the process of updating an ASP.NET v1.1 web app to v2. The app uses ActiveDirectory a great deal, and I'm trying to use the new System.Collections.Generic namespace where possible,...
1
by: aamirghanchi | last post by:
Hi, I recently converted an ASP .net 1.1 project to 2.0 in VS 2005. Even though System.DirectoryServices reference has been added to the project, still for some reasons the Imports...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.