gvd
gvd

Reputation: 1592

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.

Upvotes: 2

Views: 488

Answers (1)

Win
Win

Reputation: 62270

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.

Upvotes: 1

Related Questions