Symptoms
"Run-time error '5': Invalid procedure call or argument"This error occurs when trying to change the location of the sysdata directory to a shared directory on the network from the Change SYSDATA Directory dialog box of Microsoft FRx.
Cause
This error will occur when there is no company set as default in FRx.
Resolution
ResolutionWhen a company is set as default, the company code will be displayed in the lower right-hand corner of the FRx Control Panel. If there is no company code displayed in the lower right-hand corner of the FRx Control Panel, please do the following:1. On the Company menu, click Select Default.2. Select FW from the listed companies in the Select Default Company dialog box.3. Click OK.This will set the FW company as default after which you can return to the Change SYSDATA Directory dialog box to change the sysdata directory to the shared location. If this article does not resolve your issue, please contact your FRx support provider. Click here for a list of General Ledger vendors that provide support for FRx.