DateTime2 conversion Error in a DB with no DateTime2 Columns

I am getting this error when I save my changes using EF:

"The conversion of a datetime2 data type to a datetime data type resulted in an out-of-range value.\r\nThe statement has been terminated."

Funny thing is that I don't have ANY DateTime2 columns in my database. (I just double checked using this query.)

I also did a solution wide search to see if the text DateTime2 is in there anywhere. It comes up empty.

So, if my model does not have DateTime2 and my DB does not have DateTime2, why is EF converting from a DateTime2?


This answer was the answer to my question:

Need Your Help

Import data from two tables without join in apache solr


We are using apache solr to implement search in our application.

preventing a table from pushing a float-left div down


I have two float:left divs that are designed to stack left-to-right, one is the classic left nav and has a fixed width declared. The other is designed to span the rest of the width of the browser ...