S Smee Well-Known Member Licensed User Longtime User Apr 14, 2012 #1 I am getting the following error when trying to initialise a database android.database.sqlite.SQLiteDatabaseCorruptException: database disk image is malformed: , while compiling: PRAGMA journal_mode=TRUNCATE The file opens ok with sqllite administrator on windows. i have done a database clean and it shows everything is ok. I ftp upload the database (binary) and then ftp download to a tablet. if i try a different database same name etc(old back up) it downloads and initialises properly. Can anyone advise any ideas on how to repair or fix this problem? Thanks
I am getting the following error when trying to initialise a database android.database.sqlite.SQLiteDatabaseCorruptException: database disk image is malformed: , while compiling: PRAGMA journal_mode=TRUNCATE The file opens ok with sqllite administrator on windows. i have done a database clean and it shows everything is ok. I ftp upload the database (binary) and then ftp download to a tablet. if i try a different database same name etc(old back up) it downloads and initialises properly. Can anyone advise any ideas on how to repair or fix this problem? Thanks
C colin van Blommestein Member Licensed User Longtime User Mar 2, 2014 #21 Nullexception error Error sorted. Restarted phone and database seemed to repair itself Is there a database repair addon for DBUtils, SQLite Thanks Erel for responding. Upvote 0
Nullexception error Error sorted. Restarted phone and database seemed to repair itself Is there a database repair addon for DBUtils, SQLite Thanks Erel for responding.
Erel B4X founder Staff member Licensed User Longtime User Mar 3, 2014 #22 No. Can you post the full error message from the logs? Upvote 0
eps Expert Licensed User Longtime User Mar 3, 2014 #23 colin van Blommestein said: Nullexception error Error sorted. Restarted phone and database seemed to repair itself Is there a database repair addon for DBUtils, SQLite Thanks Erel for responding. Click to expand... That's not a malformed database then, unless you got a malformed database error message, which you haven't indicated. Upvote 0
colin van Blommestein said: Nullexception error Error sorted. Restarted phone and database seemed to repair itself Is there a database repair addon for DBUtils, SQLite Thanks Erel for responding. Click to expand... That's not a malformed database then, unless you got a malformed database error message, which you haven't indicated.