Hi all, i create a member register usercontrol load by
macros and when every input are empty and click the create user button,
it came out below, what i expect is a reload or error message lable.
should i over ride any classes? or any idear , i am so new on Umbraco.
it looks like catching username as the loginName
i am using Umbraco 6.01
Server Error in '/' Application.
The username of a Member must be different from an emptry string Parameter name: loginName
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.ArgumentException: The username of a Member must be different from an emptry string Parameter name: loginName
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:
[ArgumentException:The username of a Member must be different from an emptry string Parameter name: loginName] umbraco.cms.businesslogic.member.Member.GetMemberFromLoginName(String loginName)+509 umbraco.providers.members.UmbracoMembershipProvider.CreateUser(String username,String password,String email,String passwordQuestion,String passwordAnswer,Boolean isApproved,Object providerUserKey,MembershipCreateStatus& status)+30 System.Web.UI.WebControls.CreateUserWizard.AttemptCreateUser()+412 System.Web.UI.WebControls.CreateUserWizard.OnNextButtonClick(WizardNavigationEventArgs e)+226 System.Web.UI.WebControls.Wizard.OnBubbleEvent(Object source,EventArgs e)+586 System.Web.UI.Control.RaiseBubbleEvent(Object source,EventArgs args)+52 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint,Boolean includeStagesAfterAsyncPoint)+3691
i am having problem on creating Member register.
Hi all, i create a member register usercontrol load by macros and when every input are empty and click the create user button, it came out below, what i expect is a reload or error message lable. should i over ride any classes? or any idear , i am so new on Umbraco.
it looks like catching username as the loginName
i am using Umbraco 6.01
Server Error in '/' Application.
The username of a Member must be different from an emptry string
Parameter name: loginName
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.ArgumentException: The username of a Member must be different from an emptry string
Parameter name: loginName
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:
similar issues:
http://our.umbraco.org/forum/core/general/23792-The-parameter-username-must-not-be-empty?p=0#comment141995
http://our.umbraco.org/forum/developers/api-questions/8555-membership-api-question
i went the short way, just redirect the error page: http://our.umbraco.org/forum/developers/api-questions/4919-Custom-Error-Page
or
https://bitbucket.org/slace/umbraco/src/8aff2409a015/umbraco/cms/businesslogic/member/Member.cs
http://nishantwork.wordpress.com/2013/01/22/umbraco-get-member-by-username-by-c/
i am not smart enough to change the Member class tho..
is working on a reply...