Hii ,
I am getting below error while starting emclient.
eM Client (7.1.30794.0)
Windows: Microsoft Windows NT 6.0.6000.0, Framework: 4.0.30319.1
The following error has occurred:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. —> System.FormatException: Input string was not in a correct format.
at System.DateTimeFormat.FormatCustomized(DateTime dateTime, String format, DateTimeFormatInfo dtfi, TimeSpan offset)
at System.DateTimeFormat.Format(DateTime dateTime, String format, DateTimeFormatInfo dtfi, TimeSpan offset)
at System.DateTimeFormat.Format(DateTime dateTime, String format, DateTimeFormatInfo dtfi)
at System.DateTime.ToString(String format, IFormatProvider provider)
at System.Text.StringBuilder.AppendFormat(IFormatProvider provider, String format, Object[] args)
at System.String.Format(IFormatProvider provider, String format, Object[] args)
at System.String.Format(String format, Object arg0)
at MailClient.Common.UI.DateTimeUtils.DateTimeToString2(DateTime time)
at MailClient.Common.UI.Controls.ControlDataGrid.ControlDataGrid.GetCellText(DataGridColumn column, Object boundObject)
at MailClient.Common.UI.Controls.ControlDataGrid.ControlDataGrid.GetCellText(Int32 colIndex, Object boundObject)
at MailClient.Common.UI.Controls.ControlDataGrid.ControlDataGrid.drawMultiLineRow(DataGridOwnerDrawRowEventArgs e)
at MailClient.Common.UI.Controls.ControlDataGrid.ControlDataGrid.drawRowToGraphics(Graphics g, Int32 index, Object boundObject, Int32 x, Int32 y, Int32 contentWidth, Boolean ignoreSelection, Boolean usingOddItemBrush)
at MailClient.Common.UI.Controls.ControlDataGrid.ControlDataGrid.drawCellsWithGrouping(Graphics g, Rectangle clipRectangle)
at MailClient.Common.UI.Controls.ControlDataGrid.ControlDataGrid.drawCells(Graphics g, Rectangle clipRectangle)
at MailClient.Common.UI.Controls.ControlDataGrid.ControlDataGrid.OnPaint(PaintEventArgs e)
at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer)
at System.Windows.Forms.Control.WmPaint(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.UserControl.WndProc(Message& m)
at MailClient.Common.UI.Controls.ControlDataGrid.ControlDataGrid.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 System.Windows.Forms.Application.Run(ApplicationContext context)
at MailClient.Program.<>c.b__90_1()