简体   繁体   English

BizTalk 2020 SFTP 产生与 WinSCP 相关的错误

[英]BizTalk 2020 SFTP producing errors relating to WinSCP

Appreciate any info or pointers that anybody might have.感谢任何人可能拥有的任何信息或指针。

I am running BizTalk 2020, attempting to set up my first SFTP send port to send a flat file to an SFTP server, using username & password authentication.我正在运行 BizTalk 2020,尝试设置我的第一个 SFTP 发送端口,以使用用户名和密码身份验证将平面文件发送到 SFTP 服务器。

When the port is active and a file is placed in the relevant receive location, BizTalk attempts to send the file but produces an error that relates it seems to WinSCP:当端口处于活动状态并且文件放置在相关的接收位置时,BizTalk 会尝试发送文件,但会产生与 WinSCP 相关的错误:

The adapter failed to transmit message going to send port " XYZ " with URL " XYZ %MessageID%.csv".适配器无法传输要发送带有 URL“ XYZ %MessageID%.csv”的端口“ XYZ ”的消息。 It will be retransmitted after the retry interval specified for this Send Port.它将在为此发送端口指定的重试间隔后重新传输。 Details:"System.MissingMethodException: Method not found: 'Void WinSCP.SessionOptions.set_SshHostKeyPolicy(WinSCP.SshHostKeyPolicy)'.详细信息:“System.MissingMethodException:找不到方法:'Void WinSCP.SessionOptions.set_SshHostKeyPolicy(WinSCP.SshHostKeyPolicy)'。

WinSCP version installed is v15.9.6.安装的 WinSCP 版本是 v15.9.6。

Any ideas as to what would produce this error?关于什么会产生这个错误的任何想法? How would I set an Ssh host key policy?我将如何设置 SSH 主机密钥策略?

The version of WinSCP used by BizTalk 2020 depends on the Cumulative Update you have installed. BizTalk 2020 使用的 WinSCP 版本取决于您安装的累积更新

  • CU 1 = v5.17.6 CU 1 = v5.17.6
  • CU 2 = v5.17.6 CU 2 = v5.17.6
  • CU 3 = v5.19.2 CU 3 = v5.19.2

None of them use v15.9.6, although you could try a assembly re-direct to force it to use that version, but you will have to do some testing to ensure that doesn't introduce any issues.他们都没有使用 v15.9.6,尽管您可以尝试重新定向程序集以强制它使用该版本,但您必须进行一些测试以确保不会引入任何问题。

In earlier version of BizTalk you had to manually upgrade the WinSCP DLL in the BizTalk runtime folder as per BizTalk 2016 CU5 gotcha: upgrade WinSCP to v5.13.1 , it is unclear from the CU documentation for BizTalk 2020 if it requires the same steps.在早期版本的 BizTalk 中,您必须根据BizTalk 2016 CU5 陷阱手动升级 BizTalk 运行时文件夹中的 WinSCP DLL:将 WinSCP 升级到 v5.13.1 ,从 BizTalk 2020 的 CU 文档中不清楚它是否需要相同的步骤。

已解决 - 在发送端口,接受任何 ssh 服务器主机密钥 = 否,然后输入目标服务器的 MD5 格式主机密钥指纹。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM