Fix sage 50 error code 8591

Toll Free: 800-942-0215

How to Fix Sage 50 Error Code 8591: A Brief Outline

Sage 50 Error Code 8591 is a common issue that users may encounter while trying to start the Pervasive Database Engine (Pervasive PSQL) service. This error can prevent Sage 50 from accessing the necessary databases, leading to significant disruptions in using the software effectively. Understanding the causes and implementing the right solutions can help in resolving this error efficiently.

Causes of Sage 50 Error Code 8591

Several factors can lead to the occurrence of the Sage 50 Error Code 8591. Identifying the root cause is crucial in applying the correct solution.

  • Reason #1: Windows Firewall Blocking Pervasive – The Windows Firewall might block the Pervasive service from starting, considering it a security threat.
  • Reason #2: Incorrect Pervasive Service Setup – Improper installation or setup of the Pervasive Database Engine can trigger this error.
  • Reason #3: Incompatibility Issues – This error could arise due to compatibility issues between the operating system and the version of Pervasive PSQL being used.

Solutions for Fixing Sage 50 Error Code 8591

Solution #1: Adding Firewall Exceptions for Pervasive

  1. Press Windows Key + R to open the Run dialog.
  2. Type ‘firewall.cpl’ and hit Enter to open the Windows Firewall.
  3. Go to ‘Allow an app or feature through Windows Defender Firewall’.
  4. Click on ‘Change settings’ and then ‘Allow another app’.
  5. Browse and add Pervasive PSQL Workgroup Engine as an exception.
  6. Ensure both Private and Public checkboxes are checked for this app.
  7. Click ‘OK’ to save changes and try restarting the Pervasive service.

Solution #2: Reinstalling Pervasive Database Engine

  1. Go to Control Panel > Programs and Features.
  2. Find the Pervasive PSQL Workgroup Engine in the list and uninstall it.
  3. Restart your computer.
  4. Download the latest version of Pervasive PSQL compatible with your Sage 50 version.
  5. Run the installer and follow on-screen instructions to install the Pervasive Database Engine.
  6. After installation, try starting the Pervasive service again.

Solution #3: Running Sage 50 in Compatibility Mode

  1. Right-click the Sage 50 shortcut on your desktop and select Properties.
  2. Go to the Compatibility tab.
  3. Check the box for ‘Run this program in compatibility mode for:’ and select the OS version that is known to be compatible with your Sage 50 version.
  4. Click Apply and then OK.
  5. Attempt to restart the Sage 50 application and check if the error is resolved.


How do I know which version of Pervasive I should install?

To determine the appropriate version of Pervasive, check the Sage 50 software documentation or the official Sage website for compatibility information. It is critical to match the Pervasive version with your Sage 50 version for optimal performance.

Can I manually start the Pervasive PSQL service to resolve the error?

Yes, you can try manually starting the service. Open the Run dialog with Windows Key + R, type services.msc, and press Enter. Find the Pervasive PSQL Workgroup Engine service, right-click it, and select Start. If it doesn’t start or stops shortly after, follow the solutions mentioned above.

What should I do if none of the solutions work?

If you’ve attempted all the outlined solutions without success, it might be due to a more complex configuration issue or a deeper problem within your system or Sage 50 installation. In such cases, reinstalling Sage 50 entirely or consulting with a professional who has experience troubleshooting Sage 50 and Pervasive PSQL may be necessary. Ensure you have backed up your Sage 50 data before attempting a reinstall.

    Enquiry Form

    Get help with Sage Accounting Solutions

    • Assistance for Sage 50, Sage 100, Sage 300
    • Solutions to common Sage 50 errors.
    • Data recovery and data migration.
    sage 50 accounting services and solutions


    Toll Free: 800-942-0215