4

I have a package which downloads files from FTP using WinSCP which runs perfectly when I execute it locally. But we are facing issues when we run from the deployed version from SSIS DB Catalog. GAC registration already done for the .dll file.

Below is the error that we are getting.

enter image description here

UPDATE

enter image description here

Prakazz
  • 321
  • 5
  • 16

1 Answers1

5

Quoting documentation on Installing the WinSCP .NET assembly:

Installing

The package includes the assembly itself (winscpnet.dll) and a required dependency, WinSCP executable winscp.exe.

The binaries interact with each other and must be kept in the same folder for the assembly to work. In rare situations this is not possible (e.g. when installing the assembly to GAC), make use of the Session.ExecutablePath property to force the assembly to look for the winscp.exe in a different location.

Community
  • 1
  • 1
Martin Prikryl
  • 147,050
  • 42
  • 335
  • 704