fwsteal
asked on
asp.net 2.0 password recovery
I'm getting the following error when I try using the control:
Server Error in '/MyTest' Application.
-------------------------- ---------- ---------- ---------- ---------- ---------- ----
The specified e-mail address is currently not supported.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.FormatException: The specified e-mail address is currently not supported.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Any ideas?
Server Error in '/MyTest' Application.
--------------------------
The specified e-mail address is currently not supported.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.FormatException: The specified e-mail address is currently not supported.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Any ideas?
What were you doing at the time ? Is this after the button click ? What email were you using ? What storage settings are you using for retrieval ?
ASKER
here is the page and web.config
----------------------
pfolder/passwordrecovery.a spx -- contents:
<asp:PasswordRecovery ID="PasswordRecovery1" runat="server" MembershipProvider="MySqlM embershipP rovider" SuccessPageUrl="~/Default. aspx">
<QuestionTemplate>...</Que stionTempl ate>
<UserNameTemplate>...</Use rNameTempl ate>
<SuccessTemplate>...</Succ essTemplat e>
<maildefinition IsBodyHtml="True" subject="Password Recovery" from="mailto:me@me.com" />
</asp:PasswordRecovery>
-------------------------- --
web.config -- contents:
<membership defaultProvider="MySqlMemb ershipProv ider">
<providers >
<add type="System.Web.Security. SqlMembers hipProvide r"
name="MySqlMembershipProvi der"
connectionStringName="MySQ LServer"
applicationName="Mine"
requiresUniqueEmail="true"
minRequiredPasswordLength= "5"
minRequiredNonalphanumeric Characters ="0"
enablePasswordRetrieval="f alse"
enablePasswordReset="true"
/>
</providers>
</membership>
<system.net>
<mailSettings>
<smtp deliveryMethod="PickupDire ctoryFromI is" from="me@me.com">
<network
host="localhost"
port="25"
defaultCredentials="true"
/>
</smtp>
</mailSettings>
</system.net>
----------------------
pfolder/passwordrecovery.a
<asp:PasswordRecovery ID="PasswordRecovery1" runat="server" MembershipProvider="MySqlM
<QuestionTemplate>...</Que
<UserNameTemplate>...</Use
<SuccessTemplate>...</Succ
<maildefinition IsBodyHtml="True" subject="Password Recovery" from="mailto:me@me.com" />
</asp:PasswordRecovery>
--------------------------
web.config -- contents:
<membership defaultProvider="MySqlMemb
<providers >
<add type="System.Web.Security.
name="MySqlMembershipProvi
connectionStringName="MySQ
applicationName="Mine"
requiresUniqueEmail="true"
minRequiredPasswordLength=
minRequiredNonalphanumeric
enablePasswordRetrieval="f
enablePasswordReset="true"
/>
</providers>
</membership>
<system.net>
<mailSettings>
<smtp deliveryMethod="PickupDire
<network
host="localhost"
port="25"
defaultCredentials="true"
/>
</smtp>
</mailSettings>
</system.net>
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Bob