YAFLogo

bbobb
  • bbobb
  • 100% (Exalted)
  • YAF Developer Topic Starter
14 years ago
In latest svn recent bug:

SqlDateTime overflow error while editing a new user by admin

LastLoginDate in Membership is not updated

LastActivityDate is updated with a delay.


[SqlTypeException: SqlDateTime overflow. ... between 1/1/1753 12:00:00 AM and 12/31/9999 11:59:59 PM.]
   System.Data.SqlTypes.SqlDateTime.FromTimeSpan(TimeSpan value) +4833883
   System.Data.SqlTypes.SqlDateTime.FromDateTime(DateTime value) +200
   System.Data.SqlClient.MetaType.FromDateTime(DateTime dateTime, Byte cb) +46
   System.Data.SqlClient.TdsParser.WriteValue(Object value, MetaType type, Byte scale, Int32 actualLength, Int32 encodingByteSize, Int32 offset, TdsParserStateObject stateObj) +4839317
   System.Data.SqlClient.TdsParser.TdsExecuteRPC(_SqlRPC[] rpcArray, Int32 timeout, Boolean inSchema, SqlNotificationRequest notificationRequest, TdsParserStateObject stateObj, Boolean isCommandProc) +4297
   System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async) +954
   System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result) +162
   System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe) +175
   System.Data.SqlClient.SqlCommand.ExecuteNonQuery() +137
   YAF.Classes.Data.YafDBAccess.ExecuteNonQuery(SqlCommand cmd, Boolean transaction) in C:\Documents and Settings\bob\My Documents\Projects\yafmssql_base_3051\YAF.Classes\YAF.Classes.Data\YafDBAccess.cs:552
   YAF.Classes.Data.YafDBAccess.ExecuteNonQuery(SqlCommand cmd) in C:\Documents and Settings\bob\My Documents\Projects\yafmssql_base_3051\YAF.Classes\YAF.Classes.Data\YafDBAccess.cs:524
   YAF.Providers.Membership.DB.UpdateUser(Object appName, MembershipUser user, Boolean requiresUniqueEmail) in C:\Documents and Settings\bob\My Documents\Projects\yafmssql_base_3051\YAF.Providers\Membership\DB.cs:593
   YAF.Providers.Membership.YafMembershipProvider.UpdateUser(MembershipUser user) in C:\Documents and Settings\bob\My Documents\Projects\yafmssql_base_3051\YAF.Providers\Membership\YafMembershipProvider.cs:1364
   YAF.Controls.EditUsersInfo.Save_Click(Object sender, EventArgs e) in c:\Documents and Settings\bob\My Documents\Projects\yafmssql_base_3051\YetAnotherForum.NET\controls\EditUsersInfo.ascx.cs:123
Sponsor
Jaben
  • Jaben
  • 100% (Exalted)
  • YAF Developer
14 years ago
Should be fixed now, bbobb.