Error using CreateUserWIzard:

Posted on 2007-07-20
Last Modified: 2013-11-26
I  am using ASP.NET and VIual Studio wih forms authentification.

I have customized the Create user wizard to look and feel as I need it.  The problem is that I get this error message when I run the page:

CreateUserWizard1: CreateUserWizardStep.ContentTemplate does not contain an IEditableTextControl with ID UserName for the username.

The issue is that I got rid of the username field.  I want to make this their email address.  I also changed the security question field to a drop down list of predefined values.

I am pretty sure I can use he Membership object to add the user.  However, how do I override the original code of the user wizard to prevent this message.

Question by:hoyaabanks
    LVL 9

    Accepted Solution

    You will need to write a custom membership provider to accomplish this task.  You can implement and inherit from the existing default membership provider, however, you must know that the functions contained within are marked "MustOverride" so you will have to overload them in order to implement some of your custom functionality.  The actual code is too much for the scope of this article but here are some good tutorials for creating your own custom provider:,guid,3b6ccb3f-2f2a-4dcb-a414-605371a00618.aspx


    LVL 1

    Expert Comment

    Forced accept.

    EE Admin

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Suggested Solutions

    Welcome my friends to the second instalment and follow-up to our Minify and Concatenate Your Scripts and Stylesheets (…
    More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
    Sending a Secure fax is easy with eFax Corporate ( First, Just open a new email message.  In the To field, type your recipient's fax number You can even send a secure international fax — just include t…
    Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

    761 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    10 Experts available now in Live!

    Get 1:1 Help Now