打开DTW工具的时候,得到下面的错误。

1893489-error-occurred.png

问题描述:
从SLD检索元数据时出错;请重新启动SLD或检查SLD日志
(Error occurred while retrieving metadata from SLD;please restart SLD or check the SLD log)

问题原因:
Please note that as of SAP Business One version 9.3 PL07, DTW Logon is based on SLD.
For both the On Premise (OP) and On Cloud/ On Demand (OD) environment, DTW is not displaying all Server Types and letting you input Server, but rather, it is automatically displaying the registered Server Type, Server List and Company List from the SLD address.
Since the DTW makes use of the DI API and DI API config file (C:\Program Files\SAP\SAP Business One DI API\Conf) might not be having the correct SLD address maintained, you will be having the error message as: "Error occurred while retrieving metadata from SLD; please restart SLD or check the SLD log".
Once you will correct the SLD Address in the DI API config file, the issue will be resolved.

请注意,从SAP Business One版本9.3 PL07开始,DTW Logon基于SLD。
对于内部部署(OP)和云/按需(OD)环境,DTW不会显示所有服务器类型并允许您输入服务器,而是自动显示来自SLD地址的注册服务器类型、服务器列表和公司列表。
由于DTW使用DI API,DI API配置文件(C:\Program Files\SAP\SAP Business One DI API\Conf)可能没有维护正确的SLD地址,因此您将看到以下错误消息:“从SLD检索元数据时出错;请重新启动SLD或检查SLD日志”。
在DI API配置文件中更正SLD地址后,问题将得到解决

解决方案:
To correct the SLD Address in the DI API config file, you can copy the file b1-local-machine.xml:
from C:\Program Files\SAP\SAP Business One\Conf\ to C:\Program Files\SAP\SAP Business One DI API\Conf\b1-local-machine.xml,overwriting the existing file.
DTW logon behavior is documented in SAP Note 2677918.

要更正DI API配置文件中的SLD地址,可以复制文件b1-local-machine.xml:
从C:\Program Files\SAP\SAP Business One\Conf\到C:\Program Files\SAP\SAP Business One DI API\Conf\b1-local-machine.xml,覆盖现有文件。
DTW登录行为记录在SAP Note中 2677918.

发表评论