This site uses different types of cookies, including analytics and functional cookies (its own and from other sites). To change your cookie settings or find out more, click here. If you continue browsing our website, you accept these cookies.
The following error is thrown when attempting to publish workflows to the gallery:
Tool - 1: Unable to create temp directory lock file: "D:ProgramData\Alteryx\Service\Staging\....\__StageTemp\Engine....~.lock". Error: Access is denied. (5)
The final step in an Insight's journey is it's publication to a company's private Gallery. After publication, an insight can be shared with anyone who has access to the Gallery it is hosted on. This article provides detailed steps on how to publish an insight to a Gallery, and how to share the insight with other users on the Gallery.\n
When publishing a workflow to Gallery with user credentials and you run into the following:
Entering credentials has been disabled
When configuring a new Gallery Data Connection the below error comes up when attempting to test or save the connection:
Credential usage is disabled as a result of encryption configuration. Please contact your server administrator.
You can verify this issue in the AlteryxService logs after a service restart. During the startup you will see a message like the following:
ERROR,8912,AlteryxService,,,,,,,,"AlteryxService_InitLocalEncryptedStorage_Error: Error importing keys to Microsoft\Crypto\RSA\MachineKeys\ directory in ProgramData: Access is denied. (5)"
The Alteryx Service account has insufficient permissions to the server's machine key directory (%ProgramData%\Microsoft\Crypto\RSA\MachineKeys) or specifically the Alteryx Machine Key which is used to encrypt/decrypt user credentials and Gallery data connections.
Check your Service Log On As Account. The user set as the Log On As user (the default is Local System account) will need to have specific permissions.
Run services.msc (CTRL+R, enter services.msc, and click OK)
Locate the Alteryx Service and check the Log On As account
Per the server help documentation, ensure the Service Account has Full Control over %ProgramData%\Microsoft\Crypto\RSA\MachineKeys** **If giving permissions to the full directory is not possible due to security reasons you can give it to just the Alteryx Machine key which starts with "3312". Also allowing Full Control over this machine key may fix the issue of the directory access does not.
After granting permissions to the service account, restart the Alteryx Service