The CreateUserWizard.CreateUserError event is raised on the server when the membership provider specified in the CreateUserWizard.MembershipProvider property fails to create the specified user account.
The error handler is passed a System.Web.Security.MembershipCreateStatus object that contains the details of the failure from the membership provider. For a list of the possible error conditions, see System.Web.Security.MembershipCreateStatus.
For more information about handling events, see Consuming Events.