the specified executable is not a valid application for this OS platform

Advertisement

seanfaria
Joined:
Posts:
6
Location:
Miami

the specified executable is not a valid application for this OS platform

Exception calling "Open" with "1" argument(s): "The specified executable is not a valid application for this OS platform."
At line:1 char:12
+ $session.Open($sessionOptions)
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [], MethodInvocationException
+ FullyQualifiedErrorId : Win32Exception
Could you please advise on why I would receive this error?

Reply with quote E-mail

Advertisement

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

Re: the specified executable is not a valid application for this OS platform

And what is your "OS platform"?

Please attach a full debug log file showing the problem (using the latest version of WinSCP).

To generate the debug log file, set Session.DebugLogPath. Submit the log with your post as an attachment. If you do not want to post the log publicly, you can mark the attachment as private.

Reply with quote

seanfaria

Solved -- Re: the specified executable is not a valid application for this OS platform

I figured it out. This happened because I did not specify the executable path.

Thank you for your help!!

Reply with quote E-mail

Advertisement

Advertisement

You can post new topics in this forum