Forum Discussion

JoseGomez2022's avatar
JoseGomez2022
Contributing User
2 years ago

Staff member card crashing

Hi, I keep having an issue with MYOB crashing when trying to open the card of a staff member. Thank you for your assistance.

AccountRight Application Error Report ===================================== Application Version: 2023.5.1.4 Application File Version: 2023.5.1.4 Incident Id: f36aaf17-2a39-43f9-9853-c01d86da8ea5 Time: Tuesday, 27 June 2023 10:13:07 AM Code: Unknown (0) Message: (Unknown): ShowUIView(CardDetail,...,...) Stack Trace ---------------------------------------- 1 : MYOB.Huxley.API.HuxleyApplicationException ---------------------------------------- MYOB.Huxley.API.HuxleyApplicationException: (Unknown): ShowUIView(CardDetail,...,...) ---> MYOB.Huxley.API.HuxleyApplicationException: (DataNotUniqueError): More than one EmployeePayrollDetails exists for employeeId = 177 at mscorlib!0x0600586c!System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) +0x27 at mscorlib!0x06005877!System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) +0x1b3 at Huxley.Service.Gateway!0x06001a29!MYOB.Huxley.Service.Gateway.API.IGatewayService.Dispatch(String name, Object[] arguments) at Huxley.Service.Proxy!0x06000335!MYOB.Huxley.Service.Proxy.Services.ProxyCardContainerService.GetContainerObjectByType(IEnumerable`1 objectSetVersions, CardType cardType, Int32 id) +0x0 at Huxley.UI.Decorators!0x06002aee!MYOB.Huxley.UI.Decorators.Services.DecoratorServiceMYOBHuxleyApplicationServicesContainerAPIICardContainerService.MYOB.Huxley.ApplicationServices.Container.API.ICardContainerService.GetContainerObjectByType(IEnumerable`1 objectSetVersions, CardType cardType, Int32 id) +0x54 at Huxley.UI.Model!0x06004011!MYOB.Huxley.UI.Model.Context.CardContext.<>c__DisplayClass3_0.b__0() +0x0 at Huxley.UI.Model!0x06003a8e!MYOB.Huxley.UI.Model.Context.Base.UIContextContainer`2.InvokeContainerGet(Func`1 getFunction, Boolean force) +0x60 at Huxley.UI.Model!0x060037f9!MYOB.Huxley.UI.Model.Context.CardContext.GetContainerObjectByType(CardType cardType, Int32 id) +0x34 at Huxley.UI.Controllers!0x0600217f!MYOB.Huxley.UI.Controllers.Cards.CardDetailController.GetDataObject() +0x0 at Huxley.UI.Controllers!0x06001178!MYOB.Huxley.UI.Controllers.Base.BaseControllerBusinessObject`5.get_DataRecord() +0x33 at Huxley.UI.Forms!0x06001bce!MYOB.Huxley.UI.Forms.Cards.DetailContainers.CardDetail.SetupContainer() +0x63 at Huxley.UI.Forms!0x060026c0!MYOB.Huxley.UI.Forms.BaseForms.BaseViewContainer.InitializeContainer(IUIViewPresenter uiPresenter, IController parentController, IUIContext context, EntityInfo eInfo) +0x1e9 at Huxley.UI.Forms!0x06002719!MYOB.Huxley.UI.Forms.BaseForms.BaseViewContainer.DynamicContainerLoad(String resourceId, String name, IController controller, IUIContext context, EntityInfo eInfo, Boolean visible) +0x228 at Huxley.UI.Forms!0x06002715!MYOB.Huxley.UI.Forms.BaseForms.BaseViewContainer.DynamicContainerLoad(String resourceId, IUIContext context, EntityInfo eInfo) +0xa at Huxley.UI.Forms!0x06002356!MYOB.Huxley.UI.Forms.BaseForms.BaseViewForm.InitializeForm(UIViewType ViewType, IUIViewPresenter uiViewPresenter, String containerResourceID, IUICompanyFile companyFile, EntityInfo eInfo, Boolean showAsModal, BeginNotificationRefreshMethod refreshMethod) +0x122 at Huxley.UI.Framework!0x06000174!MYOB.Huxley.UI.Framework.Presenter.UIViewFactory.GetForm(UIViewType viewType, EntityInfo eInfo, IUIViewPresenter presenter, Boolean showAsModal, BeginNotificationRefreshMethod refreshMethod) +0x88 at Huxley.UI.Framework!0x06000173!MYOB.Huxley.UI.Framework.Presenter.UIViewFactory.Show(IUIViewPresenter presenter, UIViewType viewType, Boolean showDialog, EntityInfo eInfo, IUIContext context, Boolean visible, BeginNotificationRefreshMethod refreshMethod) +0xaa at Huxley.UI.Framework!0x06000192!MYOB.Huxley.UI.Framework.Presenter.UIViewPresenter.ShowUIView(UIViewType uiViewType, EntityInfo entityInfo, BeginNotificationRefreshMethod refreshMethod) +0x4a --- End of inner exception stack trace --- at Huxley.UI.Framework!0x06000192!MYOB.Huxley.UI.Framework.Presenter.UIViewPresenter.ShowUIView(UIViewType uiViewType, EntityInfo entityInfo, BeginNotificationRefreshMethod refreshMethod) +0xa3 at Huxley.UI.Forms!0x06001a70!MYOB.Huxley.UI.Forms.Cards.CardsGrid.OnCustomNavigationEvent(UIViewType uiViewType, EntityInfo eInfo, Boolean showAsDialog, BeginNotificationRefreshMethod refreshMethod) +0x0 at Huxley.UI.Forms!0x060026d5!MYOB.Huxley.UI.Forms.BaseForms.BaseViewContainer.RaiseNavigationEvent(UIViewType uiViewType, EntityInfo eInfo, Boolean showAsDialog, Boolean causeRefresh) +0x33 at Huxley.UI.Forms!0x06001aa6!MYOB.Huxley.UI.Forms.Cards.CardsGrid.LaunchDetail(UICardSummary editCard) +0x3b at Huxley.UI.Forms!0x06001a7c!MYOB.Huxley.UI.Forms.Cards.CardsGrid.grdvCardsList_DrillDownClicked(Object sender, DrilldownClickedArgs e) +0x16 at Huxley.UI.Controls!0x0600047e!MYOB.Huxley.UI.Controls.External.ExtGridView.InvokeDrillDownClicked(Object row) +0x21 at Huxley.UI.Controls!0x060004a2!MYOB.Huxley.UI.Controls.External.ExtGridView.ExtGridView_Click(Object sender, EventArgs e) +0xe8 at DevExpress.XtraGrid.v17.1!0x060004a5!DevExpress.XtraGrid.Views.Base.BaseView.RaiseClick(EventArgs e) +0x19 at DevExpress.XtraGrid.v17.1!0x06000117!DevExpress.XtraGrid.Views.Grid.Handler.GridHandler.OnClick(MouseEventArgs ev) +0x7 at DevExpress.Utils.v17.1!0x06002738!DevExpress.Utils.Controls.BaseHandler.ProcessEvent(EventType etype, Object args) +0x8e at DevExpress.XtraGrid.v17.1!0x060000e8!DevExpress.XtraGrid.Views.Base.Handler.BaseViewHandler.ProcessEvent(EventType etype, Object args) +0x22 at DevExpress.XtraGrid.v17.1!0x0600216d!DevExpress.XtraGrid.GridControl.OnClick(EventArgs ev) +0x33 at System.Windows.Forms!0x06000f04!System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) +0xf2 at System.Windows.Forms!0x06000f14!System.Windows.Forms.Control.WndProc(Message& m) +0x49f at DevExpress.XtraEditors.v17.1!0x06001445!DevExpress.XtraEditors.Container.EditorContainer.WndProc(Message& m) +0x67 at DevExpress.XtraGrid.v17.1!0x0600214e!DevExpress.XtraGrid.GridControl.WndProc(Message& m) +0xbb at System.Windows.Forms!0x0600572a!System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) +0x0 at System.Windows.Forms!0x0600572d!System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) +0x8e at System.Windows.Forms!0x06002df3!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: DevExpress.XtraGrid.v17.1 => DevExpress.XtraGrid.v17.1, Version=17.1.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a; G:6a6f2858c181409aa7c4eb6bd501ac5f; A:1 MODULE: Huxley.Service.Gateway => Huxley.Service.Gateway, Version=2023.5.1.4, Culture=neutral, PublicKeyToken=947f70fecdd4159f; G:706051ae04e6421a894c612c2dc358ce; A:1 MODULE: Huxley.Service.Proxy => Huxley.Service.Proxy, Version=2023.5.1.4, Culture=neutral, PublicKeyToken=947f70fecdd4159f; G:a4d1137c0b2840329b9255df2d30eb49; A:1 MODULE: Huxley.UI.Controllers => Huxley.UI.Controllers, Version=2023.5.1.4, Culture=neutral, PublicKeyToken=947f70fecdd4159f; G:f4be56d283864b27bacb433a8607441a; A:1 MODULE: Huxley.UI.Controls => Huxley.UI.Controls, Version=2023.5.1.4, Culture=neutral, PublicKeyToken=947f70fecdd4159f; G:92e4d75aca98462eb3f43f1097aeb528; A:1 MODULE: Huxley.UI.Decorators => Huxley.UI.Decorators, Version=2023.5.1.4, Culture=neutral, PublicKeyToken=947f70fecdd4159f; G:f72ea0724f1b495a87a3b28aed7d73b5; A:1 MODULE: Huxley.UI.Forms => Huxley.UI.Forms, Version=2023.5.1.4, Culture=neutral, PublicKeyToken=947f70fecdd4159f; G:2a452a24380d4425b6082aad7be35053; A:1 MODULE: Huxley.UI.Framework => Huxley.UI.Framework, Version=2023.5.1.4, Culture=neutral, PublicKeyToken=947f70fecdd4159f; G:930a5e1b36214843ae9ec6ab2d0dd8e1; A:1 MODULE: Huxley.UI.Model => Huxley.UI.Model, Version=2023.5.1.4, Culture=neutral, PublicKeyToken=947f70fecdd4159f; G:4c2a0095db7d4a81aed8b0d726eb0ae0; A:1 MODULE: mscorlib => mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089; G:7dc184f4902d4b6fa44f3e6eaeed3dfe; A:2 MODULE: System.Windows.Forms => System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089; G:543c9eec2a3d4078aab81f89e0020776; A:1 ---------------------------------------- 2 : MYOB.Huxley.API.HuxleyApplicationException ---------------------------------------- MYOB.Huxley.API.HuxleyApplicationException: (DataNotUniqueError): More than one EmployeePayrollDetails exists for employeeId = 177 at mscorlib!0x0600586c!System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) +0x27 at mscorlib!0x06005877!System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) +0x1b3 at Huxley.Service.Gateway!0x06001a29!MYOB.Huxley.Service.Gateway.API.IGatewayService.Dispatch(String name, Object[] arguments) at Huxley.Service.Proxy!0x06000335!MYOB.Huxley.Service.Proxy.Services.ProxyCardContainerService.GetContainerObjectByType(IEnumerable`1 objectSetVersions, CardType cardType, Int32 id) +0x0 at Huxley.UI.Decorators!0x06002aee!MYOB.Huxley.UI.Decorators.Services.DecoratorServiceMYOBHuxleyApplicationServicesContainerAPIICardContainerService.MYOB.Huxley.ApplicationServices.Container.API.ICardContainerService.GetContainerObjectByType(IEnumerable`1 objectSetVersions, CardType cardType, Int32 id) +0x54 at Huxley.UI.Model!0x06004011!MYOB.Huxley.UI.Model.Context.CardContext.<>c__DisplayClass3_0.b__0() +0x0 at Huxley.UI.Model!0x06003a8e!MYOB.Huxley.UI.Model.Context.Base.UIContextContainer`2.InvokeContainerGet(Func`1 getFunction, Boolean force) +0x60 at Huxley.UI.Model!0x060037f9!MYOB.Huxley.UI.Model.Context.CardContext.GetContainerObjectByType(CardType cardType, Int32 id) +0x34 at Huxley.UI.Controllers!0x0600217f!MYOB.Huxley.UI.Controllers.Cards.CardDetailController.GetDataObject() +0x0 at Huxley.UI.Controllers!0x06001178!MYOB.Huxley.UI.Controllers.Base.BaseControllerBusinessObject`5.get_DataRecord() +0x33 at Huxley.UI.Forms!0x06001bce!MYOB.Huxley.UI.Forms.Cards.DetailContainers.CardDetail.SetupContainer() +0x63 at Huxley.UI.Forms!0x060026c0!MYOB.Huxley.UI.Forms.BaseForms.BaseViewContainer.InitializeContainer(IUIViewPresenter uiPresenter, IController parentController, IUIContext context, EntityInfo eInfo) +0x1e9 at Huxley.UI.Forms!0x06002719!MYOB.Huxley.UI.Forms.BaseForms.BaseViewContainer.DynamicContainerLoad(String resourceId, String name, IController controller, IUIContext context, EntityInfo eInfo, Boolean visible) +0x228 at Huxley.UI.Forms!0x06002715!MYOB.Huxley.UI.Forms.BaseForms.BaseViewContainer.DynamicContainerLoad(String resourceId, IUIContext context, EntityInfo eInfo) +0xa at Huxley.UI.Forms!0x06002356!MYOB.Huxley.UI.Forms.BaseForms.BaseViewForm.InitializeForm(UIViewType ViewType, IUIViewPresenter uiViewPresenter, String containerResourceID, IUICompanyFile companyFile, EntityInfo eInfo, Boolean showAsModal, BeginNotificationRefreshMethod refreshMethod) +0x122 at Huxley.UI.Framework!0x06000174!MYOB.Huxley.UI.Framework.Presenter.UIViewFactory.GetForm(UIViewType viewType, EntityInfo eInfo, IUIViewPresenter presenter, Boolean showAsModal, BeginNotificationRefreshMethod refreshMethod) +0x88 at Huxley.UI.Framework!0x06000173!MYOB.Huxley.UI.Framework.Presenter.UIViewFactory.Show(IUIViewPresenter presenter, UIViewType viewType, Boolean showDialog, EntityInfo eInfo, IUIContext context, Boolean visible, BeginNotificationRefreshMethod refreshMethod) +0xaa at Huxley.UI.Framework!0x06000192!MYOB.Huxley.UI.Framework.Presenter.UIViewPresenter.ShowUIView(UIViewType uiViewType, EntityInfo entityInfo, BeginNotificationRefreshMethod refreshMethod) +0x4a ========== MODULE: Huxley.Service.Gateway => Huxley.Service.Gateway, Version=2023.5.1.4, Culture=neutral, PublicKeyToken=947f70fecdd4159f; G:706051ae04e6421a894c612c2dc358ce; A:1 MODULE: Huxley.Service.Proxy => Huxley.Service.Proxy, Version=2023.5.1.4, Culture=neutral, PublicKeyToken=947f70fecdd4159f; G:a4d1137c0b2840329b9255df2d30eb49; A:1 MODULE: Huxley.UI.Controllers => Huxley.UI.Controllers, Version=2023.5.1.4, Culture=neutral, PublicKeyToken=947f70fecdd4159f; G:f4be56d283864b27bacb433a8607441a; A:1 MODULE: Huxley.UI.Decorators => Huxley.UI.Decorators, Version=2023.5.1.4, Culture=neutral, PublicKeyToken=947f70fecdd4159f; G:f72ea0724f1b495a87a3b28aed7d73b5; A:1 MODULE: Huxley.UI.Forms => Huxley.UI.Forms, Version=2023.5.1.4, Culture=neutral, PublicKeyToken=947f70fecdd4159f; G:2a452a24380d4425b6082aad7be35053; A:1 MODULE: Huxley.UI.Framework => Huxley.UI.Framework, Version=2023.5.1.4, Culture=neutral, PublicKeyToken=947f70fecdd4159f; G:930a5e1b36214843ae9ec6ab2d0dd8e1; A:1 MODULE: Huxley.UI.Model => Huxley.UI.Model, Version=2023.5.1.4, Culture=neutral, PublicKeyToken=947f70fecdd4159f; G:4c2a0095db7d4a81aed8b0d726eb0ae0; A:1 MODULE: mscorlib => mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089; G:7dc184f4902d4b6fa44f3e6eaeed3dfe; A:2 ----------------------------------------

  • Hi JoseGomez2022

     

    Thanks for your post and Welcome here in the Community Forum. I hope you find it a useful tool.

     

    There is a script we can run to resolve this, can you please send me a private message with your product serial number and Company file ID of the file (This can be found by going to Help > About MYOB AccountRight).

     

     

    If you do require further assistance feel free to reply to this post.

     

    Cheers,
    Leneth

  • Hi JoseGomez2022

     

    Thanks for your post and Welcome here in the Community Forum. I hope you find it a useful tool.

     

    There is a script we can run to resolve this, can you please send me a private message with your product serial number and Company file ID of the file (This can be found by going to Help > About MYOB AccountRight).

     

     

    If you do require further assistance feel free to reply to this post.

     

    Cheers,
    Leneth

    • JoseGomez2022's avatar
      JoseGomez2022
      Contributing User

      Hi Leneth,

       

      for some reason does not allow me to sent you a private message. is there an email or so i can use?

       

      Regards,

      • Leneth_A's avatar
        Leneth_A
        MYOB Staff

        Hi JoseGomez2022

         

        Thanks for letting me know. My apologies, I've given you private message access now.

         


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

         

        Cheers,
        Leneth