PDA

View Full Version : Error "Database is Locked"




rupesh.swami
Mar 16, 2009, 06:49 AM
hi all,
i am new to iPhone Programming
when i insert or update the record in table, then most of time error "Database is locked" occured. How can i resolve this error?



yayaba
Mar 16, 2009, 06:28 PM
One thing to try is to copy the sqlite db file to the Documents directory of your app. That should remove the read-only access I think.