System.Data.SQLite.SQLiteException: Unable to open the database file
unable to open database file
at System.Data.SQLite.SQLite3.Prepare(SQLiteConnection cnn, String strSql, SQLiteStatement previous, UInt32 timeoutMS, String& strRemain)
at System.Data.SQLite.SQLiteCommand.BuildNextCommand()
at System.Data.SQLite.SQLiteCommand.GetStatement(Int32 index)
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)
Hi Liezl, this unfortunately looks like your database is corrupt, are you using IMAP accounts? Do you have any local data in the database?
Are you able to open the application at all, or does the crash occur shortly after initialization?
Thank you,
Paul.
HI Paul, thanks so much for your prompt reply… I am not ably to open at all as it crashes shorly after initialization. I am not sure what to do now all my emails are on there and no back up :-((
Are you using an IMAP account (e.g. can you see the messages on the server/webmail)?
Thank you,
Paul.