User983226961 posted
A coworker and I are working on a Web Forms application that uses ASP.NET Identity. We have found that when one of us registers a user, the other person isn't then able to log in as that user. We also can't register new users. When we try to do one of these
things, we get an SqlException that says "Cannot create file '...20160802115511.mdf' because it already exists. Change the file path or the file name and retry the operation." (The file name differs depending on the application and when it's created, of course.)
The error is occurring on this statement in the LogIn method of the Login page:
var result = signinManager.PasswordSignIn(Email.Text, Password.Text, RememberMe.Checked, shouldLockout: false);
Because the authentication database already exists, the application shouldn't be trying to create it. Any idea what could cause this problem? We are sharing applications over a server, if that makes any difference.