Are you getting as OS ERROR 5 or the SQLITE Return Code 5 (SQLITE_BUSY).
The former means that the OS is indicating that the USERID you are using to run the task cannot open the file or the directory or the temporary files or the journal files required because it has not been granted the necessary permissions to do so; the latter indicates that the file has been opened but that you simply are trying to do something while the database is busy doing something else. --- The fact that there's a Highway to Hell but only a Stairway to Heaven says a lot about anticipated traffic volume. >-----Original Message----- >From: sqlite-users [mailto:sqlite-users- >boun...@mailinglists.sqlite.org] On Behalf Of Urs Wagner >Sent: Monday, 14 January, 2019 02:24 >To: SQLite mailing list >Subject: [sqlite] SQLite error (5): database is locked > >Hallo > >I use several tasks in C# to call Sqlite queries. >No I get the error SQLite error (5): database is locked. >Is it not possible to use more than one tasks with Sqlite? > >Regards > >Urs >_______________________________________________ >sqlite-users mailing list >sqlite-users@mailinglists.sqlite.org >http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users _______________________________________________ sqlite-users mailing list sqlite-users@mailinglists.sqlite.org http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users