Forum Discussion

NH182's avatar
NH182
Experienced Cover User
1 year ago

Somethings gone wrong & AccountRight needs to close

Hi,

 

I am getting the following error when trying to access a card file of one particular employee, can anybody help?

 

AccountRight Application Error Report
=====================================
Application Version: 2024.11.1.12
Application File Version: 2024.11.1.15
Incident Id: 60d9cf31-8c61-474c-9efd-cf1dab2b3461
Time: Wednesday, 22 January 2025 12:29:33 PM

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 = 2291
   at mscorlib!0x06005858!System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) +0x27
   at mscorlib!0x06005863!System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) +0x1b3
   at Huxley.Service.Gateway!0x06001a44!MYOB.Huxley.Service.Gateway.API.IGatewayService.Dispatch(String name, Object[] arguments)
   at Huxley.Service.Proxy!0x0600033d!MYOB.Huxley.Service.Proxy.Services.ProxyCardContainerService.GetContainerObjectByType(IEnumerable`1 objectSetVersions, CardType cardType, Int32 id) +0x0
   at Huxley.UI.Decorators!0x06002b16!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!0x06004126!MYOB.Huxley.UI.Model.Context.CardContext.<>c__DisplayClass7_0.<GetContainerObjectByType>b__0() +0x0
   at Huxley.UI.Model!0x06003b7e!MYOB.Huxley.UI.Model.Context.Base.UIContextContainer`2.InvokeContainerGet(Func`1 getFunction, Boolean force) +0x60
   at Huxley.UI.Model!0x060038da!MYOB.Huxley.UI.Model.Context.CardContext.GetContainerObjectByType(CardType cardType, Int32 id) +0x34
   at Huxley.UI.Controllers!0x06002296!MYOB.Huxley.UI.Controllers.Cards.CardDetailController.GetDataObject() +0x0
   at Huxley.UI.Controllers!0x06001156!MYOB.Huxley.UI.Controllers.Base.BaseControllerBusinessObject`5.get_DataRecord() +0x33
   at Huxley.UI.Forms!0x06001906!MYOB.Huxley.UI.Forms.Cards.DetailContainers.CardDetail.SetupContainer() +0x63
   at Huxley.UI.Forms!0x06003484!MYOB.Huxley.UI.Forms.BaseForms.BaseViewContainer.InitializeContainer(IUIViewPresenter uiPresenter, IController parentController, IUIContext context, EntityInfo eInfo) +0x1e9
   at Huxley.UI.Forms!0x060034e0!MYOB.Huxley.UI.Forms.BaseForms.BaseViewContainer.DynamicContainerLoad(String resourceId, String name, IController controller, IUIContext context, EntityInfo eInfo, Boolean visible) +0x228
   at Huxley.UI.Forms!0x060034dc!MYOB.Huxley.UI.Forms.BaseForms.BaseViewContainer.DynamicContainerLoad(String resourceId, IUIContext context, EntityInfo eInfo) +0xa
   at Huxley.UI.Forms!0x0600310d!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!0x060000f7!MYOB.Huxley.UI.Framework.Presenter.UIViewFactory.GetForm(UIViewType viewType, EntityInfo eInfo, IUIViewPresenter presenter, Boolean showAsModal, BeginNotificationRefreshMethod refreshMethod) +0x88
   at Huxley.UI.Framework!0x060000f6!MYOB.Huxley.UI.Framework.Presenter.UIViewFactory.Show(IUIViewPresenter presenter, UIViewType viewType, Boolean showDialog, EntityInfo eInfo, IUIContext context, Boolean visible, BeginNotificationRefreshMethod refreshMethod) +0xa1
   at Huxley.UI.Framework!0x06000116!MYOB.Huxley.UI.Framework.Presenter.UIViewPresenter.ShowUIView(UIViewType uiViewType, EntityInfo entityInfo, BeginNotificationRefreshMethod refreshMethod) +0x4a
   --- End of inner exception stack trace ---
   at Huxley.UI.Framework!0x06000116!MYOB.Huxley.UI.Framework.Presenter.UIViewPresenter.ShowUIView(UIViewType uiViewType, EntityInfo entityInfo, BeginNotificationRefreshMethod refreshMethod) +0xa3
   at Huxley.UI.Forms!0x060017a7!MYOB.Huxley.UI.Forms.Cards.CardsGrid.OnCustomNavigationEvent(UIViewType uiViewType, EntityInfo eInfo, Boolean showAsDialog, BeginNotificationRefreshMethod refreshMethod) +0x0
   at Huxley.UI.Forms!0x0600349a!MYOB.Huxley.UI.Forms.BaseForms.BaseViewContainer.RaiseNavigationEvent(UIViewType uiViewType, EntityInfo eInfo, Boolean showAsDialog, Boolean causeRefresh) +0x33
   at Huxley.UI.Forms!0x060017dd!MYOB.Huxley.UI.Forms.Cards.CardsGrid.LaunchDetail(UICardSummary editCard) +0x3b
   at Huxley.UI.Forms!0x060017b3!MYOB.Huxley.UI.Forms.Cards.CardsGrid.grdvCardsList_DrillDownClicked(Object sender, DrilldownClickedArgs e) +0x16
   at Huxley.UI.Controls!0x0600068e!MYOB.Huxley.UI.Controls.External.ExtGridView.InvokeDrillDownClicked(Object row) +0x21
   at Huxley.UI.Controls!0x060006b2!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!0x06000f02!System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) +0xf2
   at System.Windows.Forms!0x06000f12!System.Windows.Forms.Control.WndProc(Message& m) +0x62c
   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!0x0600573c!System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) +0x0
   at System.Windows.Forms!0x0600573f!System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) +0x8e
   at System.Windows.Forms!0x06002df5!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=2024.11.1.12, Culture=neutral, PublicKeyToken=947f70fecdd4159f; G:288a1dbb991746f0bcc50711b260462a; A:1
