Page 1 of 1

Cannot get logged in

Posted: Fri Jul 09, 2010 9:47 am
by 2010solutions
We have made no code changes but overnight the following message appears when you try to login:

The added or subtracted value results in an un-representable DateTime. Parameter name: value

What gives? No account can login, the site is basically dead. Any help would be appreciated!

Re: Cannot get logged in

Posted: Fri Jul 09, 2010 12:25 pm
by mikek
Hello,

This usually happens if the value coming from the database is a "null" value, instead of a date. Connect to your database via SQL Management Studio and check for NULL date records in ac_Users table.

Re: Cannot get logged in

Posted: Fri Jul 09, 2010 12:50 pm
by 2010solutions
Thanks for the reply. The account that I know fails on login has a valid date in all DateTime field except for LastLockoutDate.

What I did notice is the the LastLoginDate does get updated when I attempt to login.