Re: ASP.NET and Active Directory Authentication
From: Paul Clement (UseAdddressAtEndofMessage_at_swspectrum.com)
Date: 01/05/05
- Previous message: Joe Kaplan \(MVP - ADSI\): "Re: ASP.NET and Active Directory Authentication"
- In reply to: Sjaak: "ASP.NET and Active Directory Authentication"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Wed, 05 Jan 2005 12:07:49 -0600
On 5 Jan 2005 05:43:35 -0800, santa@emailme.nu (Sjaak) wrote:
¤ Hi All,
¤
¤ I'm trying to get an ASP.NET Application to work with Active Directory
¤ but not having much luck.
¤
¤ On the MS Website I found this example :
¤ http://msdn.microsoft.com/library/default.asp?url=/library/en-us/sds/sds/active_directory_authentication_from_asp__net.asp
¤
¤ I've followed every step explained but when I run it try to login I
¤ get
¤ the error : Error authenticating. Error authenticating user. The
¤ specified domain either does not exist or could not be contacted
¤
¤ The LDAP connect string is 100% correct.
¤
¤ Any idea's what could be going wrong??
¤
¤ Also I tried a demo from http://www.codeproject.com/aspnet/adsi1.asp
¤ but also this doesn't work, with this one I get the error :
¤ **The specified domain either does not exist or could not be
¤ contacted**
¤
¤ It's driving me crazy! Any help or suggestion are welcome.
¤
Try the following code to determine what the root LDAP path is for your domain:
Dim RootDSE As New DirectoryServices.DirectoryEntry("LDAP://RootDSE")
Response.Write RootDSE.Properties("DefaultNamingContext").Value
Paul ~~~ pclement@ameritech.net
Microsoft MVP (Visual Basic)
- Previous message: Joe Kaplan \(MVP - ADSI\): "Re: ASP.NET and Active Directory Authentication"
- In reply to: Sjaak: "ASP.NET and Active Directory Authentication"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|