Behavior:
The credentials for the database have been changed and Authentication Server will no longer start.
Solution:
Starting in version 6.10, the database connection used by Authentication Server is stored in C:\ProgramData\DocuWare\ServerConfig\dwmachine.config. If you update the password here directly, it will not be encrypted automatically when Authentication Server starts.
DocuWare ships with a command line utility that will encrypt the password before writing it to the dwmachine.config file.
- Take a backup of the dwmachine.config file in C:\ProgramData\DocuWare\ServerConfig.
- Open a command prompt as administrator.
- Paste and run the following command:
Version 6.10 - 7.1:
"C:\Program Files (x86)\Docuware\Setup Components\DocuWare.ServerSetupCMD.exe"
configureDatabaseConnection --databaseType=MSSQL --databaseServer=localhost --databasePort=1433 --databaseUser=admin --databasePassword=admin --databaseName=dwsystem
Version 7.2 - 7.4:
"C:\Program Files (x86)\Docuware\Setup Components\DocuWare.Setup.Server.CMD.exe"
configureDatabaseConnection --databaseType=MSSQL --databaseServer=localhost --databasePort=1433 --databaseUser=admin --databasePassword=admin --databaseName=dwsystem
***Make sure you modify these variables to match your environment before running the command!***
- Stop all DocuWare services.
- Start Internal Database and Authentication Server.
- Change connections for database connections in the DocuWare Administration Tool under DocuWare System->Data Connections->Database Connections.
- Start the rest of the DocuWare services.
KBA is applicable for On-premise Organizations ONLY