Leap Year Issue again?

I seem to have the ‘leap year bug’ as well. I can start emClient but as soon as I click on Calendar in the left hand pane emClient crashes with the following dump (excerpt) in the error window. Incidentally, changing the system date did not ‘fix’ this issue for me and this suddenly started at 12.20 a.m. this morning (29th Feb) - the first time I used emClient after midnight. When I click on Calendar I get a small calendar appearing in the left hand pane with 29th Feb highlighted (see screenshot). emClient clearly cannot cope with a date it doesn’t think exists. Database corruption checks etc on restart are fine.

eM Client (6.0.24316.0)
Windows: Microsoft Windows NT 6.2.9200.0, Framework: 4.0.30319.42000
The following error has occurred:
System.ArgumentOutOfRangeException: Year, Month, and Day parameters describe an un-representable DateTime.
   at System.DateTime.DateToTicks(Int32 year, Int32 month, Int32 day)
   at MailClient.UI.Controls.Calendar.MonthCalendarView.RefreshScrollbarProperties()
   at MailClient.UI.Controls.Calendar.MonthCalendarView.ViewActivate(Boolean refreshvisibledays)
   at MailClient.UI.Controls.Calendar.CalendarView.controlCalendar_ViewTypeChanged(Boolean refreshvisibledays)
   at MailClient.UI.Controls.controlCalendar.DelegateViewTypeChanged.Invoke(Boolean refreshvisibledays)
   at MailClient.UI.Controls.controlCalendar.set_ActualViewType(ViewType value)
   at MailClient.UI.Forms.formMain.ActivateEventView()
   at MailClient.UI.Forms.formMain.ResetFilter()
   at MailClient.UI.Forms.formMain.ActivateToolStripConfiguration(String configuration)
   at MailClient.UI.Forms.formMain.ActivateEventLayout()
   at MailClient.UI.Forms.formMain.RefreshEventLayout()
   at MailClient.UI.Forms.formMain.ActivateEventFolders(Boolean expandBox, Boolean ensureFolderSelected)
   at MailClient.UI.Forms.formMain.leftSpine1_BoxActivated(Object sender, EventArgs e)
   at MailClient.UI.Controls.ControlSidebar.ControlSidebar.OnBoxActivated(ControlSidebarBox box, EventArgs e)
   at MailClient.UI.Controls.ControlSidebar.ControlSidebar.box_Activated(Object sender, EventArgs e)
   at MailClient.UI.Controls.ControlSidebar.ControlSidebarBox.Activate()
   at MailClient.UI.Controls.ControlSidebar.ControlSidebarBox.Maximize()
   at MailClient.UI.Controls.ControlSidebar.ControlSidebarBox.OnMouseUp(MouseEventArgs e)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.ContainerControl.WndProc(Message& m)
   at System.Windows.Forms.UserControl.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
   at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
   at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
   at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
   at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
   at MailClient.Program.b__4()
at MailClient.ExceptionUtils.ExceptionUtils.Filter(BodyDelegate body, FilterDelegate filter, Action`1 handler)

This is the identical error that my wife and myself have both had this morning. It is quite clearly a leap year bug

there is a bug in the month view of the program that manifested with the leap year.
This update should fix the issue: http://www.emclient.com/dist/v6.0.249…


That worked. Thanks for fixing the problem.

Perform the following steps.
Exit eM.
Set your system date to February 28.
Start eM.
GO to Calendar and select ANY view except Month view. I prefer Week view.
GO back to mail.
Exit eM.
Reset system date to February 29.
Start eM.
Everything should work but do NOT go to Month view. It will immediately experience an application error.
Hope this helps.

There is now an official update for Version 6 which is available via the usual ‘Help | Check for update’:

6.0.24928.0     (29/02/2016 14:36:43)

  • Fixed a leap year issue in calendar
  • Fixed listing of delegated accounts on Exchange servers
  • Several other fixes