Unable open without error message

I get the following error -
6:14:45 PM Online state: changed to online due to NetworkAvailability
6:14:45 PM jack@thereps.com [IMAP]  Synchronizing subfolders: For folder jack@thereps.com/
6:14:46 PM jack@thereps.com [IMAP]  Synchronizing subfolders: Done
6:14:46 PM jack@thereps.com [IMAP]  Synchronizing subfolders: For folder jack@thereps.com/INBOX
6:14:46 PM jack@thereps.com [IMAP]  Synchronizing subfolders: Done
6:14:46 PM jack@thereps.com [IMAP]  Synchronizing subfolders: For folder jack@thereps.com/Drafts
6:14:46 PM jack@thereps.com [IMAP]  Synchronizing subfolders: Done
6:14:46 PM jack@thereps.com [IMAP]  Synchronizing subfolders: For folder jack@thereps.com/E Bay
6:14:47 PM jack@thereps.com [IMAP]  Synchronizing subfolders: Done
6:14:47 PM jack@thereps.com [IMAP]  Synchronizing subfolders: For folder jack@thereps.com/Orders
6:14:47 PM jack@thereps.com [IMAP]  Synchronizing subfolders: Done
6:14:47 PM jack@thereps.com [IMAP]  Synchronizing subfolders: For folder jack@thereps.com/Leads
6:14:47 PM jack@thereps.com [IMAP]  Synchronizing subfolders: Done
6:14:47 PM jack@thereps.com [IMAP]  Synchronizing subfolders: For folder jack@thereps.com/Manufacturers
6:14:47 PM jack@thereps.com [IMAP]  Synchronizing subfolders: Done
6:14:47 PM jack@thereps.com [IMAP]  Synchronizing subfolders: For folder jack@thereps.com/Save
6:14:47 PM jack@thereps.com [IMAP]  Synchronizing subfolders: Done
6:14:47 PM jack@thereps.com [IMAP]  Synchronizing subfolders: For folder jack@thereps.com/Sent Items
6:14:47 PM jack@thereps.com [IMAP]  Synchronizing subfolders: Done
6:14:47 PM jack@thereps.com [IMAP]  Synchronizing subfolders: For folder jack@thereps.com/Trash
6:14:47 PM jack@thereps.com [IMAP]  Synchronizing subfolders: Done
6:14:47 PM jack@thereps.com [IMAP]  Synchronizing subfolders: For folder jack@thereps.com/Travel_Stuff
6:14:48 PM jack@thereps.com [IMAP]  Synchronizing subfolders: Done
6:14:48 PM jack@thereps.com [IMAP]  Synchronizing subfolders: For folder jack@thereps.com/Web stuff_Phone
6:14:48 PM jack@thereps.com [IMAP]  Synchronizing subfolders: Done
6:14:48 PM jack@thereps.com [IMAP]  Synchronizing subfolders: For folder jack@thereps.com/Manufacturers/Bessler
6:14:48 PM jack@thereps.com [IMAP]  Synchronizing subfolders: Done
6:14:48 PM jack@thereps.com [IMAP]  Synchronizing subfolders: For folder jack@thereps.com/Manufacturers/MidAm
6:14:48 PM jack@thereps.com [IMAP]  Synchronizing subfolders: Done
6:14:48 PM jack@thereps.com [IMAP]  Synchronizing subfolders: For folder jack@thereps.com/Sent
6:14:48 PM jack@thereps.com [IMAP]  Synchronizing subfolders: Done
6:14:48 PM jack@thereps.com [IMAP]  Synchronizing subfolders: For folder jack@thereps.com/Spam
6:14:49 PM jack@thereps.com [IMAP]  Synchronizing subfolders: Done
6:14:49 PM jack@thereps.com [IMAP]  Synchronizing subfolders: For folder jack@thereps.com/Archive
6:14:49 PM jack@thereps.com [IMAP]  Synchronizing subfolders: Done
6:14:49 PM jack@thereps.com [IMAP]  Synchronizing subfolders: For folder jack@thereps.com/Save/Kia
6:14:49 PM jack@thereps.com [IMAP]  Synchronizing subfolders: Done
6:14:49 PM jack@thereps.com [IMAP]  Synchronizing subfolders: For folder jack@thereps.com/Save/Bay St.
6:14:49 PM jack@thereps.com [IMAP]  Synchronizing subfolders: Done
6:14:49 PM jack@thereps.com [IMAP]  Synchronizing subfolders: For folder jack@thereps.com/Save/Medical
6:14:49 PM jack@thereps.com [IMAP]  Synchronizing subfolders: Done
6:14:49 PM jack@thereps.com [IMAP]  Synchronizing subfolders: For folder jack@thereps.com/Web stuff_Phone/WebSale
6:14:49 PM jack@thereps.com [IMAP]  Synchronizing subfolders: Done
6:14:49 PM jack@thereps.com [IMAP]  Synchronizing subfolders: For folder jack@thereps.com/Save/Save 2016
6:14:49 PM jack@thereps.com [IMAP]  Synchronizing subfolders: Done
6:14:49 PM jack@thereps.com [IMAP]  Synchronizing subfolders: For folder jack@thereps.com/Manufacturers/Shakertown
6:14:49 PM jack@thereps.com [IMAP]  Synchronizing subfolders: Done
6:14:49 PM jack@thereps.com [IMAP]  Synchronizing subfolders: For folder jack@thereps.com/Save/Condo II
6:14:49 PM jack@thereps.com [IMAP]  Synchronizing subfolders: Done
6:14:49 PM jack@thereps.com [IMAP]  Synchronizing subfolders: For folder jack@thereps.com/Invoices_Orders
6:14:50 PM jack@thereps.com [IMAP]  Synchronizing subfolders: Done
6:14:50 PM jack@thereps.com [IMAP]  Synchronizing subfolders: For folder jack@thereps.com/Pemko
6:14:50 PM jack@thereps.com [IMAP]  Synchronizing subfolders: Done
6:14:50 PM jack@thereps.com [IMAP]  Synchronizing subfolders: For folder jack@thereps.com/Manufacturers/Pemko
6:14:50 PM jack@thereps.com [IMAP]  Synchronizing subfolders: Done
6:14:50 PM jack@thereps.com [IMAP]  Synchronizing subfolders: For folder jack@thereps.com/Manufacturers/Pemko/Orders
6:14:50 PM jack@thereps.com [IMAP]  Synchronizing subfolders: Done
6:14:50 PM jack@thereps.com [IMAP]  Synchronizing subfolders: For folder jack@thereps.com/Save/Artesia
6:14:50 PM jack@thereps.com [IMAP]  Synchronizing subfolders: Done
6:14:50 PM jack@thereps.com [IMAP]  Synchronizing subfolders: For folder jack@thereps.com/Manufacturers/Homasote
6:14:50 PM jack@thereps.com [IMAP]  Synchronizing subfolders: Done
6:14:50 PM jack@thereps.com [IMAP]  Synchronizing subfolders: For folder jack@thereps.com/Manufacturers/Pemko/Invoices
6:14:50 PM jack@thereps.com [IMAP]  Synchronizing subfolders: Done
6:14:50 PM jack@thereps.com [IMAP]  Synchronizing messages: For folder jack@thereps.com/INBOX
6:14:51 PM   System.Data.SQLite.SQLiteException (0x80004005): database disk image is malformed
6:14:51 PM database disk image is malformed
6:14:51 PM    at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt)
6:14:51 PM    at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt)
6:14:51 PM    at System.Data.SQLite.SQLiteDataReader.NextResult()
6:14:51 PM    at System.Data.SQLite.SQLiteDataReader…ctor(SQLiteCommand cmd, CommandBehavior behave)
6:14:51 PM    at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior)
6:14:51 PM    at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior)
6:14:51 PM    at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery()
6:14:51 PM    at MailClient.Storage.Mail.Data.DbMailRepository.RemoveOids(Object senderContext, String oidList)
6:14:51 PM    at MailClient.Storage.Data.DbRepository1.RemoveByItems[ST](Object senderContext, IEnumerable1 items)
6:14:51 PM    at MailClient.Storage.Data.DbRepository1.Remove[ST](Object senderContext, IEnumerable1 items)
6:14:51 PM    at MailClient.RepositoryExtensions.Remove[T,ST](IRepository1 repository, IEnumerable1 items)
6:14:51 PM    at MailClient.Protocols.Imap.Synchronizer.SynchronizeMessagesCommand.RemoveDeletedMessages(ConnectionContext context)
6:14:51 PM    at MailClient.Protocols.Imap.Synchronizer.SynchronizeMessagesCommand.ExecuteInternal(WorkerStatus status)
6:14:51 PM    at MailClient.Protocols.Imap.Synchronizer.ImapCommand.Execute(WorkerStatus status)
6:14:51 PM    at MailClient.Commands.Command.Process(WorkerStatus status)

HELP

Hello Jack,

“6:14:51 PM   System.Data.SQLite.SQLiteException (0x80004005): database disk image is malformed” this line usually means that the database is corrupted. In this case I’d recommend starting eM Client with a blank database.

First of all, turn eM Client off, then allow displaying hidden folders in Windows. Your database is by default located in C:\Users_Your account_\AppData\Roaming\eM Client and you need to rename the “eM Client” folder. After you start eM Client, it will create a new database and you can check if the problem is solved. If yes, as your account was set as IMAP and if you have no data stored locally, the easiest way is setting the account again and all your data will be pulled from the server.

Russel

I think there should have been a few more lines in that error, which list the specific file in the database that is the problem. But anyway, you could try removing the email account from eM Client then adding it again. That would recreate the specific file, and re-sync with the server.

If that doesn’t work, you could delete the database as Russel advised.