This error occurs when a component that is used by Accounting is unregistered or missing. Usually, re-running the workstation installer resolves this.
If re-running the workstation installer on a terminal server, be sure to change to install mode by typing change user /install in a command prompt or PowerShell window. Otherwise, components will not be registered for other users, and this error will recur.
Follow the instructions in How to Set Up a New Workstation or Update an Existing One to re-run the workstation installer.