I am currently trying to save a record to a sql server express database. One of the fields is a DateTime field that needs to be null upon record creation. For some reason, even though the linq object that represents the data has a null value set for the record, I keep getting a SqlDateTime error indicating that the date enter should be between 1753 and ......., forgot the max range. Anyway, if I am setting this field as null why is this occuring and what can I do to fix it(workarounds)?
1. In database, you didn't set the column with datetime datatype to Allow Null
2. In code, you'd forgot to set a value to some other column with datetime datatype.