Database Access Error When Trying To Obtain A Lock On The Database

Modified on: Wed, 14 Aug, 2024 at 2:35 PM



Error Description:


When opening EasyWorship, you receive this error, "There was a general error when trying to obtain a lock on the database."


This can be caused by a setting in Windows that is blocking EasyWorship from accessing the Public Documents folder. Specifically Windows has an option for Protected Folders.



Resolution:


Here is how to disable the Controlled Folder Access option in Windows:


  1. Left-click the Windows logo Start button in the bottom-left corner of your screen.
  2. Click in the search bar that appears and type in Virus.
  3. You should get a search result at the top that says Virus & threat protection. Click on that.
  4. Click on Virus & threat protection settings.
  5. Scroll down and under Controlled Folder Access, click on Manage Controlled Folder Access.
  6. Turn off the Controlled Folder Access.



This should now allow you to open EasyWorship without receiving the "This database is currently being updated another process" error.


If you are not using any other antivirus program, and only using Windows Defender, you can leave the Controlled folder access turned on, and instead allow EasyWorship through the Controlled folder access. Follow these steps:


Use the Windows Defender Security app to allow specific apps

  1. Open the Windows Security by clicking the shield icon in the task bar or by clicking on the Windows Logo Start button in the bottom left corner of your screen, and search for Defender, then click on Windows Defender Settings.

  2. Click the Virus & threat protection tile (or the shield icon on the left menu bar) and then click Ransomware protection.

  3. Under the Controlled folder access section, click Allow an app through Controlled folder access.

  4. Click Add an allowed app and follow the prompts to add apps.

    Screenshot of how to add an allowed app button

  5. In the pop-up window, click on C:, and then Program Files (x86), then Softouch, and then EasyWorship 7.

  6. Add the following files: EasyWorship.exe, EasyWorshipHelper.exe, ezwHookpp.32.exe, and ezwHookpp.64.exe.


Now you should be able to open EasyWorship without receiving the error message.



If this does not resolve your issue, please contact EasyWorship Support.


Create Support Ticket



Can't find what you need? Let's have a conversation about it in our community.

Log in or sign up to start a new discussion.