ERROR: 'Queue.dta is in use' when opening Sage Accounts
Description

When you open Sage Accounts, it can hang on or close on the splash window. You can also receive the following message:

'Queue.dta is in use. Please wait until this file is available'

This can happen if the Sage Data Service doesn't have access to your data files. It can also happen if they're stored in any of the following locations:

  • C:\
  • C:\Windows
  • C:\Program Files
  • C:\Program Files (x86)
  • C:\Dev

 NOTE: Use our Data Service Manager in v31 or above as it makes this process easier to follow.

Cause
Resolution

Follow each section in turn if the issue persists:

▼Delete the Queue.dta file

To resolve this issue, you'll need to delete the Queue.dta file

If the issue persists, follow the Check if your data is located in a blocked folder section.


▼ Check if your data is located in a blocked folder

If you're running Sage Accounts over a network, follow the steps on the computer where you keep your data.

  1. Press the Windows key + E then browse to C:\ProgramData\Sage\Accounts\xxxx. Where xxxx is your software version, for example, 2024 or 2025.
  2. Double-click the COMPANY file then open with Notepad.
  3. Check if the company data paths in the file begin with any of the following:
    • C:\
    • C:\Windows
    • C:\Program Files
    • C:\Program Files (x86)
    • C:\Dev
  4. If the COMPANY file displays any of these paths, you need to move your data to a folder in the location C:\ProgramData.

If the issue persists, follow the Check the user's Windows permissions on your Company.xxx folder section. 

You can also follow this section if your software hangs or closes on the splash window.


▼ Check Windows permissions on the COMPANY.xxx folder

CAUTION: If you're unsure how to check and amend permissions on Windows, speak to your IT support.

  1. Press the Windows key + E then browse to C:\ProgramData\Sage\Accounts\xxxx. Where xxxx is your software version, for example, 2025.
  2. Double-click the COMPANY file then open with Notepad.
  3. Note each directory path, click File, then Exit.
  4. Browse to the first directory path then right-click the folder. For example, if the directory path is C:\ProgramData\Sage\Accounts\2025\COMPANY.001, browse to and right-click COMPANY.001.
  5. Select Properties then click the Security tab.
  6. Click Advanced then Disable inheritance.
  7. Select Remove all inherited permissions for this object.
  8. Click the Add button on the Advanced Security Settings for Company.xxx window.
  9. On the Permission Entry for Company.xxx window, click Select a principal then click Object Types.
  10. Select the Computers checkbox, select the Service Accounts or Services checkbox then click OK.
    • If the Computers, Service Accounts or Services check boxes don't show, continue to step 11
  11. On the Permission Entry for Company.xxx window, click into the Enter the object name to select box.
  12. Type System and click Check Names

System now displays as SYSTEM.

  1. Select SYSTEM in the box then click OK.
  2. In the Basic permissions section of the window, select the Full control checkbox and click OK.
  3. Click Apply then OK on the Advanced Security Settings for Company.xxx window. 
  4. On the same window, click Add.
  5. On the Permission Entry for Company.xxx window, click Select a principal then click Object Types.
  6. Select the Computers checkbox, select the Service Accounts or Services checkbox then click OK.
    • If the Computers, Service Accounts or Services check boxes don't show, continue to step 19
  7. On the Permission Entry for Company.xxx window, click into the Enter the object name to select box.
  8. Type Authenticated users and click Check Names

The system underlines Authenticated users.

  1. Select Authenticated users in the box then click OK.
  2. In the Basic permissions section of the window, select the Full control checkbox and click OK.
  3. Click Apply then OK on the Advanced Security Settings for Company.xxx window. 

Once complete, the permissions window looks similar to this:

Advanced Security Settings for Company.xxx window.

  1. To close the Company.xxx Properties window, click OK.
  2. If you noted more than one company data path in step 3, repeat steps 4 to 24 for each one.

If the issue persists

Follow the steps in our waiting to open article.

[BCB:19:UK - Sales message :ECB]
Steps to duplicate
Related Solutions