我正在尝试配置 AX 2012 R2,实时服务(不是 Web 服务),但在来自 POS 的库存查找请求期间,它在 POS 处出现错误
错误号:13010 无法连接到交易服务,
我检查了事件日志,其中显示了以下详细信息:
LSRetailPosis.TransactionServices.InvokeMethod:System.ServiceModel.ProtocolException:您试图创建一个不支持.Net 框架的服务的通道。---> System.IO.InvalidDataException:预期的记录类型“PreambleAck”,找到“46”。
以下是我的零售总部设置:
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:
- 下面是事务服务配置文件设置:
<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="" />
<supportedRuntime version="v4.0" />
<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>