Summary
How to resolve the error “Sage 50 is unable to connect to its database Actian Zen on computer [computer name]” when creating a backup, opening an archived company, or sharing a company with Remote Data Access
Description
Cause
- Incorrect computer name in ~pvsw~.loc in archived companies
- Moving data from one computer to another through copy/paste rather than backup/restore
Resolution
Workaround for making backups:
- When saving a backup, uncheck the Include Archives in the backup check box.
- Confirm that the backup will save.
Delete ~pvsw~.loc files
- Click Maintain, Company Information.
- Write down the Directory path.
- Click OK.
- Close Sage 50.
- Browse to the directory location from Step 2.
- Delete the file ~pvsw~.loc.
- Double-click the Archives directory folder.
- Open each folder in the Archives directory to locate and delete the file ~pvsw~.loc.
- Close Windows Explorer.
- Open Sage 50.
- Verify you can now open your archived companies and/or back up successfully.
NOTE: f you get an error when attempting to delete the .LOC file that Pervasive has opened, then you will need to stop the Actian service. See How to stop or start the Actian Zen database engine.
Expendable file cleanup
Follow Create a clean data folder and expendable file cleanup.