I have 2 SQL express databases: one for my application data and another for the MembershipProvider data. When I attempt to use the CreateUserWizard control, I get the following error:
Error: Login failed for user ‘SFP\Susan’.
I can connect to thesee the DB in the server explorer and all its tables and data. What is the problem?
Thanks in advance
It sounds like the MembershipProvider connection is not correctly set up in your
web.configfile. It should look something like this (with “MyAwesomeDatabaseConnectionName” being the name of the configured connection string, in theconnectionStringssection of the file):Also, it looks like you are configured for Windows authentication, but if your membership data is in a database, you’ll want to configure for Forms authentication: