c# - Asp.net Identity Login can't login -


I'm just testing the login function on my website. Login is working fine lately, but now I'm getting the error

  Login user failed for 'Dolapo'. This session has been assigned a tracing ID for 'e25c9fb4-3ec4-4ce1-9f7f-c01988c856a7' when you need help, then provide this tracing ID for customer support.   

On line

  var user = Wait UserManager.FindAsync (model.UserName, model.     

Login method Public Attachment Task ActionResult Login (Login Visual Model, String Return URL) {if (ModelState.IsValid) {var user = UserManager.FundSync (Model UserName, Model Passor D); if (user! = Null) {sign in async (user, model waiting in memory); return redirected local (return url);} else {ModelState.AddModelError ("", "invalid user name or password." );}} // If we found this, then some failed, see the form return view (model);}

login page

  @model bitwebsite.model.} & lt ;! - This is the login page to use logon on the website to use them Field allows the user name and permission to use email - & gt; & Lt; H2 & gt; @ ViewBag.Title & lt; / H2 & gt; & Lt; Div class = "row" & gt; & Lt; Div class = "col-md-8" & gt; & Lt; Section id = "login form" & gt; New {ReturnUrl = ViewBag.ReturnUrl}, FormMethod.Post, new {@class = "form-horizontal", role = "form"}) {@Html. (HTML.BeginForm ("login", "account", new {ReturnUrl = ViewBag.ReturnUrl} AntiForgeryToken () & lt; Hr / & gt; @html Validity valid (true) & lt; div class = "form-group" & gt; @ Html.LabelFor (m = & gt; m.UserName, new {@class = "col-md-2 control-label"}) & lt; div class = "col-md-10" & gt; @ Html.TextBoxFor (m = & gt; m.UserName, new {@class = "form-control"}) @ html.ValidationMessageFor (m = & gt; m.UserName) & lt; / Div & gt; & Lt; / Div & gt; & Lt; div class = "form-group" & gt; @ Html.LabelFor (m = & gt; m.Password, new {@class = "col-md-2 control-label"}) & lt; div class = "col-md-10" & gt; @ Html.PasswordFor (m = & gt; m.Password, new {@class = "form-control"}) @ html.ValidationMessageFor (m = & gt; m.Password) & lt; / Div & gt; & Lt; / Div & gt; & Lt; div class = "form-group" & gt; & Lt; Div class = "col-md-offset-2 col-md-10" & gt; & Lt ;! - This checkbox is used to allow the system to remember the user to login - & gt; & Lt; Div class = "checkbox" & gt; @html CheckboxFor (M = & gt; M. Remember Me) @HTMLLL Labellfor (M = & gt; M. Remember Me) & lt; / Div & gt; & Lt; / Div & gt; & Lt; / Div & gt; & Lt; div class = "form-group" & gt; & Lt; Div class = "col-md-offset-2 col-md-10" & gt; & Lt; Input type = "submit" value = "login" class = "btn btn-default" /> & Lt; / Div & gt; & Lt; / Div & gt; & Lt; P & gt; & Lt ;! - A link is provided to the registration page if the user does not have an account - & gt; @HTMLconnect ("Register", "Register") If you do not have an account & lt; / P & gt; } & Lt; / Section & gt; & Lt; / Div & gt; & Lt; / Div & gt;  

I checked the connection string in the database and the password was incorrect < / Div>

Comments

Popular posts from this blog

Verilog Error: output or inout port "Q" must be connected to a structural net expression -

jasper reports - How to center align barcode using jasperreports and barcode4j -

c# - ASP.NET MVC - Attaching an entity of type 'MODELNAME' failed because another entity of the same type already has the same primary key value -