Error message "Section or group name 'system.webServer' is already defined" appears when running the Orchestrator encryption command.
Symptom Description:
When attempting to run the Orchestrator encryption command, an error message is displayed indicating that the section or group name 'system.webServer' is already defined.
Root Cause Verification:
- Multiple
system.webServer
Sections inweb.config
:- Check the
web.config
file for duplicatesystem.webServer
sections.
- Check the
system.webServer
Sections inUiPath.Orchestrator.dll.config
:- Check the
UiPath.Orchestrator.dll.config
file for anysystem.webServer
sections.
- Check the
Resolution:
-
Merge Sections in
web.config
:- Open the
web.config
file - Locate all instances of the
system.webServer
section - Combine the contents of all
system.webServer
sections into a single section - Save the
web.config
file.
- Open the
-
Delete Sections in
UiPath.Orchestrator.dll.config
:- Open the
UiPath.Orchestrator.dll.config
file - Locate and delete any
system.webServer
sections - Save the
UiPath.Orchestrator.dll.config
file.
- Open the