asp.netsqlmembershipprovidercreateuserwizard

CreateUserWizard not use tables created by aspnet_regsql


How can I configure my CreateUserWizard and Login controls to use the aspnet_regsql tables?

I'm using SQL Membership. I added aspnet_regsql to my project, database and configured in web.config file. When I created a new user, the CreateUserWizard created new tables and did not use the tables created with aspnet_regsql.


Solution

  • You want to use new ASP.NET Universal Providers.

    New ASP.NET Universal Providers uses Entity Framework, so you do not need to use legacy aspnet_regsql to create tables.

    FYI: Make sure your connection is positing to the the current database instead of localdb.