Welcome to the Sage 50 Support Group on Sage City! Available 24/7, the Forums are a great place to ask and answer product questions, as well as share tips and tricks with Sage peers, partners, and pros.
Close the company and delete userpref.dat in the company file where the error occurred. You will only lose your preferences. The file will automatically recreate itself when you restart the company.