So I've looked around on this issue, but all the fixes I've seen are changing permissions to the directory that the SQLite database file is in. I've tried that, and I'm still getting the same error.
I did a takeown on the Windows command line (using Run As Administrator) and I successfully took full ownership, recursively, of the directory the database file is located in. And yet, when I run my C# program in Visual Studio, the error still happens.
My C# program is what actually creates the database file, so could it be an issue caused by that? I have used SQLite with C# in the past with no issues, so I'm surprised it's showing up now. The files are all in my home (user profile) directory.
I tried running the sqlite3.exe file using the database file I created, and it works fine. So it seems to be a C#/Visual Studio issue. Has anyone else experienced anything like this, or know possible fixes?
Aucun commentaire:
Enregistrer un commentaire