Alteryx Server Discussions

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

AlteryxEngineCmd.exe return code

tgaborieau
5 - Atom

Hi.

 

I'm using Alteryx Server Version: 2021.1.3.22649 on Windows 2019

Sometimes, when I start a workflow from a batch file, with the command line below i obtain the return code -1073741819 :

 

"c:\Program Files\Alteryx\bin\AlteryxEngineCmd.exe" c:/appli/wkf.yxwz D:\data\alt.xml >> D:\travail\alt1\alteryx\log_wkf.log

set erlvl=%errorlevel%

 

Here, i'm supposed to have only 0, 1 or 2 in erlvl and i manage that with a GOTO. But sometimes erlvl is equal to -1073741819 and my batch fails because it's a case not forseen.

 

I would like to understand this return code. Does someone ever have this issue ? I already checked this post Solved: CReW macro error: "SupportingExes\AlteryxRunner.ex... - Alteryx Community but I don't think it is the same thing.

 

Regards,

Thomas

 

4 REPLIES 4
ChrisK
Alteryx
Alteryx

When it gives that odd return code, are there any warning or error messages?

smaruda
Alteryx
Alteryx

Exit code "-1073741819" in hex is C0000005. 
"A C0000005 error is memory error. Specifically, a C0000005 error is an access violation error caused by a buffer overrun."

https://learn.microsoft.com/en-us/previous-versions/troubleshoot/visualstudio/foxpro/c0000005-error-...

You have to contact Customer Support and ask to post a defect.

 

aphadnis0501
5 - Atom

On the Alteryx server, I can log using service account and execute the workflow. I would like to do the same using command line execution, how can I pass in service account details to the workflow for execution. Service account accesses the SQL Server DB and secured Network path. Thank you. 

keerthychander
5 - Atom

why "AlteryxEngineCmd' is not available in Alteryx bin. I am using free trial for 30days.  I am getting below error:

Start: Designer x64: Started running C:\ProgramData\Alteryx\DataProducts\AddOnData\Macros\JIRA_Connector 8.yxmc at 03/01/2024 23:25:21
Error: Designer x64: The Designer x64 reported: AlteryxProcessManager: Error executing AlteryxCmd
CommandLine: "C:\*****\Alteryx\bin\AlteryxEngineCmd.exe" /Binary \\.\pipe\dc67eb81-0c83-4510-a42c-e85c629c9c51_In \\.\pipe\dc67eb81-0c83-4510-a42c-e85c629c9c51_Out
Windows Error: The system cannot find the file specified. (2)
End: Designer x64: Finished running JIRA_Connector 8.yxmc in 0.1 seconds with 1 error