Hello,
I'm having a problem with the running of the application from this tutorial: EF-MVC Tutorial
I'm getting different results from three different browsers; IE 11.0 version 11.953.14393.0, Mozilla Firefox version 52.0.2 and Edge version 38.14393.0.0.
I first started getting an error when running the code that I created by following the tutorial and running it in IE 11.0. If I edit an instructor, leave the Hire date blank and click The Save button, it gives a "An unhandled exception occurred while processing the request" error. It blows up on line 51 of the Edit.cshtml. It's supposed to give a field error on the entry screen.
I run it by using the Start Without Debugging(Ctrl+F5) option.
I tried to debug it, but I can't figure out what the problem is and I also asked Tom_Dykstra-MSFT moderator and he suggested that I try to ask for help at Stackoverflow. I tried Stackoverflow and did not get any answers to resolve this issue.
I also downloaded the tutorial's completed application and tried running it and got the same error. Tom tried it and it did not blow up for him. He received the proper field error message.
I tried running it in Firefox and it worked without a problem giving the proper field error message.
I also tried it in Edge and when I go to the Hire date field on the Edit screen, it gives a date selection method that I never saw before and it won't allow me to blank out the date as I do in IE 11 and Firefox.
Does anybody know why I get three different results from the three different browsers that I tried and how to make it so that it works the same way in each browser? Also, why is it only blowing up in IE 11?
I am running it in Visual Studio 2017 on a Dell laptop 64 bit computer with Windows 10 and all updates applied.
Thanks, Tony