Getting error that the database is locked when refreshing the page
Posted
by acidzombie24
on Stack Overflow
See other posts from Stack Overflow
or by acidzombie24
Published on 2010-05-22T17:15:41Z
Indexed on
2010/05/22
17:50 UTC
Read the original article
Hit count: 211
The title is a joke. However it is serious as far as my app is concerned. I am running apache with mod mono and my asp.net app is using mono sqlite as its db. When i refresh the page twice i get the DB is locked error. The folder it is in is chmod 777. The webapp is creating sqlite.db and sqlite.db-journal but it doesnt seem to be able to delete the journal.
i'm confused. What permissions do i need to set these? i tried precreating the files using 777 and had no luck.
© Stack Overflow or respective owner