eM client crashes when sitting open

Just switched from Outlook last week due to crashing issues, and now eM client crashes all the time. When eM client sits open, it just randomly crashes, even when I haven’t don’t anything. It does this a number of times a day and has to be restarted.

Here is the message I’m getting:
eM Client Application Error: An error has occured in the application that prevents it from continuing. The application will terminate.

eM Client (6.0.24316.0)
Windows: Microsoft Windows NT 6.1.7601 Service Pack 1, Framework: 4.0.30319.42000
The following error has occurred:
System.IO.IOException: The specified network name is no longer available.

   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.WriteCore(Byte[] buffer, Int32 offset, Int32 count)
   at System.IO.FileStream.FlushInternalBuffer()
   at System.IO.FileStream.Flush(Boolean flushToDisk)
   at System.IO.FileStream.Flush()
   at System.IO.StreamWriter.Flush(Boolean flushStream, Boolean flushEncoder)
   at System.IO.StreamWriter.Flush()
   at MailClient.Db.Database.SQLiteLog_Log(Object sender, LogEventArgs e)
   at System.Data.SQLite.SQLiteLogEventHandler.Invoke(Object sender, LogEventArgs e)
   at System.Data.SQLite.SQLiteLog.LogCallback(IntPtr pUserData, Int32 errorCode, IntPtr pMessage)
   at System.Data.SQLite.UnsafeNativeMethods.sqlite3_step(IntPtr stmt)
   at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt)
   at System.Data.SQLite.SQLiteDataReader.NextResult()
   at System.Data.SQLite.SQLiteDataReader…ctor(SQLiteCommand cmd, CommandBehavior behave)
   at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior)
   at System.Data.SQLite.SQLiteCommand.ExecuteDbDataReader(CommandBehavior behavior)
   at System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader()
   at MailClient.Storage.Data.SQLite.DbRepository1.FindEnumerable.<getenumerator>d__5.MoveNext()<br> at MailClient.Storage.Application.Folder.GetFolder(String path)<br> at MailClient.Accounts.MailAccount.GetSpecialFolder(SpecialFolderType type, Boolean create)<br> at MailClient.Accounts.MailAccount.SendCommand..ctor(MailAccount account)<br> at MailClient.Accounts.MailAccount.SendAsync()<br> at MailClient.Accounts.AccountManager.SendAll()<br> at MailClient.Accounts.AccountManager.timerSendAndReceive_Tick(Object sender, EventArgs e)<br> at System.Windows.Forms.Timer.OnTick(EventArgs e)<br> at System.Windows.Forms.Timer.TimerNativeWindow.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 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.24316.0

false

Microsoft Windows NT 6.1.7601 Service Pack 1
4.0.30319.42000


System.IO.IOException
The specified network name is no longer available.

mscorlib




mscorlib.dll
100668798
mscorlib
System.IO.__Error
WinIOError


mscorlib
System.Int32
errorCode


mscorlib
System.String
maybeFullPath



e2
b68600




mscorlib.dll
100669272
mscorlib
System.IO.FileStream
WriteCore


mscorlib
System.Byte[]
buffer


mscorlib
System.Int32
offset


mscorlib
System.Int32
count



65
b28510




mscorlib.dll
100669258
mscorlib
System.IO.FileStream
FlushInternalBuffer


9
4d




mscorlib.dll
100669257
mscorlib
System.IO.FileStream
Flush


mscorlib
System.Boolean
flushToDisk



12
21




mscorlib.dll
100669256
mscorlib
System.IO.FileStream
Flush


0
e




mscorlib.dll
100669615
mscorlib
System.IO.StreamWriter
Flush


mscorlib
System.Boolean
flushStream


mscorlib
System.Boolean
flushEncoder



94
7b




mscorlib.dll
100669614
mscorlib
System.IO.StreamWriter
Flush


6
1b




MailClient.exe
100686250
MailClient
MailClient.Db.Database
SQLiteLog_Log


mscorlib
System.Object
sender


System.Data.SQLite
System.Data.SQLite.LogEventArgs
e



