Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

litedb setup failed #561

Open
Taraweesh opened this issue Jan 19, 2025 · 1 comment
Open

litedb setup failed #561

Taraweesh opened this issue Jan 19, 2025 · 1 comment

Comments

@Taraweesh
Copy link

Setup failed: The process cannot access the file 'C:\grandnode2-main\src\Web\Grand.Web\App_Data\database.db' because it is being used by another process.

@Sen-Gupta
Copy link

@Taraweesh, just kill your visual studio and try again also ensure you don't have the app terminal running for GrandNode.
Check for Multiple Application Instances of GrandNode.
The file may have been locked by filesystem or some vs process. As last resort, Restarting the machine should resolve the issue.

Another approach if you like find the process using the file and kill the process.

Assuming, you are on windows.
Use tools like Handle or Process Explorer from Sysinternals to identify which process is locking the file:
Download and open Process Explorer.
Press Ctrl+F and search for database.db.
It will show the process locking the file. You can end the process from there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants