Forum Discussion

LindyMH's avatar
LindyMH
Experienced Cover User
6 months ago

Can't send from Outlook

Hi

Is anyone else having issues sending invoices through outlook.

I have a client that uses BASWARE which means I can not send invoices directly from MYOB and have to go through outlook.

It keeps coming up with an exception and I don't know what it means as i've never had it come up before.

 

AccountRight 2024.4.1.5 Error information: System.InvalidCastException

 

Any ideas would be appreciated.

Thanks

  • Earl_HD's avatar
    Earl_HD
    MYOB Moderator

    Hi LindyMH,

    Thanks for your post. This can be quite tricky. A viable workaround, if you're working with an online file, is to use the online emailing function instead of Outlook.However, there are a range of interop errors that can often be fixed by one of the following:
     

    A. Quick Repair Office (any missing files should be added back) 
    B. Re-register Outlook DLL files and check/fix registry keys (there are three to complete)

    Other solutions may require an IT specialist. Please see this help page for more information. https://webmakers.co.nz/interface-not-registered-exception-from-hresult-0x80040155-microsoft-office-outlook-error/

    Feel free to post again, we're happy to help!

    Regards,
    Earl

     

    • LindyMH's avatar
      LindyMH
      Experienced Cover User

      As previously advised the client BASWARE software does not accept invoices directly from MYOB so this is not an option. 
      The error is not a direct outlook error but a MYOB error that comes up in the desktop MYOB app when you turn the invoice directly option off. 
      I’ve been sending the invoices to this particular client for the entire time I’ve been using the online email function which has been years so I don’t know why all of a sudden this is happening. 
      Thanks anyway. 

  • Hi LindyMH,

     

    I see that the issue is not with Outlook and that you are using the MYOB invoice app. Please check your inbox as I have sent a private message, and I want you to respond to that message through your inbox for the security purposes of your account so that we can further investigate the issue.

     

    Feel free to post again if you have an additional inquiry.

     

    Cheers,

    Jem

    • LindyMH's avatar
      LindyMH
      Experienced Cover User

      Sorry Jem but I only just saw this message and for someone reason PM doesn't seem to work for me.  There is no option to reply.  I am not using the MYOB invoice app, I am using my desktop accountright app which I always use.  I have tried all the options and nothing is working.  This has only just all of sudden started doing it.  There has been no change to my computer that I am aware of.

      This is the latest error now coming up and is very inconvenient and time consuming when I have to send via outlook and I can't.

       

      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: Interface not registered (Exception from HRESULT: 0x80040155).

       

      I don't really want to have to get an IT expert in if this is MYOB related.  I have also sent off a error log to Microsoft 365 for any help.

  • Hi LindyMH,

     

    Thank you for providing the error message. This error means that 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. To resolve this, please check out this post. There are three troubleshooting steps that you may follow in that article. The last one will require an IT specialist if the first two steps do not work.

     

    Feel free to write a post if you need further assistance.

     

    Cheers,

    Jem

    • LindyMH's avatar
      LindyMH
      Experienced Cover User

      **bleep** - well it looks like an IT professional is required "at my cost of course" as I have done everything else.  Nothing has changed at all from my end so I do not know why all of a sudden this has started happening.  Very annoying and inconvenient.

  • Hi LindyMH,

     

    I can see that it might be an environmental issue, you may also check this thread with Microsoft that encountered the same issue. 

     

    Feel free to write a post if you need further assistance.

     

    Cheers,

    Jem