8e
13a




System.Data.SQLite.dll
100664102
System.Data.SQLite
System.Data.SQLite.SQLiteLogEventHandler
Invoke


mscorlib
System.Object
sender


System.Data.SQLite
System.Data.SQLite.LogEventArgs
e



ffffffff
0




System.Data.SQLite.dll
100664120
System.Data.SQLite
System.Data.SQLite.SQLiteLog
LogCallback


mscorlib
System.IntPtr
pUserData


mscorlib
System.Int32
errorCode


mscorlib
System.IntPtr
pMessage



52
f3




System.Data.SQLite.dll
100664279
System.Data.SQLite
System.Data.SQLite.UnsafeNativeMethods
sqlite3_step


mscorlib
System.IntPtr
stmt



ffffffff
0




System.Data.SQLite.dll
100663597
System.Data.SQLite
System.Data.SQLite.SQLite3
Step


System.Data.SQLite
System.Data.SQLite.SQLiteStatement
stmt



0
6b




System.Data.SQLite.dll
100663982
System.Data.SQLite
System.Data.SQLite.SQLiteDataReader
NextResult


12f
150




System.Data.SQLite.dll
100663943
System.Data.SQLite
System.Data.SQLite.SQLiteDataReader
.ctor


System.Data.SQLite
System.Data.SQLite.SQLiteCommand
cmd


System.Data
System.Data.CommandBehavior
behave



5d
72




System.Data.SQLite.dll
100663757
System.Data.SQLite
System.Data.SQLite.SQLiteCommand
ExecuteReader


System.Data
System.Data.CommandBehavior
behavior



c
26




System.Data.SQLite.dll
100663756
System.Data.SQLite
System.Data.SQLite.SQLiteCommand
ExecuteDbDataReader


System.Data
System.Data.CommandBehavior
behavior



0
9




System.Data.dll
100674773
System.Data
System.Data.Common.DbCommand
System.Data.IDbCommand.ExecuteReader


0
e




