Please Login to Continue

[Entity Framework Core 5] An Unhandled Exception Occurred While Processing the Request

Question: How do you solve the Entity Framework Core Error: "An Unhandled Exception Occurred While Processing the Request"?

Answer: Add nullable's to the Modal Class like so: public int? Old {get; set;} or public string? youName {get; set;}
What is happening is that the data getting retrieved has empty strings in it or is null.

Entiity Framework 5 Asp.Net 5 Technology published

Was this page helpful?

Yes Yes! this solution to the problem was helpful. No No! this solution to the problem was not helpful..



© 2020 - ErnesTech - Privacy