The process exit code was "1" while the expected was "0"

Advertisement

mjninc
Joined:
Posts:
1

The process exit code was "1" while the expected was "0"

Hello,
Question: What do I need to do to make this work?

I have an SSIS Execute Process task that runs a .txt file, which then runs a PowerShell script of what WinSCP generates for an SFTP file transfer. See attached.

What I've done. I've ensured the agent running the task has rights to the correct locations and I've uninstalled and re-installed WinSCP.

I have the log file, but I only want to post what's relevant. What part of the log file is relevant to post? It's 860 lines long.

This setup works on a dev box, but not a different box. The script is generated by WinSCP.
  • Error.png (115.93 KB, Private file)
Description: This shows the task and the error.

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,442
Location:
Prague, Czechia

Re: The process exit code was "1" while the expected was "0"

It's your PowerShell script that is failing. So I do not see, what does this have to do with your WinSCP.exe process.

Reply with quote

Guest

Re: The process exit code was "1" while the expected was "0"

Thanks for the good customer service in replying. You are correct, it was not WinSCP.

Reply with quote

Advertisement

You can post new topics in this forum