Reasonly, we have updated our sqlite.data.dll version to 1.0.107. and now, we are experiencing "System.Data.SQLite.SQLiteLog.LogCallback: SQLite error (5): database is locked" several times in our trace log. (we have implemented the custom trace log listener). we close the every connection after it opens. Even though above log is written, database connection is open successfully and no exception is thrown. but we would like to know the reason behind it.

Further more, we added Thread.Sleep(100); before call the connection.open() method and then we did not notice above error in our trace log. It seems sqllite take some time to release the sqlite file after connection is closed ?


Questions:

what is the reason for this error ?
Can we ignore this error log ?