Alteryx Server Knowledge Base

Definitive answers from Server experts.

Error: Unable to create temp directory lock file

MariaW
Alteryx
Alteryx
Created

Issue

The following error is thrown when attempting to publish workflows from Designer to gallery:

Tool - 1: Unable to create temp directory lock file: "%ProgramData%\Alteryx\Service\Staging\...\__StageTemp\Engine...~.lock". 
Error: Access is denied. (5)

image.png

Environment Details

  • Alteryx Designer
    • Any
  • Alteryx Server
    • Any


Cause

This error will occur if the user that is being used to run the workflow does not have the necessary permissions to the staging folder. 

Resolution

The staging folder specified under System Settings > Worker > General > Workspace contains temporary files, such as unpackaged workflows, or other files used to execute workflows. The user that is being used to run the workflow (this can vary depending on if a Run As user is specified or if workflow credentials are being used) needs to have the below permissions to this folder and all subfolders. 

  • Location: %ProgramData%\Alteryx\Service\Staging
  • Permissions: Modify, Read & Execute, List Folder Contents, Read, Write
 ​​​​​

Additional Resources

No ratings