McLeanIS
asked on
MembershipProvider Password Recovery and ChangePassword not working
I am new to using asp.net Membership Provider. I have used the CreatedUserWizard in an app with success. However, I cannot get the PasswordRecovery and ChangePassword controls to work. I get the message that the attempt failed. I have the proper settings in the web.config to allow change and recovery. I don't know how to begin to debug this.
Thanks for your input.
McLeanIS
Thanks for your input.
McLeanIS
Can you share portion of web.config that have settings for this?
ASKER
Here is the code:
<authentication mode="Forms">
<forms loginUrl="Login.aspx" timeout="30"/>
</authentication>
<authorization>
<allow users="*"/>
<deny users="*"/>
</authorization>
<membership defaultProvider="SqlMembershipProvider">
<providers>
<clear/>
<add name="SqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="Membership" enablePasswordRetrieval="true" maxInvalidPasswordAttempts="14" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="false" passwordFormat="Encrypted" minRequiredPasswordLength="6" minRequiredNonalphanumericCharacters="0" description="Stores and retrieves membership data from SQL Server" applicationName="SEIOnline"/>
</providers>
</membership>
<roleManager enabled="true">
<providers>
<clear/>
<add name="AspNetSqlRoleProvider" connectionStringName="SEIConnectionString" applicationName="SEIOnline" type="System.Web.Security.SqlRoleProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
</providers>
</roleManager>
<compilation debug="true">
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Deny - this is a site that requires logins.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thank you for the reply. I haven't had time to test it but I will try to soon.
ASKER
Due to a change in priorities, I can't test the given solution right now but thank you for your insight and assistance.