SBX - Search With Button

SBX - Forum Post Title

Error Number 3213: There was an error in the transaction service

Microsoft Dynamics AX Forum

vinod Bhandari asked a question on 17 May 2018 7:08 AM
My Badges

Question Status

Unanswered

Hi All,

We are trying to search the transaction details in the retail POS by doing following operation.

Home -> Transaction -> show Journal -> search and we are searching the transaction with different parameter as start date, end date, store, operator ID etc. System throws "Error Number 3213: There was an error in the transaction service" error when we perform search operation.

We have checked event logs on POS machine and we can find below two event logs that logged on machine each time we perform the search operation.

Event Details:

Log Name: Application
Source: Microsoft Dynamics AX Retail : Retail POS
Date: 5/17/2018 1:31:52 PM
Event ID: 1
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer:
Description:
Microsoft.Dynamics.Retail.Pos.Dialog.WinFormsTouch.frmJournal, Text: Show journal: System.ServiceModel.FaultException`1[Microsoft.Dynamics.Retail.TransactionServices.ClientProxy.TrackedFault]: External component has thrown an exception. (Fault Detail is equal to Microsoft.Dynamics.Retail.TransactionServices.ClientProxy.TrackedFault)..

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

Description:
Microsoft.Dynamics.Retail.Pos.Dialog.WinFormsTouch.frmJournal, Text: Show journal: LSRetailPosis.TransactionServiceException: TS InvokeMethod threw FaultException<TrackedFault>: SearchOrderList(). TrackedFault: External component has thrown an exception. ---> System.ServiceModel.FaultException`1[Microsoft.Dynamics.Retail.TransactionServices.ClientProxy.TrackedFault]: External component has thrown an exception.

Server stack trace:
at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)

Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at Microsoft.Dynamics.Retail.TransactionServices.ClientProxy.ITransactionService.InvokeMethod(RequestInfo requestInfo, String methodName, Object[] parameters)
at LSRetailPosis.TransactionServices.InvokeMethod(Nullable`1 timeout, String methodName, Object[] parameters, Int32[] parametersLength, Func`1 getClient)
--- End of inner exception stack trace ---
at LSRetailPosis.TransactionServices.InvokeMethod(Nullable`1 timeout, String methodName, Object[] parameters, Int32[] parametersLength, Func`1 getClient)
at LSRetailPosis.TransactionServices.Invoke(Nullable`1 timeout, String methodName, TransactionServiceClientEnum transactionServiceClient, Int32[] parameterLength, Object[] parameters)
at LSRetailPosis.TransactionServices.Invoke(String methodName, Int32[] parameterLength, Object[] parameters)
at Microsoft.Dynamics.Retail.Pos.Dialog.WinFormsTouch.frmJournal.SearchOrdersInAx(SalesOrderSearchCriteria criteria)
at Microsoft.Dynamics.Retail.Pos.Dialog.WinFormsTouch.frmJournal.GetSearchResults()
at Microsoft.Dynamics.Retail.Pos.Dialog.WinFormsTouch.frmJournal.btnSearch_Click(Object sender, EventArgs e).

Please suggest how we can resolve the error..

Regards,

Vinod Bhandari

Reply
Oksana Kovaliova responded on 21 May 2018 6:38 AM
My Badges

Hi Vinod,

Unfortunately your error does not tell any details about what is wrong. Try to search some more errors in log and post here. 

One question: does this error appear quickly or you wait like 0.5-1 minute while search is executed? If you wait long, it can be that AX found a lot of transactions suitable for your criteria - and cannot return them in time OR package with data is too big (Real-time service has package size limits in web.config file) 

Reply
naveen123bpet responded on 10 Sep 2018 5:34 AM

Hi Vinod,

It seems like real time service is down. validate the RTS URL from POS machine and try it out.

Reply

SBX - Two Col Forum

SBX - Migrated JS