How to Fix Sage 50 the Installation of the Pervasive Database has Failed Error

sage 50 pervasive database has failed

Are you facing issues related to your Pervasive database installation? It shows you different error messages that are for the same when the installation of the pervasive database has failed.

The Error that you get because of this are as follows:-

  • Sage 50 Error 22665
  • Sage 50 Error: ‚ÄúError installing pervasive‚ÄĚ
  • Sage 50 Error: ‚ÄúDatabase service Manager has stopped working‚ÄĚ
  • Unable to install Pervasive
  • Sage 50 Error: ‚ÄúAborting install: Error installing Pervasive‚ÄĚ.
Installation of the Pervasive Database has Failed Error

These all errors are for the same problem that is Sage 50 the installation of the pervasive database has failed error.

To fix this, the solution is mentioned below that you have to follow properly.

Reasons Behind The Installation of the Pervasive Database has failed Error

The error occurs due to various reasons. These include:

  • A security software that might be preventing the installation or configuration of Pervasive database.
  • User Account Control enabled.
  • A previous faulty installation of Pervasive.
  • Corrupt or damaged installation files.
  • A security setting on the installation folder.
  • Other programs that might be preventing the installation of Pervasive.
  • Other workstations running the program.
  • Insufficient Admin rights.
Sage Support

This is a technical problem and the solution requires some level of expertise. If you are a novice computer user and do not have advanced knowledge of computer’s operating system, you might need help. Call our Sage support specialists by dialing our toll free number and they can help you fix the problem in no time.

Related Article: Resolve Sage 50 Pervasive Invalid Data Error

Steps to Fix Sage 50 The Installation of the Pervasive Database has Failed Error

Follow our below mentioned solution steps to fix the error message manually.

Step I: Security software, security settings, or other programs preventing installation

  • Disable the antivirus software on the computer before starting the installation.
  • Disable User Account Control. For this,
    • Go to the Control Panel.
    • In the search box, type ‚ÄúUAC‚ÄĚ.
    • You will see a link for ‚ÄėTurn User Account Control (UAC) on or off‚Äô.
    • On the next screen, uncheck the box for ‚ÄėUse User Account Control (UAC)‚Äô, and click OK.
  • Now boot into Selective Startup. For this,
    • Press¬†Windows Key + R.
    • Type¬†‚Äėmsconfig‚Äô.
    • Select¬†OK.
    • Now select the¬†Services¬†tab.
    • Check¬†‚ÄėHide all Microsoft Services‚Äô.
    • Select¬†‚ÄėDisable All‚Äô.
    • Select the¬†‚ÄėStartup‚Äô¬†tab.
    • Select¬†‚ÄėDisable All‚Äô.
    • Select¬†OK.
    • Restart the¬†computer.
  • Next right click¬†on ‚Äėsetup.exe‚Äô and select¬†‚ÄėRun as Administrator‚Äô.
  • Verify the security settings on the install folder so¬†that¬†everyone¬†has full control.

Also Read: Sage 50 Cannot be started when Pervasive PSQL is not Running

Step II: Verify if correct installer is being used

  • Ensure your setup.exe¬†located in the install directory for the Sage 50 version you are trying to install. Like, if the version is Sage 50 2017, the directory should be Sage50_2017[Version].
  • If you are using a setup file that is located somewhere else, then exit the install wizard and browse to the correct directory and double click¬†on ‚Äėsetup.exe‚Äô.

Step III: Uninstall and reinstall Pervasive

  • Close¬†Sage 50.
  • Press¬†Windows Key + R.
  • In the search box, type¬†‚ÄúControl Panel‚ÄĚ and click¬†OK.
  • Select¬†Programs & Features.
  • Uninstall any listed version of Pervasive.
  • Now close¬†the Control Panel.
  • Again press¬†Windows Key + R.
  • In the search box, type¬†‚ÄúC:\‚ÄĚ and click¬†OK.
  • Delete the folder¬†‚Äėpvsw‚Äô¬†and¬†‚Äėpvswarch‚Äô, if present.
  • Delete any file named¬†‚ÄėPSQL_v##_Install.log‚Äô, ‚Äė##‚Äô being a version number.
  • Now browse to¬†‚ÄėC:\Windows‚Äô.
  • Delete¬†‚Äėpvsw.log‚Äô.
  • Browse to¬†‚ÄėC:\ProgramData‚Äô.
  • Rename¬†the¬†Pervasive Software¬†folder to¬†OldPervasive Software.
  • Browse to¬†‚ÄėC:\Program Files‚Äô¬†or¬†‚ÄėC:\Program Files (x86)‚Äô.
  • Rename the¬†Pervasive Software¬†folder to¬†OldPervasive Software.
  • Now browse to¬†‚ÄėC:\Program Files\Common Files‚Äô¬†or¬†‚ÄėC:\Program Files (x86)\Common Files‚Äô.
  • If present, rename¬†the Pervasive Software Shared¬†to¬†OldPervasive Software¬†Shared.
  • Close¬†the computer.
  • Press¬†Windows KEY + R.
  • Type¬†‚Äúregedit‚Äô and press OK.
  • Right click¬†on the computer and select¬†Export and save the backup of¬†Registry.
  • On the left pane, browse to¬†‚ÄėHKEY_LOCAL_MACHINE\Software‚Äô.
  • Delete¬†Pervasive Software¬†and¬†PEYX489ZK
  • On 64-bit PCs, browse to¬†HKEY_LOCAL_MACHINE\Software\Wow6432Node
  • Delete¬†Pervasive Software¬†and¬†PEYX489ZK
  • Close the¬†Registry Editor.

