Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6192255
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T02:54:45+00:00 2026-05-24T02:54:45+00:00

I only want to use CreateUserWizard Control to collect information from the user and

  • 0

I only want to use CreateUserWizard Control to collect information from the user and insert into my custom database. I don’t want to use Asp.Net Membership .

When I add this setting to the web.config
<membership>
<providers>
<clear />
</providers>
</membership>

The following error comes
Default Membership Provider must be specified.

And when I remove this setting from the web.config. The page runs successfully BUT createUserWizard Control automatically adds the ASPNETDB.MDF database to the App_Data folder.

Question: Can we use CreateUserWizard with custom database with out using ASPNETDB or asp.net membership ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T02:54:46+00:00Added an answer on May 24, 2026 at 2:54 am

    The CreateUserWizard control provides the user interface for the MembershipProvider object that communicates with your Web site’s user data store to create new user accounts in the data store. The CreateUserWizard relies on the MembershipProvider to create the user and disable them if necessary (cf. msdn).

    So you have to use a Membership Provider if you use the CreateUserWizard.

    If you do not want to use the standard Membership Provider, you should consider creating a Custom Membership Provider.

    But from your question it is not clear why you do not want to use the standard Membership. May be it is worth to look at the possibility to include the standard Membership schema into your own database and save yourself a lot of work (not to mention possible security issues etc.) using the authorisation functionality which is already implemented in asp.net. Here you can find how to put the Membership schema into the same database as the application data.

    UPDATE:

    If you still want to prevent the CreateUserWizard’s CreateUser step from creating the user by means of Membership Provider, you can try to handle the CreatingUser event and set its LoginCancelEventArgs.Cancel property to true.

    Example code:

    protected void RegisterUser_CreatingUser(object sender, LoginCancelEventArgs e) 
    {
     e.Cancel = true; 
    } 
    

    Then in order to move to the next page in the wizard you need to handle NextButtonClick event:

    1. Add e.Cancel = False;
    2. Add CreateUserWizard.ActiveStepIndex = (your next wizard step
      index);

    After that you will need to create the user manually, e.g. in FinishButtonClick event handler.

    Hope it helps.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i don't wanna use a MapView an some Overlays. I only want to use
I want to create a vb.net project that I will use to only hold
I only want a simple Splash Screen Example. Get the Code, Insert my picture,
If I only want to use JavaScript on the client AND server side for
I don't want to use Open SSL or any very big none-built-in libraries for
i'm trying to build an array from an Object in PHP. I only want
I have a few .NET developers who only want to use the MS AJAX
I want to use wget to download files linked from the main page of
I don't want to use the default route that vs.net creates: routes.MapRoute( Default, //
I've made a class which inherits from UserControl, but which I only want to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.