How to troubleshoot Sage 50 Error “The installation of the Pervasive database has failed”

sage 50 pervasive database has failed

Unable to install pervasive database on Sage 50? Are you frequently encountering an error message that says “Installation of the Pervasive database has failed.  Please contact Sage 50 Technical Support for assistance.” This is a common Sage 50 error message that can hinder the performance of your accounting software. Some of the other error messages that you might face when there’s an error installing Pervasive database include:

  • Unable to install Pervasive.
  • Sage 50 Error: “Error installing Pervasive.”
  • Sage 50 Error: “Aborting Install: Error installing Pervasive.”
  • Sage 50 Error: “Database Service Manager has stopped working.”
  • Sage 50 Error 22665

Well, all these error messages initially look different, but they all mean the same and can be fixed by following the solution mentioned below. But, before moving to the solution, it is important to understand the reasons that lead to this error message.

Reasons behind “The installation of the Pervasive database has failed” error message

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.

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 1844 871 6289 and they can help you fix the problem in no time.

Resolution to the problem

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

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

  1. Disable the antivirus software on the computer before starting the installation.
  2. Disable User Account Control. For this,
    1. Go to the Control Panel.
    2. In the search box, type “UAC”.
    3. You will see a link for ‘Turn User Account Control (UAC) on or off’.
    4. On the next screen, uncheck the box for ‘Use User Account Control (UAC)’, and click OK.
  3. Now boot into Selective Startup. For this,
    1. Press Windows Key + R.
    2. Type ‘msconfig’.
    3. Select OK.
    4. Now select the Services tab.
    5. Check ‘Hide all Microsoft Services’.
    6. Select ‘Disable All’.
    7. Select the ‘Startup’ tab.
    8. Select ‘Disable All’.
    9. Select OK.
    10. Restart the computer.
  4. Next right click on ‘setup.exe’ and select ‘Run as Administrator’.
  5. Verify the security settings on the install folder so that everyone has full control.

Step II: Verify if correct installer is being used

  1. 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].
  2. 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

  1. Close Sage 50.
  2. Press Windows Key + R.
  3. In the search box, type “Control Panel” and click OK.
  4. Select Programs & Features.
  5. Uninstall any listed version of Pervasive.
  6. Now close the Control Panel.
  7. Again press Windows Key + R.
  8. In the search box, type “C:\” and click OK.
  9. Delete the folder ‘pvsw’ and ‘pvswarch’, if present.
  10. Delete any file named ‘PSQL_v##_Install.log’, ‘##’ being a version number.
  11. Now browse to ‘C:\Windows’.
  12. Delete ‘pvsw.log’.
  13. Browse to ‘C:\ProgramData’.
  14. Rename the Pervasive Software folder to OldPervasive Software.
  15. Browse to ‘C:\Program Files’ or ‘C:\Program Files (x86)’.
  16. Rename the Pervasive Software folder to OldPervasive Software.
  17. Now browse to ‘C:\Program Files\Common Files’ or ‘C:\Program Files (x86)\Common Files’.
  18. If present, rename the Pervasive Software Shared to OldPervasive Software Shared.
  19. Close the computer.
  20. Press Windows KEY + R.
  21. Type “regedit’ and press OK.
  22. Right click on the computer and select Export and save the backup of Registry.
  23. On the left pane, browse to ‘HKEY_LOCAL_MACHINE\Software’.
  24. Delete Pervasive Software and PEYX489ZK
  25. On 64-bit PCs, browse to HKEY_LOCAL_MACHINE\Software\Wow6432Node
  26. Delete Pervasive Software and PEYX489ZK
  27. Close the Registry Editor.

You have successfully removed the Pervasive.

Manually Reinstall Pervasive

  1. Browse to the installation folder, it would be located at C:\Sage\Sage50_[version].
  1. Open PervasiveMin folder.
  2. Run the ‘PervasivePSQLv11WGE_x86.msi’ and press Next.
  3. Accept the license agreement and press Next.
  4. Select ‘Run as a Service’ and then press Next.
  5. Select ‘Complete’, and press Next.
  6. Select Install to reinstall Pervasive.
  1. Click Finish to complete the process.
  2. Now verify if you can install Sage 50.

Step IV:  Check user rights

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

Following these steps can help solve your problem. Should you need more help, we are just a call away. Call us at 1844 871 6289 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 Sagenumber.support now!

Why Sagenumber.support?

We are one of the leading independent remote tech support providers for Sage Accounting software. With a competent fleet of technicians and all the available tools and techniques, we are best in business. Our team of experts is known for their sound technical knowledge and extensive industry experience. They ensure first call resolution for all issues so that your business does not get affected due to technical glitches. So, whether you want to fix an issue or an error message or want to install, uninstall or update your Sage 50 Accounting software, just give us a call at our toll free number 1844 871 6289. Our expert technicians can provide you instant help and support to help you make the most of your business accounting software.

Leave a Reply

Your email address will not be published. Required fields are marked *

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: