ActiveDirectoryMembershipProvider do not work ?

From: zxc (KreskiNaKropkiZmien__zxc_(at)_polsl_pl___at_gliwice.pl)
Date: 11/07/05


Date: Mon, 7 Nov 2005 14:56:53 +0100

Hello,

I cannot start using Forms Authentication with Active Directory. On call of:

Membership.ValidateUser(StdFormItemLogin.Text, StdFormItemPassword.Text)

I get a ConfigurationErrorsException:

Object reference not set to an instance of an object. (C:\...\web.config
line 33)

My web.config is (fragment):

28: <membership defaultProvider="ps">
29: <providers>
30: <add name="ps"
31: connectionStringName="psCS"
32: attributeMapUsername="samAccountName"
33: type="System.Web.Security.ActiveDirectoryMembershipProvider"
34: />
35: </providers>
36: </membership>

LDAP connection string looks OK ...

I've try many combinations but cannot get more detailed error info. It looks
that ActiveDirectoryMembershipProvider is not created for some reason but
why ... ?

Any ideas are welcome.
zxc



Relevant Pages

  • Re: LDAP?
    ... Your suggestion on integrating Active Directory and MS Access sounds good. ... >>If you mean you want to try and integrate it with Access security, ... > adopted to use any sort of authentication method you choose, ... then launches the real database and logs into the Access ...
    (microsoft.public.access.security)
  • Re: Please Help
    ... controller that handles authentication for the computers in the domain. ... Logon and logoff are a little difficult with Active Directory. ... Use the Event logs. ...
    (microsoft.public.windows.server.active_directory)
  • Re: Basic Authentication + IIS 5 + Windows 2000 + Frontpage 2002 = failure?
    ... Authentication" story and can relate to them all. ... the introduction of Active Directory. ... All rights ... > | Vincent Polite ...
    (microsoft.public.inetserver.iis.security)
  • Microsoft Active Directory security vulnerability
    ... Kerberos V (for information on Kerberos interoperability see ... return results from the Active Directory. ... My guess is that Microsoft does not check for a zero value ... nor did I test it with simple authentication. ...
    (Bugtraq)
  • Re: Basic Authentication + IIS 5 + Windows 2000 + Frontpage 2002 = failure?
    ... Authentication" story and can relate to them all. ... the introduction of Active Directory. ... All rights ... > | Vincent Polite ...
    (microsoft.public.inetserver.iis.security)

Quantcast