Em Client keeps crashing when clicking new message

 I love Em Client and don’t want to use any other email client but currently unable to send any emails at all. I have looked through many forum messages trying to follow trouble shooting and have exhausted all options. I have uninstalled completely several times and re-installed. I have tried repairing database with no luck. As soon as I click new message, it instantly crashes with the following error. If you could please help that would be fantastic. I have just recently updated to windows 10 and this seems to be the problem I think.

eM Client (6.0.22344.0)Windows: Microsoft Windows NT 6.2.9200.0, Framework: 4.0.30319.42000
The following error has occurred:
System.TypeInitializationException: The type initializer for ‘MailClient.Security.SecurityManager’ threw an exception. —> System.Data.SQLite.SQLiteException: unable to open database file
unable to open database: C:\Users\Joel\AppData\Roaming\eM Client\security_index.dat
   at System.Data.SQLite.SQLite3.Reset(SQLiteStatement 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.ExecuteNonQuery()
   at MailClient.Storage.Data.SQLite.DbRepository1..ctor(Compactor compactor, String indexTable, String[] readWriteDatabaseNames, String[] readOnlyDatabaseNames) &nbsp; &nbsp;at MailClient.Storage.Data.SQLite.DbSecurityProfileRepository..ctor(Compactor compactor) &nbsp; &nbsp;at MailClient.Storage.Data.RepositoryFactory.get\_SecurityProfileRepository() &nbsp; &nbsp;at MailClient.Security.SecurityManager..ctor() &nbsp; &nbsp;at MailClient.Security.SecurityManager..cctor() &nbsp; &nbsp;--- End of inner exception stack trace --- &nbsp; &nbsp;at MailClient.Security.SecurityManager.get\_Instance() &nbsp; &nbsp;at MailClient.Accounts.Db.MailAccountConfiguration.get\_SecurityProfile() &nbsp; &nbsp;at MailClient.UI.Forms.formSendMail.get\_securityProfile() &nbsp; &nbsp;at MailClient.UI.Forms.formSendMail..ctor(IMail mail, SendResponseType sendResponseType, MailAccount mailAccount) &nbsp; &nbsp;at MailClient.UI.Forms.formSendMail.createNew(MailAccount mailAccount) &nbsp; &nbsp;at MailClient.UI.Forms.formSendMail.CreateNew(String mailTo, MailAccount mailAccount) &nbsp; &nbsp;at MailClient.UI.Forms.formMain.ShowNewMessage(String mailto, Boolean useDefaultAccount) &nbsp; &nbsp;at MailClient.UI.Forms.formMain.tsmiNewMail\_Click(Object sender, EventArgs e) &nbsp; &nbsp;at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e) &nbsp; &nbsp;at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e) &nbsp; &nbsp;at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e) &nbsp; &nbsp;at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met) &nbsp; &nbsp;at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met) &nbsp; &nbsp;at System.Windows.Forms.ToolStripItem.FireEvent(ToolStripItemEventType met) &nbsp; &nbsp;at System.Windows.Forms.ToolStripSplitButton.OnButtonClick(EventArgs e) &nbsp; &nbsp;at System.Windows.Forms.ToolStripSplitButton.OnMouseUp(MouseEventArgs e) &nbsp; &nbsp;at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e) &nbsp; &nbsp;at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met) &nbsp; &nbsp;at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met) &nbsp; &nbsp;at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea) &nbsp; &nbsp;at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) &nbsp; &nbsp;at System.Windows.Forms.Control.WndProc(Message& m) &nbsp; &nbsp;at System.Windows.Forms.ScrollableControl.WndProc(Message& m) &nbsp; &nbsp;at System.Windows.Forms.ToolStrip.WndProc(Message& m) &nbsp; &nbsp;at MailClient.Common.UI.Controls.ToolStripEx.WndProc(Message& m) &nbsp; &nbsp;at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) &nbsp; &nbsp;at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) &nbsp; &nbsp;at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) &nbsp; &nbsp;at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg) &nbsp; &nbsp;at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData) &nbsp; &nbsp;at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context) &nbsp; &nbsp;at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context) &nbsp; &nbsp;at MailClient.Program.<main>b__4()<br> at MailClient.ExceptionUtils.ExceptionUtils.Filter(BodyDelegate body, FilterDelegate filter, Action1 handler)


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

eM Client
6.0.22344.0

false

Microsoft Windows NT 6.2.9200.0
4.0.30319.42000


System.TypeInitializationException
The type initializer for ‘MailClient.Security.SecurityManager’ threw an exception.
MailClient




MailClient.exe
100680315
MailClient
MailClient.Security.SecurityManager
get_Instance


ffffffff
0




MailClient.exe
100687023
MailClient
MailClient.Accounts.Db.MailAccountConfiguration
get_SecurityProfile


0
b




MailClient.exe
100693548
MailClient
MailClient.UI.Forms.formSendMail
get_securityProfile


12
37




MailClient.exe
100693466
MailClient
MailClient.UI.Forms.formSendMail
.ctor


MailClient.Mail
MailClient.Mail.IMail
mail


MailClient
MailClient.UI.Forms.formSendMail+SendResponseType
sendResponseType