You have successfully removed the Pervasive.

Sage Technical Support

Manually Reinstall Pervasive

Browse to the installation folder, it would be located at C:\Sage\Sage50_[version].

  • Open¬†PervasiveMin¬†folder.
  • Run the¬†‚ÄėPervasivePSQLv11WGE_x86.msi‚Äô and press Next.
  • Accept the license agreement and press¬†Next.
  • Select¬†‚ÄėRun as a Service‚Äô and then¬†press Next.
  • Select¬†‚ÄėComplete‚Äô, and press¬†Next.
  • Select¬†Install to reinstall Pervasive.
  • Click¬†Finish to complete the process.
  • Now verify if you can install Sage 50.

Step IV:  Check user rights

  • Verify if the current user is a Windows local administrator.
  • If not, give user local admin rights or log in as a local¬†admin.
  • If you are using a domain network, verify if the current user is both a local admin and a domain admin.
  • If not, either give user local and domain admin rights or log in as an administrator that has both the rights.

Step V- From the server, run the standard installation

  • Search for the \\<servername you are using>\PeachtreeInstaller20XX (XX is the version)
  • Now in the server, search for the folder name Peachw
  • Then open the Install folder
  • Run the installation file that is named _Setup.exe
  • Make sure that you run the setup as the administrator by right-clicking on the setup and select the option Run as Administrator.

Following these steps can help solve your problem. Should you need more help, we are just a call away. Call us at to get in touch with our Sage expert technicians who can help you fix the error message. Not just that, they can also optimize the performance of your Sage 50 Accounting software to boost your business productivity. For instant resolution to your problem, call accountingadvice now!

Note: Download the Latest Version of Sage 50 software & save up to $50

Final Words!

In conclusion, all the solutions and the causes are mentioned that helps you in identifying and resolving Sage 50 the installation of the pervasive database has failed error. Do the step by step process to fix the issue.

contact us 1 2

You can connect with the team as the Sage expert helpdesk is here 24/7 hours to help you in fixing all the glitches. The team is here to provide you the solutions via email at and Sage 50 live chat also.

ūüí†Frequently Asked Questionsūüí†

Q1. What if I am using 2 versions of the software and remove one pervasive software folder?

Ans. By removing the folder it affects one or both of the versions of Sage 50 in your account. As pervasive is one of the important parts of the Sage 50 software installation.

Q2. How to check for the Pervasive version installed in the system?

Ans. To check the version, open the Control Panel, and then in the Programs list you get the pervasive listed with the name of ActianPSQL v12ServerEngineSP1. By this, you can easily identify the Pervasive Actian version and then accordingly install the Sage software.

Q3. What are few things that I have to do before doing anything or apply any solution?

Ans. The things are as follows:-
ūüí† Firstly, take the backup of all your data
ūüí† Restart your system to refresh it
ūüí† Disable the antivirus, etc.

Q4. What to do if I am still having issues after doing all the process?

Ans. After applying the solutions, you are still facing issues in the installation of the Pervasive database then you have to connect with the Sage helpdesk via email or live chat where you don’t have to wait in a queue.


sage 50 pervasive database has failed
Article Name: How to Fix Sage 50 the Installation of the Pervasive Database has Failed Error
Description: Want to troubleshoot Sage 50 The Installation of the Pervasive Database has Failed Error. Follow our solution to manually fix the error or call us at for expert help.
Author Name: Nency Willims
Publisher Name:

Report Your Issue

(Didn't find what you were looking for! Report your issue and get customized help from our Sage experts.)

    Sage Version

    Edition Year

    No of User: Licence

    Operating System:

    Help Needed:

    Further Reading