SQLite keeps the database locked even after the connection is closed

后端 未结 12 1303
故里飘歌
故里飘歌 2020-11-30 02:33

I\'m using System.Data.SQLite provider in an ASP.NET application (framework 4.0). The issue I\'m running into is that when I INSERT something in a table in the SQLite databa

12条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-11-30 03:08

    Had the same problem. Solved it simply by installing SQLite 1.0.111 (via nuget).

    Did not have to change anything on my code, only update to that version. Previously I used 1.0.85 where the file was locked, although the connection was closed and disposed.

提交回复
热议问题