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.
If a Server is freezing with jobs stuck in an initializing state, there may be resource contention occurring due to the configuration of System Settings. This article provides best practice formulas to ensure the optimal settings for resource utilization.
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