500.19 Error On Orchestrator Login Page: Cannot Add Duplicate Collection Of Type "type"

When attempting to Login a 500.19 error appears: Cannot add duplicate collection of type "type"

When trying to access the login page an error is displayed.

Server error in '/ 'Application
 

Root Cause: The web.config file contains duplicate entries. The 500.19 exception after disabling Custom Errors will display the lines where the config is malformed.

The actual error is displayed after setting Custom Errors to Off in the web.config

<configuration>
  <system.web>
    <customErrors mode="Off"/>
  </system.web>
</configuration>

Example: