An error occurred when/while...

Troubleshooting Alert Messages > Alert messages (in alphabetical order) > A error occurred when/while. . .

Situation: A serious error occurred during the process that's displayed in this message. This alert message may appear when you attempt to open an MYOB BusinessBasics company file that was damaged due to a computer interruption the last time you used it. For example, if you mistakenly turned off your workstation while changes were being saved in your company file, the file could have become damaged. Power failures and network errors can also damage company files.

Solution: You may be able to repair the file using the MYOB BusinessBasics Data Optimization Assistant. You can find the Optimisation Assistant in the MYOB BusinessBasics folder that was created in the Programs folder of your Start menu when you installed BusinessBasics.

If you're able to optimize the file without further errors, we recommend that you then use the MYOB BusinessBasics Data Verification Utility to be sure your company file is in its "healthiest" form. You can find the Verify Company File command under the MYOB BusinessBasics File menu.

If the Optimization Assistant or the Company File Verification indicates that the problem can't be repaired, you must use the most recent backup of your company's data. Regrettably, any entries that you made since the most recent backup will need to be reentered. To learn more about restoring a backup of your company file see Restoring a company file backup.

It's difficult to prevent company files from being damaged by forces outside of your control, but there are some things you can do to avoid this situation in the future. One of the best investments you can make is in an uninterruptable power supply (UPS), sold at most computer stores. UPS units help prevent power surges and other electrical anomalies from harming your company's computers.