Dear, when i restored db on sql 2008, my app started giving this error.

Original message: The conversion of a datetime2 data type to a datetime data type resulted in an out-of-range value.

I am using DO 4.4. how to make it work without upgrading all columns manually, and it seems ForcedServerVersion prop is also not avaiable in DO4.4

Kindly reply ASAP. thanks

asked Jul 01 '13 at 12:17

HannanKhanji's gravatar image


One Answer:

Hello Hannan,

unfortunately at this moment the only option you have is to upgrade to at least DataObjects.Net 4.5 which supports compatibility mode via ForcedServerVersion or manually upgrade DateTime columns.

answered Jul 02 '13 at 08:52

Denis%20Krjuchkov's gravatar image

Denis Krjuchkov

Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!
toggle preview


Once you sign in you will be able to subscribe for any updates here



Asked: Jul 01 '13 at 12:17

Seen: 40,192 times

Last updated: Jul 02 '13 at 08:52

powered by OSQA