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) at MailClient.Storage.Data.SQLite.DbSecurityProfileRepository..ctor(Compactor compactor) at MailClient.Storage.Data.RepositoryFactory.get\_SecurityProfileRepository() at MailClient.Security.SecurityManager..ctor() at MailClient.Security.SecurityManager..cctor() --- End of inner exception stack trace --- at MailClient.Security.SecurityManager.get\_Instance() at MailClient.Accounts.Db.MailAccountConfiguration.get\_SecurityProfile() at MailClient.UI.Forms.formSendMail.get\_securityProfile() at MailClient.UI.Forms.formSendMail..ctor(IMail mail, SendResponseType sendResponseType, MailAccount mailAccount) at MailClient.UI.Forms.formSendMail.createNew(MailAccount mailAccount) at MailClient.UI.Forms.formSendMail.CreateNew(String mailTo, MailAccount mailAccount) at MailClient.UI.Forms.formMain.ShowNewMessage(String mailto, Boolean useDefaultAccount) at MailClient.UI.Forms.formMain.tsmiNewMail\_Click(Object sender, EventArgs e) at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e) at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e) at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e) at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met) at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met) at System.Windows.Forms.ToolStripItem.FireEvent(ToolStripItemEventType met) at System.Windows.Forms.ToolStripSplitButton.OnButtonClick(EventArgs e) at System.Windows.Forms.ToolStripSplitButton.OnMouseUp(MouseEventArgs e) at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e) at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met) at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met) at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ScrollableControl.WndProc(Message& m) at System.Windows.Forms.ToolStrip.WndProc(Message& m) at MailClient.Common.UI.Controls.ToolStripEx.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 MailClient.Program.<main>b__4()<br> at MailClient.ExceptionUtils.ExceptionUtils.Filter(BodyDelegate body, FilterDelegate filter, Action1 handler)
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.