SQLite error (10) and error (14)

I have this code:

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;

      

In DataAdapter Fill I see and exception in Visual Studio Debug window:

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.

      

I am using SQLite for .NET Framework 4 "Client Profile" version 1.0.94

+3


source to share





All Articles