eM Client Crashes

Every so often…Actually more often than not the application seems to crash unexpectedly when I have it minimized on my task-bar in Windows 7 32bit…When I did a crash report that application had crashed and checked the database. Upon running a database check I got another message asking me to run a debug report with the following:

System.Data.SQLite.SQLiteException: The database file is locked
database is locked
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 System.Data.SQLite.SQLiteConnection.Open()
at DbRepair.DbTools.OpenConnection(String fileName)
at DbRepair.Form1.CheckCorruption()
at DbRepair.Form1.Check(Object state)

Not sure what the above means but if someone can help…I’d really appreciate it

The error message above is referring to the corruption of the database. Not the program.

So how do I fix this?