Sage 50 Unable to Connect to its Database Error – Actian Zen on computer or server
When installing the Sage 50 accounting system on the system, you cannot link to the database. There are many reasons associated with the failure of Sage 50 Error Connecting Database; for instance, the Actian service is blocked on the server, failure to ping the server, or the network location is set to public rather than private, or more. The AccountsPro team provides a troubleshooting guide to fix Sage 50 unable to connect to its Database, Moreover, users can get help from the Sage 50 Error Support team.
If you encountering a “Sage 50 cannot connect to database” error? Start by checking if the Actian service is running on your server. Then, ensure the IP address and port number in the Database Configuration window are correct. It’s also a good idea to look out for firewall settings or incorrect data paths blocking the connection.
Common errors encountered in Sage 50 when connecting to the database are as follows:
Cannot connect to the database server.
Database login failed.
Error: Failed to establish a connection to the database.
The database server is not responding.
Database connection error: [specific error code].
Unable to access the database.
Network connection error.
Sage 50 error connecting to the database
Here’s a quick checklist to help you fix it:
First, ensure the Actian service is running on your server.
Double-check that the IP address and port number in the Database Configuration window are correct.
Finally, look for any firewall restrictions or incorrect data paths that could be getting in the way.
These steps usually resolve the issue of Sage error connecting to server quickly, so you can get back to business without delays.
What are the causes of Sage 50’s failure to connect to its database?
The Actian service is paused on the server
Failed to ping the server
When the Profile or network location is set to public
If the configuration file does not contain the right path
Incorrect ini file
The firewall-blocking application
The wrong server name is in a file named ~PVSW~
Mapped driver, Use distributed file system (DFS)
Corrupted WMI(Windows Management Instrumentation)
The workstation contains the wrong data path
If workstations & servers are on different versions
Methods to Resolve Sage 50 Unable to Connect to Its Database Error
When cannot connect to Sage 50 database, then the error message will provide specific details, but it can be caused by many issues including Sage 50 database connection error, problems with the Sage 50 Connection Manager, Actian service stopping, problems with the Sage 50 Data Service, network connectivity issues, Sage 50 Actian Zen connection issue, sage 50 database engine on computer is unavailable, etc., or even corrupted data files.
Following is the list of resolutions to fix the “cannot connect to Sage 50 database on network error:
Solution 1: Verify the data path
Check that there is a correct datapath on a stand-alone system/server with the following steps:
The datapath acts as the location for data. If the application is searching in the wrong directory, then there might be several issues. Thus, it is essential to have the right data path.
Search the data
Now, find the company directories with the following instructions:
Hit the File button
Click the Open Company tab
Choose the main Sage page with the No companies open option
Select the option named Open an existing company
It will appear an active company history and the company file location will appear in the column that says Directory
Now, check the data path
Discover the data path from the Sage icon properties with the following instructions:
Open Sage 50-US Edition
Choose the File button
Click the Open Company tab
Now, drag the box corner to show the full directory
It includes a minus and the company name truncated, which is known as the data path
After this search for the program path by right-clicking on the Sage icon
Choose the Properties tab
It will display the blue highlighted path, minus Peachw.exe, known as the program path.
Click Open file location to open the program path.
Now, start a comparison between the two directories. Make sure they match, except for the company folder appearing in the data directory.
In case there is a wrong data path now, fix it by moving data to the data path, or fix the data path by changing the data path, and also, you can take a backup of your Sage 50 data.
Solution 2: Check if Actian is paused or hangs
Hit Windows+R button
Enter SERVICES.MSC in the search box
Hit OK
Now, right-click on the option named Actian PSQL workgroup engine
Choose the Stop button
Select the Actian PSQL Workgroup Engine and right-click on it
Condition 1: Error: “Sage 50 cannot connect to its database, Actian Zen, on computer [server].”
Sage 50 cannot connect to its license on the server. Ensure that the computer is logged in, the database service is running, and the firewall allows Sage 50 and Pervasive to pass through. Click Help for more details and Retry to reconnect.
Reasons why Sage 50 fails to connect with the database, the Actian Zen on the computer [server]?
The Actian service has stopped running on the server.
The server cannot be pinged.
The network location/profile is set to Public instead of Private on either the workstation or server.
The firewall is blocking the program.
The server name in the PVSW.LOC file is incorrect.
DFS is being used for the mapped drive.
Windows Management Instrumentation (WMI) is damaged.
An incorrect data path is set on the workstation.
The server and workstations are running different versions.
More than one NIC is enabled.
IPv6 is being used instead of IPv4.
Resolving the issue of Sage 50’s inability to connect with the database on the Actian Zen on the computer [server].
If you encounter “Sage 50 cannot connect to its database on 169” or 192, etc., the error displays the computer name as the initial three digits of an IP address.
Restart the Actian database engine on the server if it’s hung or stopped.
On the server or standalone computer, confirm the correct data path.
If the network profile is set to Public, switch the radio button to Private under Network Profile.
Allow Sage 50 files through the firewall configuration.
Replace the incorrect server name with the correct one in the ~PVSW~.LOC file.
Ping the server by name from the workstation.
Map the drive using the IP address.
Uninstall and reinstall the Actian database engine on the server.
Disconnect the DFS share and map the drive using the standard UNC path because Sage 50 cannot use the DFS share.
Ensure that both server and workstation(s) are updated to the same version.
Check if IPv6 is being used instead of IPv4.
Condition 2: Error: “Sage 50 cannot connect to its database on computer [computer name].”
If you receive the error message “Sage 50 cannot connect to its database on computer [computer name]” after installation or during the installation process, there may be issues with the server or the network settings. When attempting to ping the server by either name or IP address, you may receive “Request Timed Out” or “Not recognized as an internal command” error messages.
However, a successful ping from 127.0.53.53 may be returned when pinging the server by name. These issues could be due to various factors, such as an incorrect data path on the server or workstation, a misconfigured firewall, or an incorrect server name in the ~PVSW~.LOC file. Other potential problems could be a damaged Windows Management Instrumentation (WMI) or running different versions of Sage 50 on the server and workstation(s).
Reasons for the error message “Sage 50 unable to connect to its database on computer [computer name]”
Possible reasons for the error could be:
A disabled, damaged, or blocked network connection
Non-functional Domain Name System (DNS)
Non-running Actian / Pervasive service on the server
Using the UNC path instead of the mapped drive letter
Using the IP address instead of name resolution for the mapped drive
DNS servers provided by the ISP are returning 127.0.53.53 for internal network computers
Computers are not a part of the domain.
Solutions for the “Sage 50 unable to connect to its database on computer [computer name]” Error
The “Sage 50 unable to connect to its database on computer [computer name]” error can be resolved by checking the database engine, firewall, and antivirus settings.
Step 1: Please verify that Actian is currently running on the server.
In case the service is already running, kindly opt to restart it.
You can start or stop the Actian/Pervasive service as per your requirement.
If the issue persists, we recommend uninstalling and then reinstalling the Actian database engine.
Once done, please launch the program and check if the issue has been resolved.
Step 2: Please ensure that the shared folder has the appropriate permissions.
Please ensure that the shared folder has the appropriate permissions. Additionally, kindly verify if the data file permissions are configured correctly.
Step 3: DNS Problem
If you are experiencing DNS issues, you can try pinging the server by its hostname from a workstation or vice versa. If the ping request times out or fails, it may indicate a network communication issue that requires the attention of your IT professional to correct.
Workaround: Update the host’s file
Note: This is a temporary fix. If the server loses or renews its IP Address, the host’s file must be updated again.
Step 4: UNC path is being used instead of a mapped drive letter
Instead of using a mapped drive letter, the UNC path is being used. To resolve the issue, you can right-click on the mapped network drive and select “Disconnect”. After disconnecting, you can remap the drive.
Step 5: Disable the anti-virus
To install the program, you may need to disable your antivirus. After disabling the antivirus, verify that you can successfully install the program. Note that once the anti-virus is disabled, you should also be able to ping by both IP address and name.
Step 6: The IP address is being used instead of name resolution for the mapped drive
The mapped drive is using the IP address instead of name resolution. It is not recommended or supported to map Sage 50—U.S. Edition by server IP address. For optimal performance, it is recommended to map using the server hostname.
Step 7: The workstation is not part of the domain network.
If the server or host computer is on a domain and the workstation receiving the error is not, the above error message will be displayed. To connect the workstation to the domain, please seek assistance from an IT professional.
Step 8: The server returns the IP address of 127.0.53.53.
If the server returns an IP address of 127.0.53.53, it indicates an issue with the DNS server configuration.
Step 9: Verify network is set to ‘Private. ‘
To confirm if the network is set to ‘Private,’ right-click on the ‘Network & Internet Settings‘ icon, which is typically located on the start bar (the symbol of a computer with a cable going to it).
Then, click on ‘Open Internet & Network Settings. ‘ Check that the ‘Network Status‘ is set to ‘Private‘ or shows the appropriate domain.
If it is set to ‘Public,’ it is advised to contact IT support to change the network settings to ‘Private.’
After verifying or changing the network settings, you can hit ‘Cancel‘ to see if the installer finishes, or run the installer again.
Conclusion!
Here, the write-up is complete! Now, if you face any difficulties while implementing the above methods or if you have any other doubts, then get connected to the professional team. The experts are here to assist you with the best resolutions. Connect now, the Sage 50 Live Chat team.
Frequently Asked Questions
What does the Sage 50 Unable to connect to its Database error mean?
This error means Sage 50 cannot reach the database that stores your company’s accounting data.
What causes this error in Sage 50?
Common causes include network issues, incorrect data path, damaged database files, or a stopped Sage 50 service.
How can I fix the Sage 50 database connection error?
You can restart the Sage 50 services, check the data path, repair network problems, or restart your computer.
Can version incompatibility be the reason for being unable to connect to the database?
Yes, if the workstation and server have different versions, then there might be errors. So, make sure that they are on the same version. If not, then it is best to download the latest updates through the services option and then hit System Updates.
How do I check if the Sage 50 service is running?
Open the Services window on your computer. Look for “Pervasive PSQL Workgroup Engine” or “Actian Workgroup Engine” and make sure the status is “Running.”
Can a firewall or antivirus block Sage 50 from connecting to the database?
Yes. A firewall or antivirus can block Sage 50. You should allow Sage 50 and its database engine through your security software.
What should I do if the data path is wrong?
Find the correct data path by opening the Sage 50 shortcut’s properties. Check the target path and match it with the location of your company file.
Does this issue affect all users in a multi-user setup?
It can. If the server or database is not available, all users may see the error. Check the host system first.
How do I prevent this error in the future?
Keep your software updated, check your network regularly, and make sure the database service is always running.