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

Best Way to solve this error 'It has already been opened exclusively by another user, or you need permission to view and write the data' #463

Open
frmichetti opened this issue Dec 12, 2021 · 2 comments

Comments

@frmichetti
Copy link

frmichetti commented Dec 12, 2021

I built a backend with node adodb and sometimes I need to run 2 queries at the same time in my database, but sometimes I get the following exception:

'Microsoft Access database engine cannot open or write the file 'file_name'. It has already been opened exclusively by another user, or you need permission to view and write the data.

What is the best way to solve this problem? Is there any configuration to allow multiple access to the database at the same time? Note: Within Access, the database is already configured to allow shared mode.

@frmichetti
Copy link
Author

Note: the system is open only by one user

@dlh2
Copy link

dlh2 commented Jan 12, 2022

+1

I thought about changing the way it reads the DB with the connection string:

Provider=Microsoft.ACE.OLEDB.12.0;Mode=Read

Sounds good, doesn't work.

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