eM Client sends error message then shuts down when clicking 'Move to junk and blacklist domain'

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) &nbsp;&nbsp; at MailClient.UI.Forms.formMain.\<\>c\_\_DisplayClass2b.<movetospam>b__27()<br> at MailClient.UI.Forms.FormLongOperation.&lt;&gt;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&amp; m, MouseButtons button, Int32 clicks)<br> at System.Windows.Forms.Control.WndProc(Message&amp; m)<br> at System.Windows.Forms.ScrollableControl.WndProc(Message&amp; m)<br> at System.Windows.Forms.ToolStrip.WndProc(Message&amp; m)<br> at System.Windows.Forms.ToolStripDropDown.WndProc(Message&amp; m)<br> at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message&amp; m)<br> at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message&amp; m)<br> at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)<br> at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG&amp; 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)

" rel=“nofollow”>http://emclient.com/ns/report">;

eM Client
6.0.21034.0

false

Microsoft Windows NT 6.1.7601 Service Pack 1
4.0.30319.18444


System.Reflection.TargetInvocationException
Exception has been thrown by the target of an invocation.
MailClient




MailClient.exe
100681615
MailClient
MailClient.UI.Forms.FormLongOperation
InitOperation


System.Windows.Forms
System.Windows.Forms.IWin32Window
owner


mscorlib
System.String
name


System.Windows.Forms
System.Windows.Forms.MethodInvoker
operation


mscorlib
System.Boolean
ignoreTheme



117
91d5a8




MailClient.exe
100693242
MailClient
MailClient.UI.Forms.formMain
MoveToSpam


MailClient
MailClient.UI.Forms.formMain+MoveToSpamType
type



71
f6




MailClient.exe
100693240
MailClient
MailClient.UI.Forms.formMain
moveAndBlacklistDomain_Click


mscorlib
System.Object
sender


mscorlib
System.EventArgs
e



0
9




System.Windows.Forms.dll
100667402
System.Windows.Forms
System.Windows.Forms.ToolStripItem
RaiseEvent


mscorlib
System.Object
key


mscorlib
System.EventArgs
e



0
52




System.Windows.Forms.dll
100677264
System.Windows.Forms
System.Windows.Forms.ToolStripMenuItem
OnClick


mscorlib
System.EventArgs
e



17
45




System.Windows.Forms.dll
100667386
System.Windows.Forms
System.Windows.Forms.ToolStripItem
HandleClick


mscorlib
System.EventArgs
e



3b
92




System.Windows.Forms.dll
100667395
System.Windows.Forms
System.Windows.Forms.ToolStripItem
HandleMouseUp


System.Windows.Forms
System.Windows.Forms.MouseEventArgs
e



c7
16f




System.Windows.Forms.dll
100667378
System.Windows.Forms
System.Windows.Forms.ToolStripItem
FireEventInteractive


mscorlib
System.EventArgs
e


System.Windows.Forms
System.Windows.Forms.ToolStripItemEventType
met



48
88




System.Windows.Forms.dll
100667377
System.Windows.Forms
System.Windows.Forms.ToolStripItem
FireEvent


mscorlib
System.EventArgs
e


System.Windows.Forms
System.Windows.Forms.ToolStripItemEventType
met



cb
8d6bb0




System.Windows.Forms.dll
100666965
System.Windows.Forms
System.Windows.Forms.ToolStrip
OnMouseUp


System.Windows.Forms
System.Windows.Forms.MouseEventArgs
mea



6f
b1




System.Windows.Forms.dll
100669086
System.Windows.Forms
System.Windows.Forms.ToolStripDropDown
OnMouseUp


System.Windows.Forms
System.Windows.Forms.MouseEventArgs
mea



0
25




System.Windows.Forms.dll
100665753
System.Windows.Forms
System.Windows.Forms.Control
WmMouseUp


System.Windows.Forms
System.Windows.Forms.Message&
m


System.Windows.Forms
System.Windows.Forms.MouseButtons
button


mscorlib
System.Int32
clicks



184
273




System.Windows.Forms.dll
100665461
System.Windows.Forms
System.Windows.Forms.Control
WndProc


System.Windows.Forms
System.Windows.Forms.Message&
m



5fe
8bca4e




System.Windows.Forms.dll
100665975
System.Windows.Forms
System.Windows.Forms.ScrollableControl
WndProc


System.Windows.Forms
System.Windows.Forms.Message&
m



3a
29




System.Windows.Forms.dll
100666993
System.Windows.Forms
System.Windows.Forms.ToolStrip
WndProc


System.Windows.Forms
System.Windows.Forms.Message&
m



e7
49




System.Windows.Forms.dll
100669105
System.Windows.Forms
System.Windows.Forms.ToolStripDropDown
WndProc


System.Windows.Forms
System.Windows.Forms.Message&
m



71
35




System.Windows.Forms.dll
100665839
System.Windows.Forms
System.Windows.Forms.Control+ControlNativeWindow
OnMessage


System.Windows.Forms
System.Windows.Forms.Message&
m



0
10




System.Windows.Forms.dll
100665840
System.Windows.Forms
System.Windows.Forms.Control+ControlNativeWindow
WndProc


System.Windows.Forms
System.Windows.Forms.Message&
m



8e
34




System.Windows.Forms.dll
100665822
System.Windows.Forms
System.Windows.Forms.NativeWindow
DebuggableCallback


mscorlib
System.IntPtr
hWnd


mscorlib
System.Int32
msg


mscorlib
System.IntPtr
wparam


mscorlib
System.IntPtr
lparam



25
5d




System.Windows.Forms.dll
100663535
System.Windows.Forms
System.Windows.Forms.UnsafeNativeMethods
DispatchMessageW


System.Windows.Forms
System.Windows.Forms.NativeMethods+MSG&
msg



ffffffff
0




System.Windows.Forms.dll
100688501
System.Windows.Forms
System.Windows.Forms.Application+ComponentManager
System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop


mscorlib
System.IntPtr
dwComponentID


mscorlib
System.Int32
reason


mscorlib
System.Int32
pvLoopData



186
24c




System.Windows.Forms.dll
100688548
System.Windows.Forms
System.Windows.Forms.Application+ThreadContext
RunMessageLoopInner


mscorlib
System.Int32
reason


System.Windows.Forms
System.Windows.Forms.ApplicationContext
context



1de
154




System.Windows.Forms.dll
100688547
System.Windows.Forms
System.Windows.Forms.Application+ThreadContext
RunMessageLoop


mscorlib
System.Int32
reason


System.Windows.Forms
System.Windows.Forms.ApplicationContext
context



13
49




System.Windows.Forms.dll
100664859
System.Windows.Forms
System.Windows.Forms.Application
Run


System.Windows.Forms
System.Windows.Forms.ApplicationContext
context



0
17




MailClient.exe
100675805
MailClient
MailClient.Program
<Main>b__4


17
42




MailClient.ExceptionUtils.dll
100663314
MailClient.ExceptionUtils
MailClient.ExceptionUtils.ExceptionUtils
Filter


MailClient.ExceptionUtils
MailClient.ExceptionUtils.ExceptionUtils+BodyDelegate
body


MailClient.ExceptionUtils
MailClient.ExceptionUtils.ExceptionUtils+FilterDelegate
filter


mscorlib
System.Action`1[[System.Exception, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]
handler



0
22





System.InvalidOperationException
There is an error in XML document (85, 17).
System.Xml




System.Xml.dll
100674937
System.Xml
System.Xml.Serialization.XmlSerializer
Deserialize


System.Xml
System.Xml.XmlReader
xmlReader


mscorlib
System.String
encodingStyle


System.Xml
System.Xml.Serialization.XmlDeserializationEvents
events



126
29c




System.Xml.dll
100674933
System.Xml
System.Xml.Serialization.XmlSerializer
Deserialize


mscorlib
System.IO.TextReader
textReader

&n

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 mcgregor@emclient.com 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.

Thank you,
Paul.

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.

Hope this helps,
Paul.