Failed To Resolve The Site ID for UiPath Orchestrator When Encrypting Config File

Encrypt connection string in Orchestrator.dll.config file.

Issue Description: Unable to encrypt the connection string details in Orchestrator.dll.config. When running the command, error : Failed to resolve the site ID for 'UiPath Orchestrator' is thrown.

Error Message:

1.png


Resolution:

  1. Go to IIS \ Sites \ UiPath Orchestrator \ Advanced Settings and verify the ID
  2. If the site ID is set to 0 then the encryption command will not be able to resolve the verification.

Example:


  1. If 0 is allocated to the UiPath Orchestrator site ID, then allocate a different ID
  2. Note that after changing the ID, the site will stop and it is required to manually start it back. Also, doing this during the working hours when the Robots run automations may affect the processes and it is recommended to do it during a maintenance window outside the working hours.