Fixing the MYOB Email Error

Share on linkedin
LinkedIn
Share on twitter
Twitter
Share on facebook
Facebook

Are you having trouble trying to send email from MYOB via outlook?

If the MYOB email error you are getting looks like this:MYOB Email Error

And clicking on “View error details” provides this information:

Code:
System.InvalidCastException

Message:
Unable to cast COM object of type 'System.__ComObject' to interface type 'Microsoft.Office.Interop.Outlook.MailItem'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{00063034-0000-0000-C000-000000000046}' failed due to the following error: Interface not registered (Exception from HRESULT: 0x80040155).

This article provides a fix for the above error.

Steps to Fix the MYOB Email Error:

  1. Run a Command Prompt as Administrator (Press Windows+R, type “cmd” and press Ctrl+Shift+Enter)
  2. In the Command Prompt window type the following command and press Enter:
      • For 32 bit Windows:
      • regsvr32.exe %windir%\System32\Ole32.dll

For 64 bit Windows:

      • regsvr32.exe %windir%\SysWoW64\Ole32.dll
  1. In the RegSvr32 dialog box, click OK.
  2. Download regtlibv12.exe to your computer
  3. Change directory to the the location where you saved regtlibv12.exe
  4. Run the following command, regtlibv12.exe “path\msoutl.olb”

For example:

regtlibv12.exe "C:\Program Files\Microsoft Office\root\Office16\MSOUTL.OLB"

If you require any assistance, please reach out to us or you can follow us on LinkedInFacebook or Twitter to be notified when we post new content. You can also sign up to our newsletter using the form at the bottom of the page.