Home › Knowledgebase › KB-1650

FoxPro Cannot Locate File dbase.dbf Error On POS Terminals

Summary

This guide helps you troubleshoot and resolve: FoxPro Cannot Locate File dbase.dbf Error On POS Terminals. Follow the steps below to fix the issue.

Quick Tip: Need immediate assistance? 💻 Open a Ticket

Common Causes

This guide is for retail shopfront staff in Brisbane and Gold Coast stores who see a FoxPro error banner stating 'FoxPro cannot locate file dbase.dbf' or 'File does not exist' when opening legacy stock control or Point of Sale software on Windows 10 and Windows 11 PCs. This error typically occurs after Windows updates, backup restores, or when shared data folders are moved on a small business server or Network Attached Storage (NAS) device.

Some steps in this guide require administrative rights to map network drives or edit files in Program Files. If you do not have permission to perform these steps, contact your internal IT support or Open a Ticket.

Quick Fix Steps

  1. Restart the POS terminal and try opening the application again.
  2. Check that the network cable is securely plugged into the back of the computer and the wall socket.
  3. Confirm other computers in the shop can open the same stock control software.
  4. Open Windows Explorer and verify you can browse to the shared data folder on the shop server or NAS.
  5. If the data folder has moved, update the application configuration file to point to the new location.
  6. Restart the application and test that the error no longer appears.

Detailed Instructions

Identify the Missing Data Directory Path

  1. Note the exact folder path shown in the FoxPro error message. It may look similar to \\Server\Data\dbase.dbf or C:\POS\Data\dbase.dbf.
  2. Open Windows Explorer by pressing Windows Key + E.
  3. Navigate to the folder path listed in the error message.
  4. If the folder or dbase.dbf file is missing, check with another staff member to see if the shared data folder was recently moved or renamed on the server or NAS.
  5. Locate the correct folder containing dbase.dbf and copy its full network path from the address bar.

Check Server or NAS Availability

  1. Open Windows Explorer by pressing Windows Key + E.
  2. Click This PC in the left navigation pane.
  3. Click on the address bar at the top.
  4. Type the network path to your shop server or NAS, for example \\ShopServer or \\NASDevice, then press Enter.
  5. If the folder opens and you can see the shared data folders, the server or NAS is online and reachable.
  6. If you receive an error stating the network path was not found, the server or NAS may be offline, disconnected from the network, or experiencing a hardware failure. Contact your IT support or Open a Ticket.

Remap Network Drives to the Shop Server or NAS

Only perform these steps after confirming the server or NAS is online using the steps above.

  1. Open Windows Explorer.
  2. Click This PC in the left navigation pane.
  3. Click the Computer tab on the ribbon, then click Map network drive.
  4. Select an available drive letter from the Drive dropdown.
  5. In the Folder field, type the network path to the shared data folder, for example \\ShopServer\POSData.
  6. Tick Reconnect at sign-in so the drive remains available after restart.
  7. Click Finish.
  8. Open the mapped drive and confirm dbase.dbf is visible.

If you are prompted for a username and password, use the credentials for an account that has access to the shared folder on the server or NAS.

Check File Permissions and Access Rights

  1. Open Windows Explorer and navigate to the shared data folder on the server or NAS.
  2. Right-click the folder containing dbase.dbf and select Properties.
  3. Click the Security tab.
  4. Under Group or user names, select your user account or the group your account belongs to.
  5. Check the Permissions for [user] section at the bottom.
  6. Ensure Read and Read & execute permissions are ticked. If they are not, you do not have sufficient access rights to open the database file.
  7. Click Cancel to close the window without making changes.

If permissions are incorrect, do not attempt to change them yourself unless you have administrative rights. Contact your IT support or Open a Ticket to request access rights to the shared data folder.

Update Configuration (.ini) Settings

Close the Point of Sale application completely on all terminals in the shop before editing any .ini file. Editing configuration files while the application is running on other terminals can cause file locking or data corruption.

  1. Close the Point of Sale application completely on all terminals.
  2. Open Windows Explorer and navigate to the folder where the POS software is installed, typically C:\Program Files\POS or C:\POS.
  3. Look for a configuration file ending in .ini, such as config.ini or settings.ini.
  4. Right-click the file and choose Open with > Notepad.
  5. Search for lines referencing the data path, such as DataPath=, DatabasePath=, or DBFPath=.
  6. Update the path to match the correct location of dbase.dbf. For example: DataPath=\\ShopServer\POSData
  7. Save the file and close Notepad.
  8. Open the POS application and verify the error is resolved.

Before editing any .ini file, make a backup copy by right-clicking the file, selecting Copy, then Paste in the same folder. This allows you to restore the original if a typing error prevents the application from starting.

Troubleshooting

Check for File Locking by Other Users

Error persists after remapping the drive

File still not found after updating .ini

Issue started after a Windows update

Server or NAS hardware failure

If you have checked the data path, verified server connectivity, remapped the network drive, checked file permissions, updated the configuration settings, and confirmed the file is not locked by another user, but the FoxPro error continues, please Open a Ticket for assistance with your legacy retail software.

You may also find these related articles helpful:

Still Having Issues?

Need more help? If the issue persists after trying these steps, please open a support ticket and our team will assist you.

💻 Open a Ticket