MODULE: Huxley.Service.Proxy => Huxley.Service.Proxy, Version=2024.11.1.12, Culture=neutral, PublicKeyToken=947f70fecdd4159f; G:43bb73f49447467eb84c5877879ac7e2; A:1
MODULE: Huxley.UI.Controllers => Huxley.UI.Controllers, Version=2024.11.1.12, Culture=neutral, PublicKeyToken=947f70fecdd4159f; G:50bb00e1fc964ba58f64f37c5cf6c8e8; A:1
MODULE: Huxley.UI.Controls => Huxley.UI.Controls, Version=2024.11.1.12, Culture=neutral, PublicKeyToken=947f70fecdd4159f; G:a4b55694200449668df3d13067f523f9; A:1
MODULE: Huxley.UI.Decorators => Huxley.UI.Decorators, Version=2024.11.1.12, Culture=neutral, PublicKeyToken=947f70fecdd4159f; G:9812d592b9694441986a6e4e4cee44ca; A:1
MODULE: Huxley.UI.Forms => Huxley.UI.Forms, Version=2024.11.1.12, Culture=neutral, PublicKeyToken=947f70fecdd4159f; G:43f42c3a57144a1fa4b81a15dd266ab2; A:1
MODULE: Huxley.UI.Framework => Huxley.UI.Framework, Version=2024.11.1.12, Culture=neutral, PublicKeyToken=947f70fecdd4159f; G:4fe160069a314d99a64fab80a6f96c3d; A:1
MODULE: Huxley.UI.Model => Huxley.UI.Model, Version=2024.11.1.12, Culture=neutral, PublicKeyToken=947f70fecdd4159f; G:48438328486849cab17fc0c7c48d7011; A:1
MODULE: mscorlib => mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089; G:36a465b7216448f38a03670a0aee4776; A:2
MODULE: System.Windows.Forms => System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089; G:d9724af31ab148cd9f226cdd5b3e05d1; A:1

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

