Skip to main content

"500.19 Cannot add duplicate collection" error when starting any Insight application.

Article # 307878 - Page views: 213


Question / Problem: 

When attempting to start any Insight application, the following error is displayed. Why is this occurring and how can this be resolved?



Answer / Solution: 

This error displays because the parameter, X-Frame-Options, is attempting to get 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.

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.

ScreenShot2019-06-04 12_25_55-Tomcat Win2016 on SIDS2012R2 - Virtual Machine Connection.png

Applies to:  

Product Version Category
Insight 6.x