Summary
How to resolve the error: "There is an error connecting to the database" in Sage 50 Accounting.
Resolution
CAUTION: This solution requires advanced knowledge of Windows security and network settings. Sage isn't responsible for any issues that arise from changes to these settings. Ensure you back up all system and application databases necessary for a complete restoration. It's advisable to contact a certified consultant or your system administrator for assistance. When opening the data file after updating to the latest version
NOTE: Make sure you're opening the data file from the latest version.
- Click the Windows Start Menu and type “Sage 50” in the search bar.
- Select the latest version of Sage 50 from the list and click to open it.
- Open your data file.
- Remove older version icons from your desktop.
Check the system requirements
The file is on your local machine
- Right-click the Windows Start button.
- Click Apps and Features.
- Verify MySQL Connector/ODBC 5.2(a) and MySQL Connector/ODBC 3.51 programs exist.
- If these programs don't exist, reinstall Sage 50
The file is on an external hard drive
The file is on a different computer/server
- Install the latest version of Sage 50 on all computers.
- Verify the sample company opens.
- If the sample company doesn’t open refer to The sample company doesn't open.
- Copy the company file to your local computer.
- Disable the firewall on the server.
- Connect to the data using the IP address instead of the computer name (or mapped drive).
- If there are other company files on the same server and the same location, verify you can open them.
- If other company files from the same location open but this still won't open, contact Technical Support for a password reset.
Ensure the server and workstation are on private networking
- Click the Windows Start menu.
- Type homegroup, then select HomeGroup from the search results.
- Select Change network location.
- Select Discoverable Yes.
- Right-click the WiFi or Wired network icon in the system tray.
- Select Open Network and Sharing Center.
- Verify the network shows as a Private network then close the window.
- Verify you can open the company.
Need more help?