corrupt database

The Database Check tool has failed with the following Application Error which the tool has requested I send to yourselves. I can be contacted at paulsnolan@gmail.com. My tel no. is 07775 850409, I am based in the UK Regards Paul Nolan System.IO.IOException: database disk image is malformed —> System.Data.SQLite.SQLiteException: database disk image is malformed    at System.Data.SQLite.SQLiteBlob.Read(Byte[] buffer, Int32 count, Int32 offset)    at MailClient.Storage.Data.BlobStream.Read(Byte[] buffer, Int32 offset, Int32 count)    — End of inner exception stack trace —    at MailClient.Storage.Data.BlobStream.Read(Byte[] buffer, Int32 offset, Int32 count)    at MailClient.Streams.StreamHelper.CopyStream(Stream inputStream, Stream outputStream, Nullable`1 cancellationToken, ProgressReporter reporter)    at MailClient.Storage.Data.DatabaseCopyTool.CopyContents(Table table, Boolean sortDesc)    at MailClient.Storage.Data.DatabaseCopyTool.CopyTableData(Table table)    at MailClient.Storage.Data.DatabaseCopyTool.CopyInternal(String specificTable, Boolean copyIndexesViewsAndTriggers)    at DbRepair.CorruptionChecker.CheckCorruption(RepairOptions repairOptions, CancellationToken token)    at DbRepair.CheckingProcess.Check(CancellationToken token) Data: Table: LocalMailContents databaseFile: b48bf5e4-d681-49ca-98be-15825b63fdba9a936e23-e004-4c9f-911f-8c002673e200mail_data.dat

Can anyone help?

I’ve sent details to the support desk as requested and am waiting a reply

Hello Paul,

From what I see from the log, your database is most likely corrupted.

Please note that you have to close eM Client before making any changes in the database location, proceeding without closed eM Client can cause the database corruption.

In case you have all your data saved on servers you can simply delete the database folder and start eM Client.
It will create an empty database where you can set your accounts again. All your data should be pushed to eM Client automatically then.
You can find eM Client database here:
C:\Users%Current User%\AppData\Roaming\eM Client
To locate AppData folder you need to view hidden folders in Windows: https://support.microsoft.com/en-us/help/14201/windows-show-hidden-files

In case that you have an account set as POP3, you can restore the old database backup if you made any in Menu > File > Restore.

Russel

Hi Russel

Thanks for the reply

I create daily backups and save them locally, not on a server. I keep the last 3 days.

Is the database folder at

C:\Users%Current User%\AppData\Roaming\eM Client

or is it a sub folder within the eM Client folder? See image


Also when the database check tool fails it provides ‘Restore backup’ button, can this be used? See image

Regards

Paul