I get an eM Client Application Error message when trying to block a junk email. Below is the error message.
eM Client (6.0.21034.0)
Windows: Microsoft Windows NT 6.1.7601 Service Pack 1, Framework: 4.0.30319.18444
The following error has occurred:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. —> System.InvalidOperationException: There is an error in XML document (85, 17). —> System.Xml.XmlException: ‘’, hexadecimal value 0x04, is an invalid character. Line 85, position 17.
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.Throw(String res, String[] args)
at System.Xml.XmlTextReaderImpl.Throw(Int32 pos, String res, String[] args)
at System.Xml.XmlTextReaderImpl.ParseNumericCharRefInline(Int32 startPos, Boolean expand, StringBuilder internalSubsetBuilder, Int32& charCount, EntityType& entityType)
at System.Xml.XmlTextReaderImpl.ParseCharRefInline(Int32 startPos, Int32& charCount, EntityType& entityType)
at System.Xml.XmlTextReaderImpl.ParseText(Int32& startPos, Int32& endPos, Int32& outOrChars)
at System.Xml.XmlTextReaderImpl.ParseText()
at System.Xml.XmlTextReaderImpl.ParseElementContent()
at System.Xml.XmlTextReaderImpl.Read()
at System.Xml.XmlTextReader.Read()
at System.Xml.XmlReader.ReadElementString()
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReader1.Read25_UIRule(Boolean isNullable, Boolean checkType)
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReader1.Read38_UIRule()
— End of inner exception stack trace —
at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)
at System.Xml.Serialization.XmlSerializer.Deserialize(TextReader textReader)
at MailClient.Filters.UserRules.UIRule.Deserialize(String composeRuleXml)
at MailClient.UI.Forms.formMain.AddAddressesToBlacklistRule(List1 addresses) at MailClient.UI.Forms.formMain.\<\>c\_\_DisplayClass2b.<movetospam>b__27()<br> at MailClient.UI.Forms.FormLongOperation.<>c__DisplayClass2.<initoperation>b__0(Object param0)<br> --- End of inner exception stack trace ---<br> at MailClient.UI.Forms.FormLongOperation.InitOperation(IWin32Window owner, String name, MethodInvoker operation, Boolean ignoreTheme)<br> at MailClient.UI.Forms.formMain.MoveToSpam(MoveToSpamType type)<br> at MailClient.UI.Forms.formMain.moveAndBlacklistDomain_Click(Object sender, EventArgs e)<br> at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)<br> at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)<br> at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)<br> at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)<br> at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)<br> at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)<br> at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)<br> at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)<br> at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)<br> at System.Windows.Forms.Control.WndProc(Message& m)<br> at System.Windows.Forms.ScrollableControl.WndProc(Message& m)<br> at System.Windows.Forms.ToolStrip.WndProc(Message& m)<br> at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)<br> at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)<br> at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)<br> at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)<br> at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)<br> at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)<br> at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)<br> at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)<br> at System.Windows.Forms.Application.Run(ApplicationContext context)<br> at MailClient.Program.<main>b__4()<br> at MailClient.ExceptionUtils.ExceptionUtils.Filter(BodyDelegate body, FilterDelegate filter, Action1 handler)
Hi Jin, this unfortunately seems to be a corrupt database on your computer, are you using an IMAP account(s), or do you have any local data saved in your current database?
Do you think you could send me your main.dat database file and the sqlite.log to my email [email protected] with a reference link to this forum topic?
To submit the database file to us, please navigate to your local folder > App Data > Roaming > eM client. The sqlite.log file should be in the Logs folder in this database folder.
In case you’re not using any local data, you can create a new database which will unfortunately require you to setup all your accounts from scratch.
To setup a new database, rename or remove the eM Client database file in your Roaming folder and reopen the application, eM Client should automatically create a new database allowing you to setup the accounts.