Need to handle duplicate usernames during account creation at the user level
If a new user tries to create an account with the same username as somebody else in Gemini, they will get an Application Error with this exception in the System Log.
Exception of type
'CounterSoft.Gemini.Commons.Exception.DuplicateUsernameException' was
thrown.
6/22/2009 2:51:18 PM
at CounterSoft.Gemini.Business.x6eb6b493a461d636.xa1ff8cd4839610ea(UserEN
xd55e1d122662b481) at CounterSoft.Gemini.Register.btnRegister_Click(Object
sender, EventArgs e) at System.Web.UI.WebControls.Button.OnClick(EventArgs e) at
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) at
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String
eventArgument) at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler
sourceControl, String eventArgument) at
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) at
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint,
Boolean includeStagesAfterAsyncPoint)
The interface should check to see if a username already exists and tell the user to choose another name rather than causing a Application Error.
Using Gemini 3.5.
dnezamfar
· 1 |
|
Monday, June 22, 2009, 11:56:57 PM |