Closed Pinhead877 closed 4 years ago
Hi,
Do you have any additional process that is using the database file?
Try deleting it and running the project again as an administrator (if you are on Windows)
From the looks of it, the db file wasn't created at all. so there is nothing to delete.
For future references this is what worked for me:
Directory.CreateDirectory(@"c:\hangFire"); GlobalConfiguration.Configuration.UseSQLiteStorage(@"c:\hangFire\hangFire.db");
The directory that was created by the app had permissions to create the db file. after that everything worked.
Hi there
is there any permissions needed in order to create the sqlilte db instance?
GlobalConfiguration.Configuration.UseSQLiteStorage();
Thanks Alex