Cannot Email Payslips from Accountright VIA Outlook 2013

Highlighted
1 Post
User

1Posts

0Kudos

0Solutions

Cannot Email Payslips from Accountright VIA Outlook 2013

Hi there

 

One of my clients is having problems sending email from Accountright via Outlook 2013 (32 bit)

 

When sending the email, Outlook pops up with the email but it is missing the payslip attachment. After a few minutes, MYOB throws up an error and the error log is as shown below.

 

It may be worth mentioning that they are running Accountright 2020.1 SE with a local MYOB file. The software is running on a Windows 2012 R2 (64 Bit) Terminal Server and it was working during the last pay run.

 

Any ideas on what I can try? 


Thanks

 

 

AccountRight Application Error Report
=====================================
Application Version: 2020.1.23.5508
Application File Version: 2020.1.23.5508
Incident Id: 229ae94c-7b11-4cbc-9c33-9d489e85104d
Time: Wednesday, 5 August 2020 1:04:01 PM

Code:
System.Runtime.InteropServices.COMException


Message:
Cannot create file: paySlip.pdf. Right-click the folder you want to create the file in, and then click Properties on the shortcut menu to check your permissions for the folder.


Stack Trace
----------------------------------------
1 : System.Runtime.InteropServices.COMException
----------------------------------------
System.Runtime.InteropServices.COMException: Cannot create file: paySlip.pdf. Right-click the folder you want to create the file in, and then click Properties on the shortcut menu to check your permissions for the folder.
at Huxley.MsOffice.Integration!0x060001e1!Microsoft.Office.Interop.Outlook.Attachments.Add(Object Source, Object Type, Object Position, Object DisplayName)
at Huxley.MsOffice.Integration!0x06000078!MYOB.Huxley.MsOffice.Integration.OutlookEmail.OutlookEmailProvider.SendMessage(String emailAddresses, String subject, String body, EmailResourceType resourceType, String documentNumber, IEnumerable`1 attachments) +0x189
at Huxley.UI.Controllers!0x0600110b!MYOB.Huxley.UI.Controllers.Helpers.EmailHelper.SendEmail(String to, String subject, String body, String pdfFileName, EmailResourceType resourceType, FormTemplateDefinition formTemplateDefinition, FormPrintingParams formPrintingParams, IEnumerable`1 attachements, Nullable`1 entityUid, LayoutType layoutType, String documentNumber) +0xd0
at Huxley.UI.Controllers!0x06002131!MYOB.Huxley.UI.Controllers.Payroll.EmailPaySlipsController.<SendEmailsOneByOne>b__35_0(EmailHelper helper) +0xa5
at Huxley.UI.Controllers!0x0600110f!MYOB.Huxley.UI.Controllers.Helpers.EmailHelper.SendEmail(Func`2 doSend) +0x0
at Huxley.UI.Controllers!0x0600212d!MYOB.Huxley.UI.Controllers.Payroll.EmailPaySlipsController.SendEmailsOneByOne() +0x17
at Huxley.UI.Controllers!0x06003056!MYOB.Huxley.UI.Controllers.Payroll.EmailPaySlipsController.<>c__DisplayClass33_0.<SendEmails>b__1() +0x0
at Huxley.UI.Controllers!0x06002130!MYOB.Huxley.UI.Controllers.Payroll.EmailPaySlipsController.PerformActionWithWaitAnimationSpinner(Action action, Boolean disableForm) +0x15
at Huxley.UI.Controllers!0x0600212b!MYOB.Huxley.UI.Controllers.Payroll.EmailPaySlipsController.SendEmails() +0x59
at Huxley.UI.Forms!0x060026b4!MYOB.Huxley.UI.Forms.Payroll.EmailPaySlips.<OnOkClicked>b__16_1() +0x0
at Huxley.UI.Forms!0x060031f8!MYOB.Huxley.UI.Forms.BaseForms.BaseViewContainer.PerformAction(Action methodToPerform) +0x16
at Huxley.UI.Forms!0x060026a3!MYOB.Huxley.UI.Forms.Payroll.EmailPaySlips.OnOkClicked(ButtonClickedArgs args) +0x89
at Huxley.UI.Forms!0x06002731!MYOB.Huxley.UI.Forms.Payroll.ReviewPaySlipsBeforeDelivery.OnOkClicked(ButtonClickedArgs args) +0x6f
at Huxley.UI.Forms!0x06002ee0!MYOB.Huxley.UI.Forms.BaseForms.BaseViewForm.CallButtonClicked(Action`1 execute, ButtonClickedArgs args, String buttonText) +0x12
at Huxley.UI.Forms!0x06002e5a!MYOB.Huxley.UI.Forms.BaseForms.BaseViewForm.btnOk_Click(Object sender, EventArgs e) +0x30
at System.Windows.Forms!0x06000cf3!System.Windows.Forms.Control.OnClick(EventArgs e) +0x19
at DevExpress.XtraEditors.v17.1!0x06000d4f!DevExpress.XtraEditors.BaseButton.OnClick(EventArgs e) +0x2e
at DevExpress.XtraEditors.v17.1!0x06000d48!DevExpress.XtraEditors.BaseButton.OnMouseUp(MouseEventArgs e) +0x1d
at System.Windows.Forms!0x06000dd2!System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) +0x184
at System.Windows.Forms!0x06000de2!System.Windows.Forms.Control.WndProc(Message& m) +0x62f
at DevExpress.Utils.v17.1!0x06002708!DevExpress.Utils.Controls.ControlBase.WndProc(Message& m) +0x2e
at DevExpress.XtraEditors.v17.1!0x06000256!DevExpress.XtraEditors.BaseControl.WndProc(Message& msg) +0x0
at System.Windows.Forms!0x060053fd!System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) +0x0
at System.Windows.Forms!0x06005400!System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) +0x8e
at System.Windows.Forms!0x06002c1a!System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) +0x25
==========
MODULE: DevExpress.Utils.v17.1 => DevExpress.Utils.v17.1, Version=17.1.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a; G:b8c34c059b804930811d5f6d50999b6c; A:1
MODULE: DevExpress.XtraEditors.v17.1 => DevExpress.XtraEditors.v17.1, Version=17.1.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a; G:6df94e55f5bd4444b910d4b2a37076a4; A:1
MODULE: Huxley.MsOffice.Integration => Huxley.MsOffice.Integration, Version=2020.1.23.5508, Culture=neutral, PublicKeyToken=947f70fecdd4159f; G:f1da552f45fc4ac283ffd586525d3d56; A:1
MODULE: Huxley.UI.Controllers => Huxley.UI.Controllers, Version=2020.1.23.5508, Culture=neutral, PublicKeyToken=947f70fecdd4159f; G:3bf8ba1176c74d72ac7474560559dfa8; A:1
MODULE: Huxley.UI.Forms => Huxley.UI.Forms, Version=2020.1.23.5508, Culture=neutral, PublicKeyToken=947f70fecdd4159f; G:b7845fa915ff4d1382cc77fbc411f0ef; A:1
MODULE: System.Windows.Forms => System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089; G:ef7aaab0326541c5b01eea86595c7ffc; A:1

----------------------------------------

 

 

1 REPLY 1
Highlighted
MYOB Moderator
3,079 Posts
MYOB Moderator
MYOB Moderator

3,079Posts

224Kudos

291Solutions

Re: Cannot Email Payslips from Accountright VIA Outlook 2013

Hi @HWZ2020

 

Thank you for your post. I would recommend doing an uninstall and reinstall of AccountRight, if the issue persists they may need to do a repair of the Microsoft office program. Our help article Something's gone wrong error: "System.Runtime.InteropServices.COMException" has information and instructions on how to do this. 

 

Please do let us know how you go. 

 

If my response has answered your enquiry please click "Accept as Solution" to assist other users find this information.

Cheers,
Melisa

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

Didn't find your answer here?

Try using advanced search to find a post more easily Advanced Search
or
Get the conversation started and make a new post Start a Post