v2kiran / PSLiteDB

PowerShell wrapper for LiteDB

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Getting an error Process is used by another process

opened this issue · comments

I am using PSLiteDB in my Project, it is awesoem and helpful for my Project. But there is one bug. As mentioned that LiteDB is locked unless we Close the connection. Sometimes, even when i try to open the Open-LiteDBConnection still showing that Process is used by another process. And Even try to close using Close-LiteDBConnection but it shows that no Open-LiteDBConnection Found.

Please guide me where i'm doing wroung.

Thank you

Hi I am not sure how you are using this module but I suspect a process such as ps might have opened a connection and still be running in the background...use Ps explorer to find out which process has locked the file.