Cannot add duplicate collection entry of type ‘mimeMap’ with unique key attribute ‘fileExtension’ set to ‘.json’

A couple of notes for fixing IIS.

Cannot add duplicate collection entry of type ‘mimeMap’ with unique key attribute ‘fileExtension’ set to ‘.json’

Open a web.config and change this:

<staticContent>
 <mimeMap fileExtension=".json" mimeType="application/json" />
</staticContent>

to this:

<staticContent>
 <remove fileExtension=".json" />
 <mimeMap fileExtension=".json" mimeType="application/json" />
</staticContent>

Could not load file or assembly ‘Microsoft.ReportingServices.ChartWinControl’ or one of its dependencies.

Open IIS and set the Application Pools “Enable 32-Bit Applications” to “True”.

One thought on “Cannot add duplicate collection entry of type ‘mimeMap’ with unique key attribute ‘fileExtension’ set to ‘.json’

Leave a Reply

Your email address will not be published. Required fields are marked *