Hi I am using Sqlite for my project and getting Error like -SQLITE_NOTADB whenever i am trying below scenario-
1- Open and create the database 2- Execute Sqlite_Exec to Insert the record in the database table 3- Close the database 4- Confirm by opening the .db file in sqlite browser tht dtabase table insert the records 5- Again Open the the database 6- Whenever Executing Sqlite_Exec to Update the colum value of database table . .Getting the Errror in Sqlite3_Prepare()--->lockBtree(BtShared *pBt)--> if( memcmp(page1, zMagicHeader, 16)!=0 ){ goto page1_init_failed; Everytimes above if condition True hence page1_init_failed and returns rc = SQLITE_NOTADB; Anybody have any idea what would be the reason if db table is creating properly then why does failing in this condition . Cheers kritesh I am getting Error lockBtree -- Regards kritesh tripathi _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users