Hello,
I try to make a login.aspx page to login an Active directory's user and i have a 1315 Web event Error in Windows server 2003 application's log with this error : 4006 Membership credentiel verification failed.
Could you help me ?
here's my web.config :
<connectionStri ngs>
<add name="ADConnect ionString" connectionStrin g=LDAP://server.domain.c om/CN=Users,DC=dom ain,DC=com />
</connectionStrin gs>
<system.web>
<pages>
<namespaces>
<clear/>
<add namespace="Syst em"/>
<add namespace="Syst em.Collections"/>
<add namespace="Syst em.Collections. Specialized"/>
<add namespace="Syst em.Configuratio n"/>
<add namespace="Syst em.Text"/>
<add namespace="Syst em.Text.Regular Expressions"/>
<add namespace="Syst em.Web"/>
<add namespace="Syst em.Web.Caching"/>
<add namespace="Syst em.Web.SessionS tate"/>
<add namespace="Syst em.Web.Security "/>
<add namespace="Syst em.Web.Profile"/>
<add namespace="Syst em.Web.UI"/>
<add namespace="Syst em.Web.UI.WebCo ntrols"/>
<add namespace="Syst em.Web.UI.WebCo ntrols.WebParts "/>
<add namespace="Syst em.Web.UI.HtmlC ontrols"/>
</namespaces>
</pages>
<authenticati on mode="Forms">
<forms
name=".ADAuthCo okie"
timeout="10" />
</authentication>
<authorizatio n>
<deny users="?" />
<allow users="*" />
</authorization>
<membership defaultProvider ="MyADMembershi pProvider">
<providers>
<remove name="AspNetSql MembershipProvi der" />
<add connectionStrin gName="ADConnec tionString"
connectionUsern ame="domain\adm inistrateur"
connectionPassw ord="*****"
name="MyADMembe rshipProvider"
type="System.We b.Security.Acti veDirectoryMemb ershipProvider, System.Web, Version=2.0.0.0 , 
 Culture=neutral , PublicKeyToken= b03f5f7f11d50a3 a" />
</providers>
</membership>
<customErrors mode="Off"/>
</system.web>
</configuration>