Re: newbie help - Active Directory Membership Provider



I'm not sure about the troubleshooting procedures for the provider, but it
usually throws an exception if it isn't working properly.

Note that if you use the AD membership provider, there is no matching role
provider that works with that. Thus if you want to use the Windows token to
do validation, you must use an authentication mechanism that gets you a
Windows token. The AD membership provider is a forms auth implementation
and doesn't get a Windows token.

Joe K.
--
Joe Kaplan-MS MVP Directory Services Programming
Co-author of "The .NET Developer's Guide to Directory Services Programming"
http://www.directoryprogramming.net
--
"SpaceMarine" <spacemarine@xxxxxxxxxxxxxx> wrote in message
news:a3854ddd-141d-40c4-82f6-005d0ce75319@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
On May 20, 2:57 pm, SpaceMarine <spacemar...@xxxxxxxxxxxxxx> wrote:
my web.config:

<connectionStrings>
<add name="ADConnectionString" connectionString="LDAP://machineName/
OU=Our Org,DC=ourDomain,DC=com" />
</connectionStrings>

the only thing that immediately comes to my mind is that the
connection string is invalid. however, no errors are reported. if i
change the machineName to something else it throws an exception.

is there a good way for me to test the AD connection string? some
basic request i can render on screen?


thanks
sm


.



Relevant Pages

  • Re: ASP.NET Adding a User to Active Directory [FIXED]
    ... I am using the ASP Memberhsip provider for this and have configured it in the web.config file. ... An unhandled exception occurred during the execution of the current web request. ...
    (microsoft.public.dotnet.framework.aspnet)
  • ASP.NET Adding a User to Active Directory
    ... which is supposed to add a user to the AD Users group. ... I am using the ASP Memberhsip provider for this and have configured it in the web.config file. ... An unhandled exception occurred during the execution of the current web request. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: REGDB_E_CLASSNOTREG(0x80040154)
    ... > provider is not registered on the local machine.] ... > Exception Details: System.Data.OleDb.OleDbException: No error ... > [InvalidOperationException: The 'Micosoft.Jet.OLEDB.4.0' provider is ...
    (microsoft.public.dotnet.framework.aspnet)
  • exception in jsse client
    ... HelloClient exception: Exception creating connection to: 10.10.10.10; ... implementation (algorithm: Default, provider: SunJSSE, cl ...
    (comp.lang.java.security)
  • Re: Custom Membership Provider
    ... I have written a custom membership provider based to access an ... shared hosting environment I get a security exception of the type IO ... This boils down to a number of lines of code in my provider ... machineKey = ...
    (microsoft.public.dotnet.framework.aspnet.security)