MailClient.exe
100698833
MailClient
MailClient.Storage.Data.SQLite.DbRepository1+FindEnumerable+&lt;GetEnumerator&gt;d__5</type><br> <name>MoveNext</name><br> <parameters></parameters><br> </method><br> <offset>ac</offset><br> <nativeoffset>ee</nativeoffset><br> <br> <frame> <br> <method><br> <modulename>MailClient.exe</modulename><br> <metadatatoken>100677170</metadatatoken><br> <assembly>MailClient</assembly><br> <type>MailClient.Storage.Application.Folder</type><br> <name>GetFolder</name><br> <parameters><br> <parameter><br> <assembly>mscorlib</assembly><br> <type>System.String</type><br> <name>path</name><br> </parameter><br> </parameters><br> </method><br> <offset>35</offset><br> <nativeoffset>8b</nativeoffset><br> <br> <frame> <br> <method><br> <modulename>MailClient.exe</modulename><br> <metadatatoken>100687109</metadatatoken><br> <assembly>MailClient</assembly><br> <type>MailClient.Accounts.MailAccount</type><br> <name>GetSpecialFolder</name><br> <parameters><br> <parameter><br> <assembly>MailClient</assembly><br> <type>MailClient.Storage.Application.SpecialFolderType</type><br> <name>type</name><br> </parameter><br> <parameter><br> <assembly>mscorlib</assembly><br> <type>System.Boolean</type><br> <name>create</name><br> </parameter><br> </parameters><br> </method><br> <offset>97</offset><br> <nativeoffset>13f</nativeoffset><br> <br> <frame> <br> <method><br> <modulename>MailClient.exe</modulename><br> <metadatatoken>100687148</metadatatoken><br> <assembly>MailClient</assembly><br> <type>MailClient.Accounts.MailAccount+SendCommand</type><br> <name>.ctor</name><br> <parameters><br> <parameter><br> <assembly>MailClient</assembly><br> <type>MailClient.Accounts.MailAccount</type><br> <name>account</name><br> </parameter><br> </parameters><br> </method><br> <offset>23</offset><br> <nativeoffset>a2</nativeoffset><br> <br> <frame> <br> <method><br> <modulename>MailClient.exe</modulename><br> <metadatatoken>100687117</metadatatoken><br> <assembly>MailClient</assembly><br> <type>MailClient.Accounts.MailAccount</type><br> <name>SendAsync</name><br> <parameters></parameters><br> </method><br> <offset>2d</offset><br> <nativeoffset>6c</nativeoffset><br> <br> <frame> <br> <method><br> <modulename>MailClient.exe</modulename><br> <metadatatoken>100663462</metadatatoken><br> <assembly>MailClient</assembly><br> <type>MailClient.Accounts.AccountManager</type><br> <name>SendAll</name><br> <parameters></parameters><br> </method><br> <offset>52</offset><br> <nativeoffset>a1</nativeoffset><br> <br> <frame> <br> <method><br> <modulename>MailClient.exe</modulename><br> <metadatatoken>100663461</metadatatoken><br> <assembly>MailClient</assembly><br> <type>MailClient.Accounts.AccountManager</type><br> <name>timerSendAndReceive_Tick</name><br> <parameters><br> <parameter><br> <assembly>mscorlib</assembly><br> <type>System.Object</type><br> <name>sender</name><br> </parameter><br> <parameter><br> <assembly>mscorlib</assembly><br> <type>System.EventArgs</type><br> <name>e</name><br> </parameter><br> </parameters><br> </method><br> <offset>0</offset><br> <nativeoffset>18</nativeoffset><br> <br> <frame> <br> <method><br> <modulename>System.Windows.Forms.dll</modulename><br> <metadatatoken>100677718</metadatatoken><br> <assembly>System.Windows.Forms</assembly><br> <type>System.Windows.Forms.Timer</type><br> <name>OnTick</name><br> <parameters><br> <parameter><br> <assembly>mscorlib</assembly><br> <type>System.EventArgs</type><br> <name>e</name><br> </parameter><br> </parameters><br> </method><br> <offset>8</offset><br> <nativeoffset>18</nativeoffset><br> <br> <frame> <br> <method><br> <modulename>System.Windows.Forms.dll</modulename><br> <metadatatoken>100687047</metadatatoken><br> <assembly>System.Windows.Forms</assembly><br> <type>System.Windows.Forms.Timer+TimerNativeWindow</type><br> <name>WndProc</name><br> <parameters><br> <parameter><br> <assembly>System.Windows.Forms</assembly><br> <type>System.Windows.Forms.Message&amp;</type><br> <name>m</name><br> </parameter><br> </parameters><br> </method><br> <offset>21</offset><br> <nativeoffset>37</nativeoffset><br> <br> <frame> <br> <method><br> <modulename>System.Windows.Forms.dll</modulename><br> <metadatatoken>100674652</metadatatoken><br> <assembly>System.Windows.Forms</assembly><br> <type>System.Windows.Forms.NativeWindow</type><br> <name>DebuggableCallback</name><br> <parameters><br> <parameter><br> <assembly>mscorlib</assembly><br> <type>System.IntPtr</type><br> <name>hWnd</name><br> </parameter><br> <parameter><br> <assembly>mscorlib</assembly><br> <type>System.Int32</type><br> <name>msg</name><br> </parameter><br> <parameter><br> <assembly>mscorlib</assembly><br> <type>System.IntPtr</type><br> <name>wparam</name><br> </parameter><br> <parameter><br> <assembly>mscorlib</assembly><br> <type>System.IntPtr</type><br> <name>lparam</name><br> </parameter><br> </parameters><br> </method><br> <offset>25</offset><br> <nativeoffset>5d</nativeoffset><br> <br> <frame> <br> <method><br> <modulename>System.Windows.Forms.dll</modulename><br> <metadatatoken>100681123</metadatatoken><br> <assembly>System.Windows.Forms</assembly><br> <type>System.Windows.Forms.UnsafeNativeMethods</type><br> <name>DispatchMessageW</name><br> <parameters><br> <parameter><br> <assembly>System.Windows.Forms</assembly><br> <type>System.Windows.Forms.NativeMethods+MSG&amp;</type><br> <name>msg</name><br> </parameter><br> </parameters><br> </method><br> <offset>ffffffff</offset><br> <nativeoffset>0</nativeoffset><br> <br> <frame> <br> <method><br> <modulename>System.Windows.Forms.dll</modulename><br> <metadatatoken>100684322</metadatatoken><br> <assembly>System.Windows.Forms</assembly><br> <type>System.Windows.Forms.Application+ComponentManager</type><br> <name>System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop</name><br> <parameters><br> <parameter><br> <assembly>mscorlib</assembly><br> <type>System.IntPtr</type><br> <name>dwComponentID</name><br> </parameter><br> <parameter><br> <assembly>mscorlib</assembly><br> <type>System.Int32</type><br> <name>reason</name><br> </parameter><br> <parameter><br> <assembly>mscorlib</assembly><br> <type>System.Int32</type><br> <name>pvLoopData</name><br> </parameter><br> </parameters><br> </method><br> <offset>173</offset><br> <nativeoffset>24c</nativeoffset><br> <br> <frame> <br> <method><br> <modulename>System.Windows.Forms.dll</modulename><br> <metadatatoken>100684368</metadatatoken><br> <assembly>System.Windows.Forms</assembly><br> <type>System.Windows.Forms.Application+ThreadContext</type><br> <name>RunMessageLoopInner</name><br> <parameters><br> <parameter><br> <assembly>mscorlib</assembly><br> <type>System.Int32</type><br> <name>reason</name><br> </parameter><br> <parameter><br> <assembly>System.Windows.Forms</assembly><br> <type>System.Windows.Forms.ApplicationContext</type><br> <name>context</name><br> </parameter><br> </parameters><br> </method><br> <offset>1df</offset><br> <nativeoffset>154</nativeoffset><br> <br> <frame> <br> <method><br> <modulename>System.Windows.Forms.dll</modulename><br> <metadatatoken>100684367</metadatatoken><br> <assembly>System.Windows.Forms</assembly><br> <type>System.Windows.Forms.Application+ThreadContext</type><br> <name>RunMessageLoop</name><br> <parameters><br> <parameter><br> <assembly>mscorlib</assembly><br> <type>System.Int32</type><br> <name>reason</name><br> </parameter><br> <parameter><br> <assembly>System.Windows.Forms</assembly><br> <type>System.Windows.Forms.ApplicationContext</type><br> <name>context</name><br> </parameter><br> </parameters><br> </method><br> <offset>14</offset><br> <nativeoffset>4b</nativeoffset><br> <br> <frame> <br> <method><br> <modulename>MailClient.exe</modulename><br> <metadatatoken>100675740</metadatatoken><br> <assembly>MailClient</assembly><br> <type>MailClient.Program</type><br> <name>&lt;Main&gt;b__4</name><br> <parameters></parameters><br> </method><br> <offset>17</offset><br> <nativeoffset>4f</nativeoffset><br> <br> <frame> <br> <method><br> <modulename>MailClient.ExceptionUtils.dll</modulename><br> <metadatatoken>100663314</metadatatoken><br> <assembly>MailClient.ExceptionUtils</assembly><br> <type>MailClient.ExceptionUtils.ExceptionUtils</type><br> <name>Filter</name><br> <parameters><br> <parameter><br> <assembly>MailClient.ExceptionUtils</assembly><br> <type>MailClient.ExceptionUtils.ExceptionUtils+BodyDelegate</type><br> <name>body</name><br> </parameter><br> <parameter><br> <assembly>MailClient.ExceptionUtils</assembly><br> <type>MailClient.ExceptionUtils.ExceptionUtils+FilterDelegate</type><br> <name>filter</name><br> </parameter><br> <parameter><br> <assembly>mscorlib</assembly><br> <type>System.Action1[[System.Exception, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]
handler



0
22






MailClient.exe
C:\Program Files\eM Client\MailClient.exe
MailClient.exe
MailClient.exe
6.0.24316.0
eM Client
eM Client
6.0.24316.0
False
False
False
False
False
Language Neutral


ntdll.dll
C:\Windows\SYSTEM32\ntdll.dll
ntdll.dll
ntdll.dll.mui
6.1.7600.16385 (win7_rtm.090713-1255)
NT Layer DLL
Microsoft® Windows® Operating System
6.1.7600.16385
False
False
False
False
False
English (United States)


MSCOREE.DLL
C:\Windows\SYSTEM32\MSCOREE.DLL
mscoree.dll
mscoree.dll
4.0.40305.0 (Main.040305-0000)
Microsoft .NET Runtime Execution Engine
Microsoft® .NET Framework
4.0.40305.0
False
False
False
True
False
English (United States)


KERNEL32.dll
C:\Windows\system32\KERNEL32.dll
kernel32
kernel32
6.1.7601.18015 (win7sp1_gdr.121129-1432)
Windows NT BASE API Client DLL
Microsoft® Windows® Operating System
6.1.7601.18015
False
False
False
False
False
English (United States)


KERNELBASE.dll
C:\Windows\system32\KERNELBASE.dll
Kernelbase
Kernelbase
6.1.7601.18015 (win7sp1_gdr.121129-1432)
Windows NT BASE API Client DLL
Microsoft® Windows® Operating System
6.1.7601.18015
False
False
False
False
False
English (United States)


ADVAPI32.dll
C:\Windows\system32\ADVAPI32.dll
advapi32.dll
advapi32.dll.mui
6.1.7601.18869 (win7sp1_gdr.150525-0603)
Advanced Windows 32 Base API
Microsoft® Windows® Operating System
6.1.7601.18869
False
False
False
False
False
English (United States)


msvcrt.dll
C:\Windows\system32\msvcrt.dll
msvcrt.dll
msvcrt.dll
7.0.7601.17744 (win7sp1_gdr.111215-1535)
Windows NT CRT DLL
Microsoft® Windows® Operating System
7.0.7601.17744
False
False
False
False
False
English (United States)


sechost.dll
C:\Windows\SYSTEM32\sechost.dll
sechost.dll
sechost.dll.mui
6.1.7600.16385 (win7_rtm.090713-1255)
Host for SCM/SDDL/LSA Lookup APIs
Microsoft® Windows® Operating System
6.1.7600.16385
False
False
False
False
False
English (United States)


RPCRT4.dll
C:\Windows\system32\RPCRT4.dll
rpcrt4.dll
rpcrt4.dll.mui
6.1.7600.16385 (win7_rtm.090713-1255)
Remote Procedure Call Runtime
Microsoft® Windows® Operating System
6.1.7600.16385
False
False
False
False
False
English (United States)


mscoreei.dll
C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscoreei.dll
mscoreei.dll
mscoreei.dll
4.6.81.0 built by: NETFXREL2
Microsoft .NET Runtime Execution Engine
Microsoft® .NET Framework
4.6.81.0
False
False
False
True
False
English (United States)


SHLWAPI.dll
C:\Windows\system32\SHLWAPI.dll
SHLWAPI
SHLWAPI.DLL.MUI
6.1.7600.16385 (win7_rtm.090713-1255)
Shell Light-weight Utility Library
Microsoft® Windows® Operating System
6.1.7600.16385
False
False
False
False
False
English (United States)


GDI32.dll
&

Hello Debbie,
seems like your database is corrupted and it crashes whenever it tries to write some new data in it.
I’m afraid you will need to delete your current database and start with a new one - find your database in C:\Users\YOUR USER ACCOUNT\AppData\Roaming\eM Cleint and delete the whole folder.
Restart eM Client and start over with a clean database or use File>Restore… to restore an older backup of your data if you have any.

Regards,
Olivia

Thank you, Olivia. Will doing this delete all of my old emails and/or my organizational folders?

Hi Debbie,
deleting your database will remove your local data and settings.

Regards,
Olivia