Sage 50 Error 22665 ( Fix PSQL Server Engine)

Sage 50 Error 22665 Fix

Sage 50 Error code is a run time error named as the Sage Peachtree error 22665 often triggers when the accounting system crashes or failed. This Sage 50 22665 error might display at any time without any warning. This error code notification appears repeatedly on the screen and frustrates the users. It requires closing the software so I need to fix it as soon as possible. The below article will help you to fix this annoying error 22665 in the Sage 50 with the right troubleshooting resolutions.

What are the main Symptoms of the Sage 50 Error Message 22665?

  • This runtime error code pops up on the screen without giving you any warning notification. When this error happens it displays continuously on the screen if you have not fixed it earlier.
  • Sometimes there appear some files or instances of deleted files. This indicates this error triggers because of the virus infection.
  • The majority of the user experience a sudden internet connection drop

What are the Primary Causes of the Sage 50 Error 22665?

These runtime errors mainly happen when multiple incompatible applications are running simultaneously. However, there are many other causes that are below:

  • Memory issue
  • Security system blocking configuration and installation
  • Other applications interrupting the installation process
  • Enabled User account control
  • Damaged Actian Zen or Pervasive installation
  • Corrupted installation files
  • Wrong security settings on the installation folder
  • A folder named PerasiveMin was mistakenly deleted from the installation folder
  • Some program of the workstations is active
  • Windows user rights are insufficient
  • Virus infection
  • Wrong graphic driver
  • Firewall & Anti-virus interrupt the installation process
  • Installed PSQL server engine

How to Resolve the PSQL Server Engine?

  • Before proceeding with the troubleshooting procedure make sure there is a 16-bit PSQL server engine is installed on the system
  • Restart the system

Resolutions to fix PSQL Server Engine:

Follow the given steps to resolve this PSQL Server Engine Error 22665

Total Time: 35 minutes

Method 1- If Security settings, Security system, or other applications blocks installation then here are the steps you need to follow:

πŸ‘‰ Ensure that you have disabled the antivirus system on the system
πŸ‘‰ It may be required to turn off the User Account control
πŸ‘‰ It may be needed to install the system in selective startup mode
πŸ‘‰ For this, locate the setup.exe and give a right-click on it
πŸ‘‰ Choose Run as administrator mode
πŸ‘‰ Check the security settings on the installation folder
πŸ‘‰ Now set the system as C:\Sage\Sage50_[Release]_[Version]) and Everyone with full control

Method 2- Check the right installer is used:

πŸ‘‰ Check the location of the setup.exe in the install directory for the Sage version you are trying to install
πŸ‘‰ In case you are using a setup file located in another location you need to close the installation wizard
πŸ‘‰ Search to the correct directory
πŸ‘‰ Next, locate setup.exe and double-click on it

Method 3- Uninstall & reinstall Actian Zen:

πŸ‘‰ Here is the list of steps to remove Actian:
πŸ‘‰ Close the Sage 50 Accounting-US edition
πŸ‘‰ Open the Run window
πŸ‘‰ Enter Control Panel
πŸ‘‰ Hit OK
πŸ‘‰ Choose C:\
πŸ‘‰ Press OK
πŸ‘‰ If there now delete the folder named pvswarch and pvsw
πŸ‘‰ Now delete the file labeled PSQL_v13 Workgroup R2
πŸ‘‰ Close the Control Panel
πŸ‘‰ Hit on Windows+R buttons
πŸ‘‰ Enter C:\ and then hit the OK button
πŸ‘‰ If there delete the folder named pvswarch & pvsw
πŸ‘‰ Search to C:\Windows
πŸ‘‰ Now delete pvsw.log
πŸ‘‰ Find the C:\ProgramData
πŸ‘‰ Discover folder named Pervasive software to OldPervasive Service
πŸ‘‰ Search the folder labeled OLDActian
πŸ‘‰ Find C:\Program Files\Common Files or C:\Program Files (x86)\Common Files
πŸ‘‰ If there then rename the folder named Actian to OLDActian
πŸ‘‰ Now close the computer
πŸ‘‰ Hit on Windows+R buttons
πŸ‘‰ Enter Regedit
πŸ‘‰ Choose OK
πŸ‘‰ Locate Computer then hit Export
πŸ‘‰ Now save the Registry backup to the desktop of the system
πŸ‘‰ Search HKEY_LOCAL_MACHINE\Software or HKEY_LOCAL_MACHINE\Software\Wow6432NodeΒ 
πŸ‘‰ Now delete Pervasive software & PEYX489ZX
πŸ‘‰ Next, close the Registry Editor

Method 4-Check if there is an unsupportive version of Actian or pervasive software:

πŸ‘‰ Open the control in windows
πŸ‘‰ Click Programs & FeaturesΒ 
πŸ‘‰ Now open Programs & features
πŸ‘‰ Uninstall the pervasive if appears as Actian PSQL vl2 Server Engine SP1
πŸ‘‰ Check you can install Sage system

Method 5- Run the standard installation using the server:

πŸ‘‰ Find the \\<servername>\PeachtreeInstaller20xx
πŸ‘‰ Now open a folder named Peachw
πŸ‘‰ Open folder labeled Install
πŸ‘‰ Locate the _Setup.exe and right-click on it
πŸ‘‰ Choose Run as administrator


Here is the above article completes! Hopefully, the information helped you to resolve the Sage error code 22665. In case of any difficulty, you can get connected with the professional team. The team members are there to assist you with the excellent service. Use a Sage 50 live chat, Sage 50 helpdesk phone number 1800 964 3096, or email address [email protected] to reach the experts.


How would I manually reinstall Actian in Sage 50?

πŸ’  Open folder named PeachtreeInstaller20xx
πŸ’  Now open folder PervasiveMin
πŸ’  Choose Next button
πŸ’  Now Accept the license agreement
πŸ’  Choose Next tab
πŸ’  Click the Run as a service button
πŸ’  Hit Next option
πŸ’  Choose Run as a service tab and then Next option
πŸ’  Select button which says β€œcomplete”
πŸ’  Hit Next option
πŸ’  Choose Next tab
πŸ’  Click Install option
πŸ’  Choose Finish tab

How would I find the data path & program path?

πŸ’  Here are the steps to find the data path and program path:
πŸ’  Launch the Sage 50-U.S Edition
πŸ’  Choose File
πŸ’  Click the Open Company button
πŸ’  Now drag the field corner to display the full directory
πŸ’  It appears directory minus the company name truncated spell as the data path

Follow the steps to the program path:

πŸ’  Locate icon named Sage shortcut
πŸ’  Give right-click on it
πŸ’  Choose Properties button
πŸ’  It will display a blue highlighted path on the target line minus Peachw.exe
πŸ’  If you select Open File location then the program path will display for you

How would I display file extensions & hidden folders, drives, and files?

πŸ’  Open Control Panel
πŸ’  Locate file explorer options
πŸ’  Click Show hidden files & folders
πŸ’  Choose the View option at the top of the page
πŸ’  Below Advanced settings unselect option named Hide extensions for known file types
πŸ’  Click Hidden files & folders
πŸ’  Choose option named Show hidden files & folder

Related Posts

Further Reading