IIS 7, ColdFusion Connector, Default Document

Posted: January 6, 2011 in ColdFusion Servers

Today I setup a new site in IIS 7, added the default document for index.cfm, then ran the ColdFusion connector. That was the wrong thing todo as now I have a “Cannot add duplicate collection entry of type ‘add’ with unique key attribute ‘value’ set to ‘index.cfm'”.

To resolve the issue I removed the line from the web.config file.

<add value="index.cfm" />
  1. Alex says:

    Thank you! I was still running into the following error when trying to load up the site: HTTP Error 500.19 Code Error: This configuration section cannot be used at this path. This happens when the section is locked at a parent level. etc…

    So, I removed the web.config file altogether and the site loaded up properly. Perhaps that is not appropriate for everyone, but it works for me.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s