Alteryx Server Discussions

Find answers, ask questions, and share expertise about Alteryx Server.

Getting Failed to run external program "%temp%\RunCommand.ps1": %1 is not a valid Win32 ap

psubramanian
7 - Meteor

Hi,

I am trying to build this workflow in which a PowerShell script is trying to merge two excel. I am facing this error on both of my machine and server. Can someone help me to figure out what this is?

 

Failed to run external program "%temp%\RunCommand.ps1": %1 is not a valid Win32 application. (193)

 

 - local machine

psubramanian_0-1667240346872.png

 

- server

psubramanian_1-1667240362896.png

3 REPLIES 3
Ariharan
11 - Bolide

Hi @psubramanian , 

 

While publishing the workflow to the Gallery, make sure to go into Manage Assets and uncheck all the assets. Then run it in the Gallery and let me know what happens.

Ariharan_0-1667248825541.png

 

If this helps and please mark it as a solution.


Regards,

Ariharan R

psubramanian
7 - Meteor

Hi @Ariharan ,

As a matter of fact, they are all disabled. I am not sure if this is due to my PowerShell script or is there anything that needs to be enabled on the server for this to run.

psubramanian_0-1667249419697.png

 

Ariharan
11 - Bolide

Hi @psubramanian , 

 

Thanks for the confirmation. Then you can check this via looking at the workflow dependencies:

 

https://community.alteryx.com/t5/Alteryx-Server-Knowledge-Base/Workflow-Dependencies/ta-p/49696

 

This might be one of the reasons why you are getting the error.

 

Regards, 

Ariharan R