2

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.

Ryan Gates
  • 4,501
  • 6
  • 50
  • 90
gvd
  • 1,482
  • 6
  • 32
  • 58

1 Answers1

1

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.

Win
  • 61,100
  • 13
  • 102
  • 181
  • No... I want use Membership provider... but the tables that I created use aspnet_regsql the Login and CreateUserWizard are creating your own tables and not used the tables generated with aspnet_regsql.... Any suggestion? – gvd Jul 03 '13 at 18:34
  • 1
    ASP.NET Universal Providers (included Membership Provider and Role Provider) is a newer version of legacy ASP.Net Membership provider. Please use the new one. – Win Jul 03 '13 at 18:51
  • Thanks... I'll tried to delete some tables and procedures that I don't need use.... – gvd Jul 03 '13 at 19:18