web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Real Time Service not working in AX 2012 R2

(0) ShareShare
ReportReport
Posted on by 865

I am trying to configure AX 2012 R2, Real time service (not the web service)  but during inventory lookup request from POS, it gives an error at POS
error number: 13010 could not connect to the transaction service,
I've checked the event log, which shows the below details:
LSRetailPosis.TransactionServices.InvokeMethod: System.ServiceModel.ProtocolException: You have tried to create a channel to a service that does not support .Net Framing.  ---> System.IO.InvalidDataException: Expected record type 'PreambleAck', found '46'.
Below are my retail headquarter settings:
                1. Firewall is completely off.
                2. RTS conguration:
                                Server:AX12-Test
                                Port:1239
                                Protocol:net.tcp
                                Passphrase: i have tried all possbile passphrases.
                                language: en-us
                                Realtime service  version:  AX 2012 R2
                3. Service is listening on the 1239 port number.
                4. As soon as i click inventory lookup atp pos error appears:  error number: 13010 could not connect to the transaction service,
                5. then i looked into the eventlog which showed the following error:
6. Below is the transaction service configuration file setting:
<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <appSettings>
    <add key="Port" value="1239" />
    <add key="UseAX" value="1" />
    <!--AOSINSTANCE@AOSSERVER:AOSPORT-->
    <add key="ObjectServer" value="MicrosoftDynamicsAX@AX12-Test:2712" />
    <!-- When both IPV4 and IPV6 are available, set to true to use IPV6. Default value is false. -->
    <add key="PreferIPV6" value="false" />
    <add key="RetailTransactionServiceAX61" value="RetailTransactionServiceAX61" />
    <add key="ClientSettingsProvider.ServiceUri" value="" />
  </appSettings>
  <startup useLegacyV2RuntimeActivationPolicy="true">
    <supportedRuntime version="v4.0" />
  </startup>
  <system.diagnostics>
    <sources>
      <!-- this registers the listener with traces from a specific source -->
      <source name="TransactionServiceTracer" switchValue="Error">
        <listeners>
          <add name="xmlListener" type="TransactionServicesLib.EnvironmentVariableXmlTraceListener, TransactionServicesLib, Version=6.2.0.0, Culture=neutral, processorArchitecture=MSIL" initializeData="%AppData%\RetailTransactionService.svclog" traceOutputOptions="ProcessId, ThreadId, Timestamp" />
          <remove name="Default" />
        </listeners>
      </source>
    </sources>
  </system.diagnostics>
</configuration>
 

*This post is locked for comments

I have the same question (0)
  • Community Member Profile Picture
    on at

    I met  the same problem.

  • asif.sanaullah Profile Picture
    470 on at

    I met the same problem, anyone knew the Solution?

  • Muhammad Harris Profile Picture
    51 on at

    I am facing the same issue!!!

  • Suggested answer
    Community Member Profile Picture
    on at

    I wrote a blog on this. Check blog.wilbrink-erpconsultancy.nl. Be sure that the AOS configuration and the port connections in AX2012, IIS and the configuration file are equal. In the standard instance port 808.

  • Suggested answer
    Community Member Profile Picture
    on at

    Hi

    I have seen this as well

    I am working on a AX2012 R2 CU6, I found that when I had configured my AOS connection in the registry and connect with the above value for the Object server empty, everything worked

    When I add the value for the object server the RTS failed

    For now I just leave the value empty and let the default setting for the BC be the one the RTS uses

  • sathik basha syed anvar basha Profile Picture
    on at

    I encounter the same problem.  

    I google a lot could not find the problem. Finally I find the cause of it.

    In my case the problem was from the certificates.  

    I installed two certificates in the one ‘Common name’

    So, I removed the incorrect certificate and restart the web site ‘CommerceDataExchangeRealtimeServiceWebsite’  in the IIS.  Then it’s started working.

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

    Here are the Steps

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

    To find the Duplicate certificates please follow the steps

    Start -> Run -> mmc -> Enter

    This will open the ‘Console Root’ window

    Then Click –File -> Add or remove snap in->

    Select  â€˜Certificates’ then click Add -> computer account -> Next -> Finish

    Click OK to open the ‘Certificates’ Window

    Expand the Certificate tree - > Personal -> Certificates

    There should only be two certificates One from Default and other is added for Dynamics SSL.

    You can cross check it with IIS -> Certificates

    Remove the Duplicates which has common name. (to know the ‘common name’ Double click on the certificate and go to Details -> Subject

    CN = tempCerti

    If your certificates has the same common name then It will lead to the above Error

    Expand ‘Trusted Root Certification Authorities’ -> Certificates

    Follow the same step to find the duplication and remove the unnecessary

    Once Done  Restart the website under  â€˜CommerceDataExchangeRealtimeServiceWebsite’  

    Exit the POS application and open it.

    Check the Transaction Services by Inventory Lookup or Return transaction.

  • Community Member Profile Picture
    on at

    Hi

    I faced the same issue and the problem was with the port number used by RTS service.

    Below are the steps:

    Stop Real time service

    Update the net.tcp port number from 808 to 811

    reset IIS (iisreset command in command prompt)

    Update the port number in AX --> Real time service profile

    push N-1090 & N-1110 job

    start Real time service

    re-start Retail POS

    Then the RTS started functioning.

    Regards / Joseph Joy

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans