Forum Discussion

heirloom's avatar
heirloom
Experienced Cover User
5 years ago
Solved

exporting sales error - an item with the same key has already been added

Hi I am trying to export item sales and keep getting the following message

 

Application Version: 2021.1.24.2833
Application File Version: 2021.1.24.3611
Incident Id: 51ce0a4c-cfb6-473c-81d5-0bb1a16dc48e
Time: Thursday, 22 April 2021 2:15:32 PM

Code:
System.ArgumentException


Message:
An item with the same key has already been added.


Stack Trace
----------------------------------------
1 : System.ArgumentException
----------------------------------------
System.ArgumentException: An item with the same key has already been added.
at mscorlib!0x0600572c!System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) +0x27
at mscorlib!0x06005737!System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) +0x1b3
at Huxley.Service.Gateway!0x060019a9!MYOB.Huxley.Service.Gateway.API.IGatewayService.Dispatch(String name, Object[] arguments)
at Huxley.Service.Proxy!0x0600186d!MYOB.Huxley.Service.Proxy.Services.ProxySalePresentationExportService.GetItems(Object[] criterias) +0x0
at Huxley.ApplicationServices!0x06000448!MYOB.Huxley.ApplicationServices.ImportExport.Export.ExportService`2.GetItems(Object[] criterias) +0x0
at Huxley.ApplicationServices!0x0600043e!MYOB.Huxley.ApplicationServices.ImportExport.Export.ExportService`2.ExportData(String dataFormat, IEnumerable`1 mappings, Object[] parameters, Object[] criterias, String filename, IList`1 fields) +0x14
at Huxley.Services!0x06001483!MYOB.Huxley.Services.Core.ImportExport.ImportExportHelperService.ExportFile(ImportExportSubTypes type, String filename, String format, Boolean firstLineIsHeader, IList`1 fields, IExportCriteria expCriterias) +0x340
at Huxley.UI.Decorators!0x06001148!MYOB.Huxley.UI.Decorators.Services.DecoratorServiceMYOBHuxleyAPIServicesHelpersImportExportServiceIImportExportHelperService.MYOB.Huxley.API.Services.Helpers.ImportExportService.IImportExportHelperService.ExportFile(ImportExportSubTypes type, String filename, String format, Boolean firstLineIsHeader, IList`1 exportFields, IExportCriteria exportCriteria) +0x60
at Huxley.UI.Controllers!0x0600247e!MYOB.Huxley.UI.Controllers.ImportExport.ImportExportController.ExportFile() +0xa8
at Huxley.UI.Forms!0x06001ac8!MYOB.Huxley.UI.Forms.ImportExportWizard.ExportEntityProgress.PerformExport(IEnumerable`1 objects) +0x17
at Huxley.UI.Forms!0x06002f84!MYOB.Huxley.UI.Forms.BaseForms.BaseViewContainer.PerformAction(MethodToExecute methodToPerform, IEnumerable`1 uiEntities) +0x1c
at Huxley.UI.Forms!0x06001ac9!MYOB.Huxley.UI.Forms.ImportExportWizard.ExportEntityProgress.DoExport() +0x12
at mscorlib!0x06003bff!System.Threading.ThreadHelper.ThreadStart_Context(Object state) +0x14
at mscorlib!0x06003af0!System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) +0x79
at mscorlib!0x06003aef!System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) +0x0
at mscorlib!0x06003aee!System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) +0x2b
at mscorlib!0x06003c01!System.Threading.ThreadHelper.ThreadStart() +0x8
==========
MODULE: Huxley.ApplicationServices => Huxley.ApplicationServices, Version=2021.1.24.2833, Culture=neutral, PublicKeyToken=947f70fecdd4159f; G:2eaf2a0cde244208a6046b37319e5fd9; A:1
MODULE: Huxley.Service.Gateway => Huxley.Service.Gateway, Version=2021.1.24.2833, Culture=neutral, PublicKeyToken=947f70fecdd4159f; G:8720a7f17eda4742836a8f1c1864c695; A:1
MODULE: Huxley.Service.Proxy => Huxley.Service.Proxy, Version=2021.1.24.2833, Culture=neutral, PublicKeyToken=947f70fecdd4159f; G:ee03375ba02a4573aa6024b7c4452be2; A:1
MODULE: Huxley.Services => Huxley.Services, Version=2021.1.24.2833, Culture=neutral, PublicKeyToken=947f70fecdd4159f; G:c6110a63951943b88c85e45fe2115055; A:1
MODULE: Huxley.UI.Controllers => Huxley.UI.Controllers, Version=2021.1.24.2833, Culture=neutral, PublicKeyToken=947f70fecdd4159f; G:714d7a7f13734ef9bbb18516b9a03bc8; A:1
MODULE: Huxley.UI.Decorators => Huxley.UI.Decorators, Version=2021.1.24.2833, Culture=neutral, PublicKeyToken=947f70fecdd4159f; G:d5cef41fe0a84bb9a6bf8fca319dc98f; A:1
MODULE: Huxley.UI.Forms => Huxley.UI.Forms, Version=2021.1.24.2833, Culture=neutral, PublicKeyToken=947f70fecdd4159f; G:b3756c286e8e409b9e25696185e65da5; A:1
MODULE: mscorlib => mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089; G:c5a45f9081474038bb8a2f1441c7a2d0; A:2

 

is anyone able to help or advise how i am to repair my file

  • Hi heirloom 

     

    If your file is online, we can run some scripts to fix this issue. So we can organize that, send us your serial number and company file name by Private Message.

4 Replies

Replies have been turned off for this discussion
  • Hi heirloom 

     

    If your file is online, we can run some scripts to fix this issue. So we can organize that, send us your serial number and company file name by Private Message.

  • heirloom's avatar
    heirloom
    Experienced Cover User
    5 years ago

    Just wondering if anyone is able to do this before Monday?? - as i need the report for a monday meeting

  • heirloom's avatar
    heirloom
    Experienced Cover User
    5 years ago

    Heirloom Vineyards serial number 61**********

     

    Edited by moderator^

  • Komal_S's avatar
    Komal_S
    MYOB Staff
    5 years ago

    Hi heirloom 


    I've responded to your private message regarding this issue. Feel free to reach out if you have further questions on this.