Without a description of the error you are getting, I can only assume that you are adding a mimetype that already exists on the IIS server.
In these cases, or where you are not sure, you can remove the extension before adding it to your configuration file.
<staticContent> <remove fileExtension=".json" /> <mimeMap fileExtension=".json" mimeType="application/json" /> </staticContent>
source share