I hope that the answer to this is as straight forward as I think it is. I just wanted to be sure. So, I have an ASP.NET MVC4 app that uses Forms authentication. I have a database hosted by Arvixe that contains the aspnet_ membership tables. This is the database I have specified in my connection string in my web.config. So, when I hit the Login.cshtml page of my app, and I put my credentials in, is it authenticating against the data in the database I specified in the web.config?
What brings this question on is I set up a user in my database by way of MyWSAT (a third party Web Site Administration Tool that allows managing of user accounts, roles, etc.). I've confirmed that the user is now added in the aspnet_Membership and aspnet_User tables (as well as any other tables). But, when I try to log in using these credentials from my app, it fails on Membership.ValidateUser
in my AccountController. It comes back saying Invalid Username/Password. Any ideas on what I might be doing wrong?
Here's my membership provider:
<membership defaultProvider="SqlMembershipProvider" userIsOnlineTimeWindow="15">
<providers>
<add
name="SqlMembershipProvider"
type="System.Web.Security.SqlMembershipProvider"
connectionStringName="DefaultConnection"
applicationName="/"
enablePasswordRetrieval="true"
enablePasswordReset="true"
maxInvalidPasswordAttempts="5"
requiresQuestionAndAnswer="true"
requiresUniqueEmail="true"
passwordFormat="Encrypted" />
</providers>
</membership>