Hello
I am getting the following server error message from my aspx page (newPassword.aspx) that allows for a user to change his password after he has forgotten his old one.
The user does that by clicking on a link sent to him via email after he has typed in his email in my forgor.aspx page. The email to the user works as does the link, but not when he presses 'Send' after typing in a new password. There are no rules such as 'you cannot have the same password twice', etc.
Which part of my code - which I can copy and paste here - should I be looking at as the source of the problem, please?
Thank you.
I am getting the following server error message from my aspx page (newPassword.aspx) that allows for a user to change his password after he has forgotten his old one.
The user does that by clicking on a link sent to him via email after he has typed in his email in my forgor.aspx page. The email to the user works as does the link, but not when he presses 'Send' after typing in a new password. There are no rules such as 'you cannot have the same password twice', etc.
Object reference not set to an instance of an object.
Code:
Stack Trace:
[NullReferenceException: Object reference not set to an instance of an object.]
newPassword.resetBtn_Click(Object sender, EventArgs e) +658
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +9815206
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +204
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +12
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +15
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +35
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
+1639
Which part of my code - which I can copy and paste here - should I be looking at as the source of the problem, please?
Thank you.