"500.19 Cannot add duplicate collection" error when starting any Insight application
Issue
When attempting to start any Insight application, the following error is displayed.
Cause
This error displays because the parameter, X-Frame-Options, is attempting to get or set more than once in IIS. Effective Insight v6.0 and newer, this setting is set to 'DENY' for security reasons (via web.config in Program Files\Kofax\Insight x.x\HtmlInsight). However, if your IIS server already has this setting configured somewhere (usually at the server or website level), that will cause this conflict.
Solution
To resolve this, either remove the setting from the web.config file mentioned above or remove that setting from your IIS server:
Modify Insight's web.config:
The entry to remove is located in the <httpProtocol> | <customerHeaders> section (make a backup of this file before making changes):
<add name="X-Frame-Options" value="DENY" />
Modify IIS Server:
To remove from the IIS server, review the HTTP Response Headers setting at each level (Server and websites) and check if there is an existing setting already configured. NOTE: This may impact other applications you have running or violate your company's security policy - please consult with your IIS administrator prior to making this change.
Level of Complexity
Moderate
Applies to
Product | Version | Build | Environment | Hardware |
---|---|---|---|---|
Kofax Insight | 6.x |
References
Add any references to other internal or external articles