Updated encrypted database password does not take effect

Database password has been changed and was encrypted successfully by CustomizeDeploy.dll. However, PowerServer still reports Invalid userid/password.

Cause:

  • The encrypted password is incorrect.

  • The database password has changed but applications.json was not updated.

  • The PowerServer API is using a different applications.json than the one you modified (for example, due to an incorrect apprun.json configuration).

  • The application has not been redeployed after updating the configuration.

Solution:

Verify that the running PowerServer API is loading the expected applications.json before troubleshooting the encryption itself.