Closed luckymark closed 3 years ago
@luckymark I could not reproduce the issue, Shared mode seems to work just fine here. Could you provide a sequence of steps to reproduce the issue?
@lbnascimento 1)open a db in my application( ConnectionString($"Filename={filename};Mode=Shared")) ) 2) open the same db with shared mode in LiteDBStudio(v1.0.2.0), and then this message popuped:"The process cannot access the file ... because it is being used by another process."
@luckymark You're using the connection string incorrectly, it should be Connection=Shared
. For more info, check out the Connection String documentation.
@lbnascimento Shared mode works! Thanks a lot!
When a database opened by an app with shared mode, Studio open that database with shared mode will fail!