We have a problem starting up em client email.

There is a problem starting up em client about consistancy data. Can you solve this. Here is more information: 

System.ApplicationException: database disk image is malformed
database disk image is malformed
Line: 9
DELETE FROM mail_index.MailItems WHERE NOT EXISTS(SELECT id FROM mail_data.LocalMailContents WHERE id=mail_index.MailItems.id LIMIT 1);
   bij MailClient.Storage.Data.DbRepository1.ImportFromResource(IDbConnection connection, Stream myStream, CancellationToken token)    bij MailClient.Storage.Data.DbRepository1.ImportFromManifestResource(String resourceName, CancellationToken token)
   bij MailClient.Storage.Data.DbRepository1.Repair(RepairMode mode, CancellationToken token) &nbsp;&nbsp; bij MailClient.Accounts.ItemRepositories.Repair(RepairMode mode, CancellationToken token) &nbsp;&nbsp; bij DbRepair.ConsistencyChecker.CheckConsistencyForAccount(String accountDirectory, RepairMode mode, CancellationToken token) &nbsp;&nbsp; bij DbRepair.ConsistencyChecker.\<\>c\_\_DisplayClass2\_0.<check>b__0(String p)<br> bij DbRepair.PerAccountExecutor.Execute(String dataStoreLocation, Func2 action)
bij DbRepair.ConsistencyChecker.Check(RepairMode mode, CancellationToken token)
bij DbRepair.CheckingProcess.Check(CancellationToken token)
Data:
ResourceName: MailClient.Storage.Mail.Data.DbMailRepository.consistency.sql
DatastoreLocation: C:\Users\laura\AppData\Roaming\eM Client</check>

Hi Lauran,

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 program crash.

In case you have all your data saved on servers you can simply delete the database folder and start eM Client.
It will create 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