Cannot Connect To Its Database In Sage 50: Fixes (2026)
Quick answer
- On the computer that holds the Sage 50 data, press Windows key + R, type services.msc, right-click Actian Zen Workgroup Engine and choose Restart (or Start), then open Sage 50 again.
- If the error names an IP address, disconnect the mapped Sage 50 drive and map it again to the server name, for example \\MyServerName\Peachtree.
- If the error persists, set the network profile to Private and ping the server by name; Sage says ping timeouts need your IT administrator.
Applies to: Sage 50 Cloud and Sage 50 (United States), standalone and network installs
Sage 50 shows “Sage 50 cannot connect to its database” when it cannot reach the Actian Zen database engine that stores your company data.
The message can appear when you open Sage 50, install it on a workstation, make a backup or open an archived company.
This guide follows Sage’s own knowledge base articles for each version of the message, in the order that is fastest to try.
Table of Contents
- Quick answer: which message you have and what to try
- What the error means
- Before you start
- Step 1: restart Actian Zen on the server
- Step 2: make the service restart itself
- Step 3: map the drive by server name, not IP address
- Step 4: set the network profile to Private
- Step 5: test the connection by name
- Step 6: check the server name and data path
- When it happens during a backup or opening an archive
- Other causes Sage lists
- If Sage 50 crashes instead of showing this message
- When to contact Sage
- Sources
Quick answer: which message you have and what to try
| What the message says | What Sage says causes it | First fix |
|---|---|---|
| Cannot connect to its database on computer [server name] | Actian stopped, DNS or network problem, or the PC is not on the domain | Restart Actian Zen on the server |
| Cannot connect to its database Actian Zen on computer [IP address] | Drive mapped to the server’s IP address, or a DNS problem | Remap the drive using the server name |
| Unable to connect to its database Actian Zen on computer [name] when backing up or opening an archive | Wrong computer name in a ~pvsw~.loc file | Delete the ~pvsw~.loc files |
| Sage 50 cannot be started | Actian Zen is not running on the host computer | Restart the service and set automatic recovery |
What the error means
Sage 50 keeps its company data in a database that runs as the Actian Zen Workgroup Engine service.
On a network, that service runs on the server (the host), and each workstation reaches the data through a shared drive.
Sage lists a stopped Actian service, a damaged network connection, broken name lookup, a Public network profile and a wrong data path among the causes.
Before you start
Sage advises backing up your data first, because some steps need advanced Windows network knowledge and a system administrator or Sage consultant can help.
On a network install, work on the server first and close Sage 50 on every computer before you restart anything.
Step 1: restart Actian Zen on the server
- Close Sage 50 on all computers.
- On the server, press Windows key + R to open the Run box.
- Type the command below and press Enter.
services.msc
Run opens the Windows Services list.
- Right-click Actian Zen Workgroup Engine and choose Restart; if Restart is not available, choose Start.
- Open Sage 50 on the server and then on each workstation to check the error is gone.
If the service does not start, Sage says to allow Actian processes through your firewall and antivirus software.
Step 2: make the service restart itself
- In Services, double-click Actian Zen Workgroup Engine.
- On the General tab, make sure Startup type is Automatic.
- Open the Recovery tab.
- Set First failure and Second failure to Restart the Service.
- Set Reset Fail Count to reset after 1 day, then click OK.
Step 3: map the drive by server name, not IP address
Sage says Sage 50 U.S. Edition relies on name resolution, so mapping the data drive to the server’s IP address is not recommended or supported.
When the error names an IP address, such as 192.168.0.1, Sage’s cause is a drive mapped to that address or a DNS problem.
- Right-click the mapped Sage 50 drive in File Explorer.
- Choose Disconnect.
- In File Explorer, go to Tools, then Map Network Drive.
- Pick the same drive letter you just disconnected.
- Click Browse, select the server and the Sage 50 shared folder, then click Finish.
Sage’s example path is \\MyServerName\Peachtree, and its steps for the normal error also say to replace a plain UNC path with a mapped drive letter.
Our guide on how to map a network drive in Windows 11 covers the Windows side of this.
If the error still appears, Sage points to a hosts file entry as a temporary workaround that has to be repeated if the server’s IP address changes.
Step 4: set the network profile to Private
- Right-click the Wi-Fi or Ethernet icon in the system tray.
- Select Open Network and Internet Settings.
- If the status shows Public network, click Properties and change it to Private.
- Go back twice, close Settings and test again.
Sage says to check this on the workstation and on the server, and to let IT support change it if the status cannot be changed.
Step 5: test the connection by name
| Test | What Sage says it means |
|---|---|
| Ping the server by name from the workstation | A failure means name lookup or the network needs your IT professional |
| Ping the workstation by name from the server | “Request timed out” or latency above 10 ms also means a network fault |
Sage also says the error appears when the server is on a domain and the workstation is not, in which case an IT professional should join the workstation to the domain.
Step 6: check the server name and data path
- Browse to the Sage 50 data path.
- Open the file ~PVSW~.LOC in Notepad.
- Replace any wrong server name with the correct one and save.
For releases 2021.1 and later, Sage says you can point a workstation at the data by UNC path instead.
- Open File Explorer and go to C:\ProgramData\Sage\Peachtree.
- Open the config file for your version; for 2023 it is Peachtree300.ini.
- Change the DATAPATH= line to the UNC path, for example \\server01\Peachtree\Company.
When it happens during a backup or opening an archive
Sage says “unable to connect to its database Actian Zen” during a backup, archive or Remote Data Access share comes from a wrong computer name in a ~pvsw~.loc file.
It names copying and pasting company data between computers, instead of backing up and restoring, as a cause.
- As a workaround, uncheck Include Archives in the backup when saving it.
- To fix it, click Maintain, then Company Information, and write down the Directory path.
- Close Sage 50, browse to that directory and delete the ~pvsw~.loc file.
- Open each folder inside Archives and delete any ~pvsw~.loc file there.
- Open Sage 50 and check that archived companies open and backups save.
Other causes Sage lists
| Cause | What Sage says to do |
|---|---|
| Drive mapped through DFS | Disconnect it and remap with a standard UNC path, because Sage 50 cannot use DFS shares |
| Server and workstations on different versions | Match them, using Services, then Check for Updates in Sage 50 |
| Windows 11 host at the 20-session SMB limit | Check Computer Management, System Tools, Shared Folders, Sessions; a restart helps temporarily, and Sage suggests a Windows Server for the data |
| More than one network adapter, or IPv6 in use | Sage says to prefer IPv4 over IPv6 and advises against disabling IPv6 |
| Damaged WMI | Open eventvwr, then Windows Logs, Application, and pass WMI errors to your IT professional |
| Damaged Actian install | Remove Actian completely and reinstall it |
If Sage 50 crashes instead of showing this message
A crash right after a Windows update is a different problem, covered in Sage 50 crashing after the November Windows update.
When to contact Sage
Sage says that if none of these steps work you can reach it through the Chat now link on sage50.com/chat.
Sources
- Sage 50 cannot connect to its database on computer [server]
- Sage 50 cannot connect to its database on computer [computer name]
- cannot connect to its database Actian Zen on computer [IP address]
- Sage 50 is unable to connect to its database Actian Zen
- How to stop or start the Actian Zen database engine
- Sage 50 cannot be started when Actian isn’t running