MailClient
MailClient.Accounts.MailAccount
mailAccount



521
aab




MailClient.exe
100693478
MailClient
MailClient.UI.Forms.formSendMail
createNew


MailClient
MailClient.Accounts.MailAccount
mailAccount



0
1e




MailClient.exe
100693486
MailClient
MailClient.UI.Forms.formSendMail
CreateNew


mscorlib
System.String
mailTo


MailClient
MailClient.Accounts.MailAccount
mailAccount



0
20




MailClient.exe
100693157
MailClient
MailClient.UI.Forms.formMain
ShowNewMessage


mscorlib
System.String
mailto


mscorlib
System.Boolean
useDefaultAccount



41
8c




MailClient.exe
100693193
MailClient
MailClient.UI.Forms.formMain
tsmiNewMail_Click


mscorlib
System.Object
sender


mscorlib
System.EventArgs
e



0
c




System.Windows.Forms.dll
100679150
System.Windows.Forms
System.Windows.Forms.ToolStripItem
RaiseEvent


mscorlib
System.Object
key


mscorlib
System.EventArgs
e



15
6d




System.Windows.Forms.dll
100679466
System.Windows.Forms
System.Windows.Forms.ToolStripMenuItem
OnClick


mscorlib
System.EventArgs
e



17
45




System.Windows.Forms.dll
100679085
System.Windows.Forms
System.Windows.Forms.ToolStripItem
HandleClick


mscorlib
System.EventArgs
e



3b
c3




System.Windows.Forms.dll
100679071
System.Windows.Forms
System.Windows.Forms.ToolStripItem
FireEventInteractive


mscorlib
System.EventArgs
e


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



60
aa




System.Windows.Forms.dll
100679070
System.Windows.Forms
System.Windows.Forms.ToolStripItem
FireEvent


mscorlib
System.EventArgs
e


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



c9
8eaa28




System.Windows.Forms.dll
100679069
System.Windows.Forms
System.Windows.Forms.ToolStripItem
FireEvent


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



6
1d




System.Windows.Forms.dll
100680226
System.Windows.Forms
System.Windows.Forms.ToolStripSplitButton
OnButtonClick


mscorlib
System.EventArgs
e



0
1f




System.Windows.Forms.dll
100680230
System.Windows.Forms
System.Windows.Forms.ToolStripSplitButton
OnMouseUp


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



10a
21b




System.Windows.Forms.dll
100679094
System.Windows.Forms
System.Windows.Forms.ToolStripItem
HandleMouseUp


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



cb
20d




System.Windows.Forms.dll
100679071
System.Windows.Forms
System.Windows.Forms.ToolStripItem
FireEventInteractive


mscorlib
System.EventArgs
e


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



46
88




System.Windows.Forms.dll
100679070
System.Windows.Forms
System.Windows.Forms.ToolStripItem
FireEvent


mscorlib
System.EventArgs
e


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



c9
8eaa28




System.Windows.Forms.dll
100678108
System.Windows.Forms
System.Windows.Forms.ToolStrip
OnMouseUp


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



6f
b1




System.Windows.Forms.dll
100666899
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
27e




System.Windows.Forms.dll
100666915
System.Windows.Forms
System.Windows.Forms.Control
WndProc


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



62f
911d5c




System.Windows.Forms.dll
100676291
System.Windows.Forms
System.Windows.Forms.ScrollableControl
WndProc


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



34
2f




System.Windows.Forms.dll
100678159
System.Windows.Forms
System.Windows.Forms.ToolStrip
WndProc


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



e3
49




MailClient.Common.UI.dll
100663395
MailClient.Common.UI
MailClient.Common.UI.Controls.ToolStripEx
WndProc


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



0
11




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


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



0
12




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


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



8e
34




System.Windows.Forms.dll
100674652
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
100681123
System.Windows.Forms
System.Windows.Forms.UnsafeNativeMethods
DispatchMessageW


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



ffffffff
0




System.Windows.Forms.dll
100684322
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



173
24c




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


mscorlib
System.Int32
reason


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



1df
154




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


mscorlib
System.Int32
reason


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



14
4b




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


17
38




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.Data.SQLite.SQLiteException
unable to open database file
unable to open database: C:\Users\Joel\AppData\Roaming\eM Client\security_index.dat
System.Data.SQLite




System.Data.SQLite.dll
100663598
System.Data.SQLite
System.Data.SQLite.SQLite3
Reset


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



83
18c




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


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



3c
da




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
71



&lt

Hello, unfortunately it seems like some of the application database data may be corrupt or is no longer accessible for the application to read/write. Please try to download this utility, http://www.emclient.com/tools/dbrepairrebuildall.exe and check if the issue persists. This utility will check your database files and try to remove any database issues, however if the application finishes with errors, I’m afraid it might no longer be possible to restore these items.

In the worst case scenario, I can recommend exporting your data out of the application database or in case you’re using a regular IMAP account and your items are safely backed up on the mail server, setup a new database for the application. To setup a new database navigate to your local user/AppData/Roaming folder and remove/rename the current eM Client database folder.

Next application startup will force the application to create a clean database, hopefully allowing you to get rid off this issue.

Regards,