2 : MYOB.Huxley.API.HuxleyApplicationException
----------------------------------------
MYOB.Huxley.API.HuxleyApplicationException:  (DataNotUniqueError): More than one EmployeePayrollDetails exists for employeeId = 2291
   at mscorlib!0x06005858!System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) +0x27
   at mscorlib!0x06005863!System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) +0x1b3
   at Huxley.Service.Gateway!0x06001a44!MYOB.Huxley.Service.Gateway.API.IGatewayService.Dispatch(String name, Object[] arguments)
   at Huxley.Service.Proxy!0x0600033d!MYOB.Huxley.Service.Proxy.Services.ProxyCardContainerService.GetContainerObjectByType(IEnumerable`1 objectSetVersions, CardType cardType, Int32 id) +0x0
   at Huxley.UI.Decorators!0x06002b16!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!0x06004126!MYOB.Huxley.UI.Model.Context.CardContext.<>c__DisplayClass7_0.<GetContainerObjectByType>b__0() +0x0
   at Huxley.UI.Model!0x06003b7e!MYOB.Huxley.UI.Model.Context.Base.UIContextContainer`2.InvokeContainerGet(Func`1 getFunction, Boolean force) +0x60
   at Huxley.UI.Model!0x060038da!MYOB.Huxley.UI.Model.Context.CardContext.GetContainerObjectByType(CardType cardType, Int32 id) +0x34
   at Huxley.UI.Controllers!0x06002296!MYOB.Huxley.UI.Controllers.Cards.CardDetailController.GetDataObject() +0x0
   at Huxley.UI.Controllers!0x06001156!MYOB.Huxley.UI.Controllers.Base.BaseControllerBusinessObject`5.get_DataRecord() +0x33
   at Huxley.UI.Forms!0x06001906!MYOB.Huxley.UI.Forms.Cards.DetailContainers.CardDetail.SetupContainer() +0x63
   at Huxley.UI.Forms!0x06003484!MYOB.Huxley.UI.Forms.BaseForms.BaseViewContainer.InitializeContainer(IUIViewPresenter uiPresenter, IController parentController, IUIContext context, EntityInfo eInfo) +0x1e9
   at Huxley.UI.Forms!0x060034e0!MYOB.Huxley.UI.Forms.BaseForms.BaseViewContainer.DynamicContainerLoad(String resourceId, String name, IController controller, IUIContext context, EntityInfo eInfo, Boolean visible) +0x228
   at Huxley.UI.Forms!0x060034dc!MYOB.Huxley.UI.Forms.BaseForms.BaseViewContainer.DynamicContainerLoad(String resourceId, IUIContext context, EntityInfo eInfo) +0xa
   at Huxley.UI.Forms!0x0600310d!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!0x060000f7!MYOB.Huxley.UI.Framework.Presenter.UIViewFactory.GetForm(UIViewType viewType, EntityInfo eInfo, IUIViewPresenter presenter, Boolean showAsModal, BeginNotificationRefreshMethod refreshMethod) +0x88
   at Huxley.UI.Framework!0x060000f6!MYOB.Huxley.UI.Framework.Presenter.UIViewFactory.Show(IUIViewPresenter presenter, UIViewType viewType, Boolean showDialog, EntityInfo eInfo, IUIContext context, Boolean visible, BeginNotificationRefreshMethod refreshMethod) +0xa1
   at Huxley.UI.Framework!0x06000116!MYOB.Huxley.UI.Framework.Presenter.UIViewPresenter.ShowUIView(UIViewType uiViewType, EntityInfo entityInfo, BeginNotificationRefreshMethod refreshMethod) +0x4a
==========
MODULE: Huxley.Service.Gateway => Huxley.Service.Gateway, Version=2024.11.1.12, Culture=neutral, PublicKeyToken=947f70fecdd4159f; G:288a1dbb991746f0bcc50711b260462a; A:1
MODULE: Huxley.Service.Proxy => Huxley.Service.Proxy, Version=2024.11.1.12, Culture=neutral, PublicKeyToken=947f70fecdd4159f; G:43bb73f49447467eb84c5877879ac7e2; A:1
MODULE: Huxley.UI.Controllers => Huxley.UI.Controllers, Version=2024.11.1.12, Culture=neutral, PublicKeyToken=947f70fecdd4159f; G:50bb00e1fc964ba58f64f37c5cf6c8e8; A:1
MODULE: Huxley.UI.Decorators => Huxley.UI.Decorators, Version=2024.11.1.12, Culture=neutral, PublicKeyToken=947f70fecdd4159f; G:9812d592b9694441986a6e4e4cee44ca; A:1
MODULE: Huxley.UI.Forms => Huxley.UI.Forms, Version=2024.11.1.12, Culture=neutral, PublicKeyToken=947f70fecdd4159f; G:43f42c3a57144a1fa4b81a15dd266ab2; A:1
MODULE: Huxley.UI.Framework => Huxley.UI.Framework, Version=2024.11.1.12, Culture=neutral, PublicKeyToken=947f70fecdd4159f; G:4fe160069a314d99a64fab80a6f96c3d; A:1
MODULE: Huxley.UI.Model => Huxley.UI.Model, Version=2024.11.1.12, Culture=neutral, PublicKeyToken=947f70fecdd4159f; G:48438328486849cab17fc0c7c48d7011; A:1
MODULE: mscorlib => mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089; G:36a465b7216448f38a03670a0aee4776; A:2

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

 

 

3 Replies

  • Doreen_P's avatar
    Doreen_P
    MYOB Moderator
    1 year ago

    Hey NH182,

     

    The error you're seeing when opening an employee card occurs when the same employee information gets saved twice. To fix this, a fix script is required. Reach out to our support team directly on Live Chat via our virtual assistant, MOCA, and they'll sort it out for you.

     

    Cheers,

    Doreen

  • NH182's avatar
    NH182
    Experienced Cover User
    1 year ago

    Hi Doreen,

     

    Thank you for your help, much appreciated.

    Cheers,

    Nadine

  • Earl_HD's avatar
    Earl_HD
    MYOB Moderator
    1 year ago

    Hi NH182,

    You're welcome. Feel free to start a new post if you have further queries and one of us will be happy to assist.

    Regards,
    Earl

Looking for something else?

Search the Community Forum for answers or find your topic and get the conversation started!

Community home

Level up your skills using MYOB software.

 

Find help guides and technical solutions for all MYOB products here

Explore video tutorials for our software at the MYOB Academy here

 

Dig into MYOB Academy for free courses, learning paths and live events to help build your business with MYOB.