An error occurred when/while...

Troubleshooting Alert Messages Overview > Alert messages (in alphabetical order) > A error occurred when/while. . .
If you haven't already done so, we suggest you read the Troubleshooting Alert Messages Overview.

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 Accounting Plus 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 Accounting Plus Data Optimisation Assistant. You can find the Optimisation Assistant in the MYOB Accounting Plus folder that was created in the Programmes folder of your Start menu when you installed Accounting Plus.

If you're able to optimise the file without further errors, we recommend that you then use the MYOB Accounting Plus 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 Accounting Plus File menu.

If the Optimisation 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 company files.

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.