AD Membership Connection

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



I am having a problem connecting using the ActiveDirectory Membership provider.

I define my Connection string as follows:
<add name="ADConn" connectionString="LDAP://BEL-ADC-01.UTVi.local"/>

And then add:

<authentication mode="Forms">
<forms name=".ADAuthCookie" timeout="10" />
</authentication>
<authorization>
<deny users="?" />
<allow users="*"/>
</authorization>
<!--- Active Directory Membership Provider -->
<membership defaultProvider="MyADMembershipProvider">
<providers>
<remove name="AspNetSqlMembershipProvider" />
<add
name="MyAdMembershipProvider"

type="System.Web.Security.ActiveDirectoryMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
connectionStringName="ADConn"
connectionUsername="UTVi\Administrator"
connectionPassword="*********"
applicationName="/ControlPanel"
/>
</providers>

</membership>

However when I try to login to my web app using a simply login form, I always get the error message:
Your login attempt was not successful. Please try again.

Does any one know where I am going wrong?
.



Relevant Pages

  • Re: [opensuse] Remote login - openSUSE 12.1
    ... disappeared and back at the login. ... I haven't tried connecting to any other distro, as all my systems are openSUSE. ... I am trying to connect to an openSUSE system that I have no problem connecting to with earlier versions. ... The problem is that with 12.1, you can't even attempt to connect to a system because as soon as you move the mouse to select one, the panel disappears. ...
    (SuSE)
  • Re: Specifying options for Net::SFTP
    ... }) or die "Problem connecting to SFTP server. ... Well, the login itself usually works fine, this problem occurs ...
    (comp.lang.perl.misc)