Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.
Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.

Run Command CScript to run Macro works in designer but not in gallery/server

wonka1234
10 - Fireball

Hi,

 

When I run my runcommand locally it works fine, even in the gallery it runs as "success", however I do not see the change reflected from the CScript / VBS  script when ran on the server.

 

When run locally I see the vbs script actually being executed.

 

Anyone have any advice on it?

 

wonka1234_0-1683209904514.png

 

all the script is doing is opening an excel file, runing a macro and saving it. 

The server does have access to the path where it is stored.

 

2 REPLIES 2
BrandonB
Alteryx
Alteryx

I would take a look at this thread, as it may help with your problem: https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Run-as-command-not-working-wit... 

 

Also, do you know if the Run As user on the Alteryx Server has access to the folder containing CScript on the Server? 

danilang
19 - Altair
19 - Altair

Hi @wonka1234 

 

Another thing to look at is whether Excel is actually installed on the server.  Vbscript commands attempt to launch excel on the server and if excel is not installed the script may not execute. 

 

NOTE:  MS does not recommend running office applications in unattended mode, such as when run on the Alteryx server

 

danilang_0-1683302456891.png

Dan

Labels
Top Solution Authors