How can Orchestrator database password be reset so that Orchestrator and the Orchestrator database be reconnected ?
To update the Orchestrator database with updated password either update
- using IIS or
- using web.config .
Approach #1: Update from IIS Manager
Steps to modify connection string for UiPath Orchestrator in IIS manager:
- Open IIS Manager and navigate to the UiPath Orchestrator website
- In Features View, double-click Connection Strings.
- On the Connection Strings page, select the connection string that you want to change
- In the Actions pane, click Edit.
- In the Edit Connection String dialog box, Update the password, and then click OK and restart IIS
- Use the below format for the SQL connection
- Data Source=sqlserver.com;Initial Catalog=UiPath;User ID=admin;Password=βββββββββββ
Note: By updating connection string in IIS manager , that will be reflected in Orchestrator's web.config .
Approach # 2: Update from web.config
- Go to C:\Program Files (x86)\UiPath\Orchestrator in Orchestrator server and open web.config using Notepad or any editor
- Press Ctrl + F and search connectionStrings . Update the password in the same and restart IIS.
- Make sure no Robot is running while making above changes.
Note: In this approach, usually the password is saved in text format in web.config unless encrypted using Encrypting UiPath.Orchestrator.dll.config Sections
As the password in the web.config is shown as clear text, leading to security concerns, Approach #1 is feasible.
As the password in the web.config is shown as clear text, leading to security concerns, Approach #1 is feasible.