I've experienced this problem in the past. According to here<http://technosophos.com/node/242>, I found a solution.
*Brandon's Tips on How to Unlock SQLite Databases* 1. Open a command line prompt window. 2. Type *sqlite* *dbname*.sqlite in the command line prompt, replacing "dbname" with the SQLite database name. 3. In the secondary prompt that appears, type *.backup* full *dbname* .sqlite, replacing "dbname" with the SQLite database name. 4. Type *.exit *to return to the ordinary command prompt. 5. Type *mv* *dbname*.sqlite old.sqlite, then *mv* backup.sqlite *dbname* .sqlite in the command line, replacing "dbname" with the SQLite database name. 6. Try the task you were attempting to do before you did all of the above instructions. 7. *You are done!* *Brandon Sky Pimenta* On Tue, Sep 11, 2012 at 10:35 AM, Serge Fournier <tech...@gmail.com> wrote: > Hi, > > I'm not sure if it's Windows 8 or the latest version of the library > (1.0.82) but I have a new > problem with the same code that was working before. > > Simply put, i I open a database and then close it in an application then I > reopen it again, > I cannot write to it anymore; it is always locked. I tried doing a close, > dispose and shutdown > to my connection and then reopning it and do a simple vaccum; it tell me > that there's still > sql queries in progress when none were sent to the database. > > I cannot test this in Windows 7 yet, but I'm wandering if it's a problem > with Windows 8; or > a bug in the new version of System.Data.SQlite. > > I use Visual Studio 2010. > > Thanks. > _______________________________________________ > sqlite-users mailing list > sqlite-users@sqlite.org > http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users > _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users