Child pages
  • Error: "Buffer overrun"


 

 

ANSWER ID:32010

The simplest way to resolve this error is by verifying your data file:

  1. Go to the File menu and choose Verify Data File > Re-Index.
  2. Go to the File menu and choose Verify Data File > Recalculate Balances.

If you can't open Cashbook, delete the following files from the Cashbook folder (should they exist). Once done, you'll be able to open Cashbook to perform the above verification tasks.

These files can be found by browsing to C:\Users\Public\Data\MYOB\Cashbook or they will be in C:\Program Files\MYOB\Cashbook\Data

  • CADATA.DCT
  • CADATA.DBC
  • CADATA.DCX
  • CASHBOOKS.CDX
  • CASHBOOKS.BAK
  • CASHBOOKS.DBF

If the error persists

If after re-indexing and re-calculating balances you still receive the error message, first try to download and run the applicable register.bat file:

 

To download and run the register.bat file

Download and run the applicable register.bat file attached to the bottom of this support note (use the register32.bat if you're using a 32-bit Windows version, or register64.bat if you're using a 64-bit Windows version).

Not sure if you're using a 32- or 64-bit version of Windows? Simultaneously press the Windows and Pause keys on your keyboard. The displayed window includes information on whether the Windows version is 32- or 64-bit.

To do this:

  1. Click the applicable file at the bottom of this support note (register32.bat or register64.bat).
  2. Choose to save the file to your Desktop.

  3. Right-click the downloaded file and choose Run as Administrator.
  4. When the following window appears, check to see if any files are missing as shown in this example.
    Image
  5. If files are missing, click to download the files RMLib.DLL and MYOBComm.dll from the bottom of this support note. If no files are missing, skip to step 8.
  6. Copy the files RMLib.DLL and MYOBComm.dll into the following location:
    • for 32-bit Windows version, copy the files to C:\Windows\System32
    • for 64-bit Windows versions, copy the files to both these locations C:\Windows\System32 and C:\Windows\SysWOW64
  7. After files have been copied to the above locations, repeat steps 1-4 to re-run the above check to see if the files are present.
  8. If no files are reported as missing, press N then Enter to select that you don't want to check again and this will then register the files.
  9. At the completion message, press any key on your keyboard to close the window.

If after downloading and copying the register.bat files you still receive the error message, try temporarily disabling your antivirus software:

 

To temporarily disable antivirus software

Try temporarily disabling your antivirus software. If this stops the error occurring, it means you'll need to add an exception for Cashbook to your antivirus software to stop it affecting Cashbook's operation. You might need help from your antivirus help documentation or an IT person to do this. Here are the folder locations you can add exceptions for:

  • C:\Program Files\MYOB\Cashbook (for a 32-bit version of Windows)
  • C:\Program Files (x86)\MYOB\Cashbook (for a 64-bit version of Windows)
  • C:\Users\Public\Data\MYOB\Cashbook

If after trying all three above procedures the error message still shows, try uninstalling and reinstalling Cashbook as described in our support note Uninstalling and reinstalling Cashbook.

Attachments

register32.bat

register64.bat

MYOBComm.dll

RMLib.dll

 
Related topics