Child pages
  • Error: "I/O Error in Routine" when emailing

This information applies to MYOB AccountRight version 19. For later versions, see our help centre.


 

 

ANSWER ID:10913

If you're receiving the error "I/O Error in Routine" or "I/O Error in Get Routine" when emailing from AccountRight, make sure you have Microsoft Outlook installed on your computer. AccountRight relies on Outlook to send emails.

Image

Image

Is your email error different to these? See Fixing email issues.

What causes I/O errors?

There are 2 known causes

CauseDetails
Security softwareAntivirus, firewall and other security software or settings may prevent AccountRight from communicating with Microsoft Outlook to send your emails. Try temporarily disabling your security programs and see if they are the cause.
Access to temporary files deniedWhen emailing a document from AccountRight, a PDF of the document is created and stored in a temporary folder on your computer. The PDF is 'Read Only' so it's not deleted or changed while the email is generated. After the email is created in Outlook, the PDF document is deleted. If anything disrupts this process, the temporary PDF file remains and prevents new PDF files being created when emailing again from AccountRight.

Receiving an I/O error when loading payroll tax tables (Australia only)? See Error: "I/O Error in Routine" when loading tax tables.

Resolution

First, restart your computer. This can clear some temporary files which might be causing the error.

If the error persists, you'll need to find the temporary PDF file which is causing the issue - and delete it.

 

To find and delete the temporary file
  1. Simultaneously press the Windows Image and R keys on your keyboard (the Windows Image key is between the Ctrl & Alt keys). The Run window appears.
  2. In the Open field, type %localappdata%\temp
    Image

  3. Click OK. The contents of the Temp folder will be displayed.

  4. Locate the applicable PDF file. Depending on what you were trying to email when the error occurred, the file you're looking for will be different.

    If the error occurred when emailing a...

    locate the file named...

    Sale

    ESale.pdf

    Purchase

    EPurchase.pdf

    Report

    EReport.pdf

    Statement

    EStatement.pdf

    Payslip (Australia only)

    Payslip.pdf

  5. Once found, right-click the file and choose Delete.
  6. Click Yes to the confirmation message.

If the error persists

In some cases this error can also be caused by your Windows permissions. Make sure you are logged into Windows as the Administrator, or as a user with Administrator permissions.

Full access is required to the hard disk where Windows is installed, usually C:\, or at a minimum, full access to the Temp folder described above.

You may need the assistance of an IT specialist regarding Windows permissions and access restrictions.