If using the Custom Report plugin 
To repair the affected workstation, please uninstall and reinstall The Financial Edge. This will repair any broken or invalid registry entries.

If using a custom API application
Update the DatabaseNumber of the FE_API.Init method to an available database number. The following articles can be used as a reference.

Finding the database number from the registry

Code sample to determine the database number