One important Error

2 posts, 0 answers
  1. wang
    wang avatar
    1 posts
    Member since:
    Feb 2013

    Posted 20 Aug 2014 Link to this post

    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?
  2. Ady
    Admin
    Ady avatar
    589 posts

    Posted 20 Aug 2014 Link to this post

    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.
     
  3. DevCraft banner
Back to Top