I am trying to confgure AX 2012 R2, Real time service (not the web service) and followed the below steps:
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:
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'.
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>