Thank you for visiting our Partner Zone. This area is an exclusive space for MYOB Partners. Find out how to Partner with MYOB.
January 2021
January 2021
We are running Office 365 and today when attempting to email a MYOB pay advice to an employee the following error is showing:
Code: System.InvalidCastException
Message:
Unable to cast COM object of type 'Microsoft.Office.Interop.Outlook.ApplicationClass' to interface type 'Microsoft.Office.Interop.Outlook._Application'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{00063001-0000-0000-C000-000000000046}' failed due to the following error: Error loading type library/DLL. (Exception from HRESULT: 0x80029C4A (TYPE_E_CANTLOADLIBRARY)).
Solved! Go to Solution.
January 2021
January 2021
Hi @Shaz65
The error log mentions " Microsoft.Office.Interop.Outlook", and this error when sending emails to Outlook can be caused by different factors. Generally, the error means, when a program such as AccountRight asks which version of Outlook is installed, the wrong version is being reported back, causing a communication problem and errors between the programs.
This can happen when different versions of Office/Outlook may have been previously installed on the computer, and components/values are left behind. Errorlog will contain error messages such as:
Microsoft.Office.Interop.Outlook
System.InvalidCastException
System.Runtime.InteropServices.COMException
{00063001-0000-0000-C000-000000000046}
Interface not registered
A viable workaround is to use the online emailing function instead of outlook or you can follow these steps if you wish to send emails using Outlook:
Step 2 would require an IT Professional, as this is an environmental issue, with windows having missing or incorrect information. We can however provide this information to help:
Please feel free to post should you have further questions.
Kind regards,
Komal
MYOB Community Support
Online Help| Forum Search| my.MYOB| Download Page
Did my answer help?
Mark it as a SolutionHelpful? Leave a to tell others
January 2021
January 2021
Hi Komal,
Thank you for you reply.
I have completed the quick repair on Office 365 and it now works.
I've also uninstalled Office 2010 that was still on my computer so hopefully it won't happen again now.
Cheers,Shaz
by
IdaS1
3 weeks ago
1
125
|
1
|
125
|
||
7
|
383
|
|||
7
|
555
|
|||
1
|
534
|
|||
12
|
822
|