Jump to content

Recommended Posts

Posted

I m getting this error when I go into mime in iis 7.5

 

filename \\?\c:\intetpub\wwwroot\HAP\web.config

Line number: 118

Error: cannot add duplicate collection entry of type 'mimeMap' with unique key attirbute 'fileExtension' set to '.svg'

 

anyone seen this?

  • 6 months later...
Posted (edited)
Remove line 118 from the web.config file

 

I had to remove that line (in the v7.10 of web.config the line number is 124), just because the fileExtension=".svg" is for some reason not "digested" by browsers and as a result logos or icons are not displayed.

Edited by dosh
Posted
Odd, what happens when you try to browse to the icons directly? does CTRL+F5 do anything

 

nothing - no images displayed until the line with *.svg is removed.

for some strange reason browser does not like the mime association to svg?

Posted
I had this error too - the weird thing was, I have done the install for two schools, one school the install worked just fine. but this second school has issues with this mime. Deleting the line worked OK. Both schools were installed on a fresh VM.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...