Troubleshooting

Some file extensions may have already been defined at a higher level than the CPM application. If a file extension is added that conflicts with one at a higher level, this error is displayed:

Cannot add duplicate collection entry of type 'mimeMap' with unique key attribute 'fileExtension'

  1. In IIS, right-click the CPM application and select Explore.
  2. In the window that opens, open the web.config file in a text editor.
  3. Find the section which identifies the new file extension with its MIME map. It looks similar to:
    <mimeMap fileExtension=".xyz" mimeType="text/plain" / >
  4. Add this line before the new MIME map:
    <remove fileExtension=".xyz" />
  5. The two lines should look similar to this:

    <remove fileExtension=".xyz" />

    <mimeMap fileExtension=".xyz"
    mimeType="text/plain" />

  6. Save the file and exit