Password Server Web UI - The encryption file is missing, please contact your administrator.
Hi,
I'm in a trial with Password server and just finished installing the server.
Everything went fine until I try to open the web interface.
The error : The encryption file is missing, please contact your administrator.
I've generated the encryption file and saved it to a folder.
Has anyone already seen this issue ?
There is no error in the Server console.
Thanks for your help.
Sebastien

Capture d’écran 2020-10-14 203223.png
Capture d’écran 2020-10-14 203101.png
Hi Sebastien,
It looks like an access issue,
can you check if the account running the website has the read access on the file encryption.config,
it should be in the folder App_Data from the installation folder?
Regards,
David
David Savard
Hi David,
I've removed my DPS instance and recreated it without using integreted security in Database option of the instance and now I have the login window.
But.. When typing my admin user and password the "loading circle" briefly appears and disappears. No error message I'm still at the login prompt.
When typing a wrong password DPS said authentication failed. The connection to the database seems ok this time, but the web site has still a problem.
Can you help me again ?
Thanks
Sebastien
Hi Sebastien,
What permissions have you granted to the SQL login account used in the Database tab of the DPS settings? Does it has enough privileges to properly manage the database?
Best regards,
Érica Poirier
Hi Erica.
Thanks for your answer.
There are 3 accounts in this tab.
Management Tools is db_owner
Scheduler Service is data_reader
Web Application is data_reader too
I think the last two needs to be data_writer too ?
I'll try it later.
Kind regards.
Sébastien
Hello,
Ok by adding data_writer to the two accounts does the trick.
I'll continue my tests.
Thanks.
Sébastien
Hello,
Thank you for your feedback.
Indeed granting data_writer works to run the application. But during an update of the DPS instance, it may fail to update the database schema. The following article provides information about accounts that can be created to run DPS.
https://kb.devolutions.net/dps_pre_deployment_account_survey.html
It is even possible to grant specific permissions on the tables for these accounts. If you are interested, let us know and we will provide a SQL statement.
Best regards,
Érica Poirier