revenz / Fenrus

A personal home page for quick access to all your personal apps/sites.
MIT License
505 stars 29 forks source link

LiteDB bug #219

Closed vissaconeiroslab closed 4 months ago

vissaconeiroslab commented 4 months ago

Hello,

I've just cloned the project to test the application, add the French translation and suggest a few improvements to the code.

Unfortunately, when I run the application in Visual Studio, I get an error: IOException: The process cannot access the file '[...}\Fenrus\data\Fenrus.db' because it is being used by another process.

I've never used LiteDb, have I forgotten a setting?

Thanks

vissaconeiroslab commented 4 months ago

I success to launch Fenrus with this update in the GetDb method : var db = new LiteDatabase($"Filename={DbFile}; Connection=Shared;");