HTTP Error 500.19 0x800700b7 | Cannot add duplicate collection entry of type 'add'
PROBLEM / ISSUE
The configuration website does not load and the user receives the following error message on-screen (instead of the login screen)
CAUSE OF THE PROBLEM
By default TFS4JIRA Synchronizer application will is created under the parent site named "Default Web Site". All children sites/applications inherit web.config setup from the parent website and the failing collection entry might be a duplicate as it is added within the parent’s web.config.
SOLUTION
Check web.config in the parent site, TFS4JIRA web.config might be wrongly duplicated there.
In child (TFS4JIRA) web.config add <remove name="DependencyScopeHttpModule" /> resulting in below
<system.webServer> <validation validateIntegratedModeConfiguration="false" /> <modules runAllManagedModulesForAllRequests="true"> <remove name="DependencyScopeHttpModule" /> <add name="DependencyScopeHttpModule" type="SpartezSoftware.Synchronizer.IoC.ScopedDependencyHttpModule" /> </modules>
Install TFS4JIRA as a separate, independent site. More information can be found here: https://appfire.atlassian.net/wiki/display/TFS4JIRA/Installing+TFS4JIRA+Synchronizer