ASP.NET Identity 2 Login Error
Posted: Fri 04 Nov 2016 09:35
Hi - I really hope someone can help me out...
I am trying to use ASP.NET Identity 2, with EntityFramework using MySQL dotConnect...getting some really weird behavior. I went though the setup just as Devart's instructions say. I am able to register a user no problem, however, when use the SignInManager to log a user in, it throws a concurrency exception at me. When a user enters the wrong password, behavior is as expected, but when they enter the correct password, I get the following exception.
Hopefully someone can help!
I am trying to use ASP.NET Identity 2, with EntityFramework using MySQL dotConnect...getting some really weird behavior. I went though the setup just as Devart's instructions say. I am able to register a user no problem, however, when use the SignInManager to log a user in, it throws a concurrency exception at me. When a user enters the wrong password, behavior is as expected, but when they enter the correct password, I get the following exception.
Line that causes the problem:Store update, insert, or delete statement affected an unexpected number of rows (0)
Code: Select all
var result = await SignInManager.PasswordSignInAsync(strEmail, strPassword, bRememberMe, shouldLockout: true);