Skip to main content



No record found.

Microsoft Dynamics AX forum
Suggested answer

EPOS throwing error while taking payment via pay cash or pay card

Posted on by 5

Hi All,

We are facing an Error 1300 in Microsoft Dynamics AX 2012 EPOS, while trying to take Payments via Pay Cash or Pay card in normal sale transaction. When we checked event viewer for error the following error has been shown

LSRetailPosis.POSProcesses.POSProcessThread: System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'System.ComponentModel.Composition.ReflectionModel.DisposableReflectionComposablePart'.
at System.ComponentModel.Composition.ReflectionModel.DisposableReflectionComposablePart.EnsureRunning()
at System.ComponentModel.Composition.ReflectionModel.ReflectionComposablePart.System.ComponentModel.Composition.Primitives.ICompositionElement.get_Origin()
at System.ComponentModel.Composition.CompositionException.WriteElementGraph(StringBuilder writer, ICompositionElement element)
at System.ComponentModel.Composition.CompositionException.WriteError(StringBuilder writer, CompositionError error)
at System.ComponentModel.Composition.CompositionException.WritePath(StringBuilder writer, IEnumerable`1 path, Int32 ordinal)
at System.ComponentModel.Composition.CompositionException.WritePaths(StringBuilder writer, IEnumerable`1 paths)
at System.ComponentModel.Composition.CompositionException.BuildDefaultMessage()
at System.ComponentModel.Composition.CompositionException.get_Message()
at System.Exception.ToString(Boolean needFileLineInfo, Boolean needMessage)
at System.Exception.ToString()
at LSRetailPosis.ApplicationExceptionHandler.HandleException(String source, Exception exception)
at LSRetailPosis.POSProcesses.PayCash.Execute()
at LSRetailPosis.POSProcesses.Operation.RunOperation()
at LSRetailPosis.POSProcesses.POSProcessThread.ThreadProc().

Can anyone help how to resolve this? The surprising thing is we have taken DLL from live stores and replaced in Test EPOS, then there is no issue, the moment we build Interactions project in EPOS SDK and replace new DLL then the issue is coming again. Urgent response will be much appreciated. Thanks. Deb

  • Suggested answer
    Ramune Profile Picture
    Ramune on at
    RE: EPOS throwing error while taking payment via pay cash or pay card

    Hi Dev Bardhan,

    I will leave this for the community to answer. Let's see if anybody has experienced the same and can advise for you anything.

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .


André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 287,773 Super User

Martin Dráb Profile Picture

Martin Dráb 225,513 Super User

nmaenpaa Profile Picture

nmaenpaa 101,148


Featured topics

Product updates

Dynamics 365 release plans