This is a migrated thread and some comments may be shown as answers.

One important Error

1 Answer 19 Views
Data Access Free Edition
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
wang
Top achievements
Rank 1
wang asked on 20 Aug 2014, 11:00 AM
1. background,when i use OpenAccess for sqlite,Start it works well,but run someday, i always get an error:Telerik.OpenAccess.RT.sql.SQLException: database disk image is malformed

database disk image is malformed ---> System.Data.SQLite.SQLiteException: database disk image is malformed

database disk image is malformed

2.  The error tell us DB is malformed ,but i use Ado.net to access the DB,it works.So i think openaccess has some bug,But i dont know hot to do.

3. So,i need help

4. Is my using way has problem?

1 Answer, 1 is accepted

Sort by
0
Ady
Telerik team
answered on 20 Aug 2014, 12:59 PM
Hello Wang,

 I am not aware of the exact cause of this error but here are some helpful links that provide steps on how to fix the problem. The basic approach is to create a copy of the database including all the data.
  1. http://techblog.dorogin.com/2011/05/sqliteexception-database-disk-image-is.html
  2. http://www.dosomethinghere.com/2013/02/20/fixing-the-sqlite-error-the-database-disk-image-is-malformed/

 Do get back in case you need further assistance.


Regards,
Ady
Telerik
 
OpenAccess ORM is now Telerik Data Access. For more information on the new names, please, check out the Telerik Product Map.
 
Tags
Data Access Free Edition
Asked by
wang
Top achievements
Rank 1
Answers by
Ady
Telerik team
Share this question
or