Run-time error 401

SOLVED

Good day. Please advice on the following error when opening Pastel Sage 50c. Run-time error 401: can't show non-modal form when modal form is displayed. And when I click OK, the following error pops up, Pervasive Error Code 94 while accessing P:\Custom\Registration\Registration.Dat file.