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 Sage 50 The Installation of the Pervasive Database has Failed error message manually.

Total Time: 35 minutes

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.

Now You have successfully removed the Pervasive.

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 [email protected] 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 Chat help desk
Sage Chat help desk

Customer Service


Chat with us

Related Posts:

Further Reading