SQLite错误(10)和错误(14)

时间:2014-12-03 16:02:17

标签: sqlite system.data.sqlite

我有这段代码:

DataSet ds = new DataSet();
using (SQLiteConnection conn = new SQLiteConnection(connstr))
using (SQLiteCommand cmd = new SQLiteCommand(commandText, conn))
using (SQLiteDataAdapter da = new SQLiteDataAdapter(cmd))
{     
    da.Fill(ds);
}
return ds;

在DataAdapter上填写我在Visual Studio调试窗口上看到和异常:

SQLite error (10): delayed 1375ms for lock/sharing conflict
SQLite error (14): os_win.c:36702: (5) winOpen(C:\Users\blahblah\MyDb.db) - Access denied.

我正在使用SQLite for .NET Framework 4'Client Profile'版本1.0.94

0 个答案:

没有答案