I have problems opening eM Client

System.Data.SQLite.SQLiteException: file is encrypted or is not a database
file is encrypted or is not a database
   en System.Data.SQLite.SQLite3.Prepare(SQLiteConnection cnn, String strSql, SQLiteStatement previous, UInt32 timeoutMS, String& strRemain)
   en System.Data.SQLite.SQLiteCommand.BuildNextCommand()
   en System.Data.SQLite.SQLiteCommand.GetStatement(Int32 index)
   en System.Data.SQLite.SQLiteDataReader.NextResult()
   en System.Data.SQLite.SQLiteDataReader…ctor(SQLiteCommand cmd, CommandBehavior behave)
   en System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior)
   en System.Data.SQLite.SQLiteCommand.ExecuteNonQuery()
   en System.Data.SQLite.SQLiteConnection.Open()
   en MailClient.Storage.Data.DataStore.GetConnection(String relativeName)
   en DbRepair.CorruptionChecker.CheckCorruption()
   en DbRepair.FormCheck.Check(Object state)

Hello Elena,

thank you for reporting this.
According to the error message you received it looks like your database is corrupted.
Those are the options you have at this moment:

  1. If you made any backup of eM Client’s database in the past you can simply restore it and eM Client should start working without any problems. 
  2. 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

Please let me know if this information was helpful.
Russel Markosky
eM Client