BiztalkDev
BiztalkDev

Reputation: 11

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.

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:

The adapter failed to transmit message going to send port "XYZ" with URL "XYZ%MessageID%.csv". 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)'.

WinSCP version installed is v15.9.6.

Any ideas as to what would produce this error? How would I set an Ssh host key policy?

Upvotes: 0

Views: 1967

Answers (2)

BiztalkDev
BiztalkDev

Reputation: 11

Resolved - in the send port, accept any ssh server host key = no, then entered the MD5 format host key fingerprint of the destination server.

Upvotes: 1

Dijkgraaf
Dijkgraaf

Reputation: 11527

The version of WinSCP used by BizTalk 2020 depends on the Cumulative Update you have installed.

  • CU 1 = v5.17.6
  • CU 2 = v5.17.6
  • 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.

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.

Upvotes: 1

Related Questions