Skip to content
Loading
when store the password then face the error?  
  •           
  •   
  •         class="form-group">  
  •             @Html.LabelFor(model => model.username, htmlAttributes: new { @class = "control-label col-md-2" })  
  •             class="col-md-10">  
  •                 @Html.EditorFor(model => model.username, new { htmlAttributes = new { @class = "form-control" } })  
  •                 @Html.ValidationMessageFor(model => model.username, ""new { @class = "text-danger" })  
  •               
  •           
  •   
  •         class="form-group">  
  •             @Html.LabelFor(model => model.password, htmlAttributes: new { @class = "control-label col-md-2" })  
  •             class="col-md-10">  
  •                 @Html.EditorFor(model => model.password, new { htmlAttributes = new { @class = "form-control" } })  
  •                 @Html.ValidationMessageFor(model => model.password, ""new { @class = "text-danger" })  
  •               
  •           
  •   
  •         class="form-group">  
  •             @Html.LabelFor(model => model.email, htmlAttributes: new { @class = "control-label col-md-2" })  
  •             class="col-md-10">  
  •                 @Html.EditorFor(model => model.email, new { htmlAttributes = new { @class = "form-control" } })  
  •                 @Html.ValidationMessageFor(model => model.email, ""new { @class = "text-danger" })  
  •               
  •           
  •   
  •         class="form-group">  
  •             class="col-md-offset-2 col-md-10">  
  •                 "submit" value="Create" class="btn btn-default" />  
  •               
  •           
  •       
  • }  
  •   
  •   
  •     @Html.ActionLink("Back to List""Index")  
  •   
  •   
  • "~/Scripts/jquery-1.10.2.min.js">  
  • "~/Scripts/jquery.validate.min.js">  
  • "~/Scripts/jquery.validate.unobtrusive.min.js">  
  •  when I assigning the password in student model that is the main issue?
  • Viswanatha Swamy
    Hello Rahul,
    Good evening. Could you please copy and paste the error from "View Details" in the same error dialog? If it is OK, could you please send me the location of the Source Code? I will fix that and check in back to the repository. Many thanks.
     
    Regards,
    Swamy 
  • Rajanikant Hawaldar
    https://forums.asp.net/t/2014382.aspx?Validation+failed+for+one+or+more+entities+See+EntityValidationErrors+property+for+more+details+ https://www.c-sharpcorner.com/UploadFile/97fc7a/validation-failed-for-one-or-more-entities-mvcentity-frame/ https://www.codeproject.com/Questions/1012001/VALIDATION-FAILED-FOR-ONE-OR-MORE-ENTITIES-SEE-ENT https://entityframework.net/knowledge-base/36258700/mvc5-validation-failed-for-one-or-more-entities--see--entityvalidationerrors--property-for-more-details https://stackoverflow.com/questions/19520022/validation-error-on-savechanges