Hey Guys,
I noticed in the 'forgot password' box - if you input a correct email everything works fine. If you submit an email that is not in the database it brings the error:
Code:
<H2>[i]Bad Data.
[/i]</H2>[color=#ffffcc>
[tr ][td ]<CODE>The]1. Add a "Debug=true" directive at the top of the file that generated the error. Example:
<%@ Page Language="C#" Debug="true" %>
or:
2) Add the following section to the configuration file of your application:
<configuration>
<system.web>
<compilation debug="true"/>
</system.web>
</configuration>
Note that this second technique will cause all files within a given application to be compiled in debug mode. The first technique will cause only that particular file to be compiled in debug mode.
Important: Running applications in debug mode does incur a memory/performance overhead. You should make sure that an application has debugging disabled before deploying into production scenario.
[/td][/tr]</TABLE>
Stack Trace:[/color] [table width="100%" bgColor=#ffffcc]
[tr ][td ]<CODE>
[CryptographicException: Bad Data.
] System.Security.Cryptography.CryptographicException.ThrowCryptogaphicException(Int32 hr) +33
System.Security.Cryptography.Utils._DecryptData(SafeKeyHandle hKey, Byte[] data, Int32 ib, Int32 cb, Byte[]& outputBuffer, Int32 outputOffset, PaddingMode PaddingMode, Boolean fDone) +0
System.Security.Cryptography.CryptoAPITransform.TransformFinalBlock(Byte[] inputBuffer, Int32 inputOffset, Int32 inputCount) +200
System.Security.Cryptography.CryptoStream.FlushFinalBlock() +30
System.Security.Cryptography.CryptoStream.Dispose(Boolean disposing) +43
System.IO.Stream.Close() +15
System.IO.Stream.Dispose() +4
BVSoftware.Bvc5.Core.Utilities.Cryptography.TripleDesEncryption.Decode(String message) +402
BVSoftware.Bvc5.Core.Membership.UserAccount.DecryptPassword(String password) +60
ForgotPassword.btnSend_Click(Object sender, ImageClickEventArgs e) +139
System.Web.UI.WebControls.ImageButton.OnClick(ImageClickEventArgs e) +105
System.Web.UI.WebControls.ImageButton.RaisePostBackEvent(String eventArgument) +115
System.Web.UI.WebControls.ImageButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +7
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +11
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5102
</PRE>[/code][/td][/tr][/table]
[/code]