logout error (email supplied is invalid)

Topics: General
Aug 11, 2014 at 12:02 PM
With version 1.5.265 I get an error when clicking on the logout link (see error description below). The error happens with both the admin user and my private user which both are linked to the same email address. I first thought that it was because my email address includes a "-" character but a try with another user having also a "-" in his email didn't confirm my thoughts.


Error description:

Server Error in '/bugnet_dev' Application.
The email supplied is invalid.
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.Configuration.Provider.ProviderException: The email supplied is invalid.

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.

Stack Trace:


[ProviderException: The email supplied is invalid.]
System.Web.Providers.DefaultMembershipProvider.ValidateStatus(Int32 status) +113
System.Web.Providers.DefaultMembershipProvider.UpdateUser(MembershipUser user) +596
BugNET.Providers.MembershipProviders.ExtendedSqlMembershipProvider.UpdateUser(MembershipUser user) +14
System.Web.Security.MembershipUser.Update() +111
System.Web.Security.Membership.UpdateUser(MembershipUser user) +19
BugNET.UserControls.Banner.LoginStatus1_LoggingOut(Object sender, LoginCancelEventArgs e) +141
System.Web.UI.WebControls.LoginStatus.OnLoggingOut(LoginCancelEventArgs e) +115
System.Web.UI.WebControls.LoginStatus.LogoutClicked(Object Source, CommandEventArgs e) +34
System.Web.UI.WebControls.LinkButton.OnCommand(CommandEventArgs e) +115
System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument) +169
System.Web.UI.WebControls.LinkButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +9
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +176
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5563


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1022

Coordinator
Aug 11, 2014 at 1:43 PM
nietfou wrote:
With version 1.5.265 I get an error when clicking on the logout link (see error description below). The error happens with both the admin user and my private user which both are linked to the same email address. I first thought that it was because my email address includes a "-" character but a try with another user having also a "-" in his email didn't confirm my thoughts.


Error description:

Server Error in '/bugnet_dev' Application.
The email supplied is invalid.
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.Configuration.Provider.ProviderException: The email supplied is invalid.

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.

Stack Trace:


[ProviderException: The email supplied is invalid.]
System.Web.Providers.DefaultMembershipProvider.ValidateStatus(Int32 status) +113
System.Web.Providers.DefaultMembershipProvider.UpdateUser(MembershipUser user) +596
BugNET.Providers.MembershipProviders.ExtendedSqlMembershipProvider.UpdateUser(MembershipUser user) +14
System.Web.Security.MembershipUser.Update() +111
System.Web.Security.Membership.UpdateUser(MembershipUser user) +19
BugNET.UserControls.Banner.LoginStatus1_LoggingOut(Object sender, LoginCancelEventArgs e) +141
System.Web.UI.WebControls.LoginStatus.OnLoggingOut(LoginCancelEventArgs e) +115
System.Web.UI.WebControls.LoginStatus.LogoutClicked(Object Source, CommandEventArgs e) +34
System.Web.UI.WebControls.LinkButton.OnCommand(CommandEventArgs e) +115
System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument) +169
System.Web.UI.WebControls.LinkButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +9
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +176
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5563


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1022

This has been fixed in the latest releases. There was code to set the last login date that is not proper.
Aug 11, 2014 at 7:07 PM
The problem is that I can't update to the latest release since the server is running windows 2003 server which is not compatible with framework 4.5... Is there no way to easily fix that?
Coordinator
Aug 11, 2014 at 7:58 PM
nietfou wrote:
The problem is that I can't update to the latest release since the server is running windows 2003 server which is not compatible with framework 4.5... Is there no way to easily fix that?
Removing the following text from the Banner.ascx in the root UserControls folder will eliminate the error.
OnLoggingOut="LoginStatus1_LoggingOut"