Real Time Service not working in AX 2012 R2

This question has suggested answer(s)

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>

 

All Replies
  • I met  the same problem.

  • I met the same problem, anyone knew the Solution?

  • I am facing the same issue!!!

  • 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.