+ Post New Thread
Results 1 to 7 of 7
Home Access Plus+ Thread, mime error in Projects:; 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 ...
  1. #1

    Join Date
    Apr 2008
    Posts
    853
    Thank Post
    111
    Thanked 112 Times in 108 Posts
    Rep Power
    45

    mime error

    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?

  2. #2
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,561
    Thank Post
    38
    Thanked 507 Times in 437 Posts
    Rep Power
    114
    Remove line 118 from the web.config file

  3. #3

    Join Date
    Jun 2010
    Posts
    12
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Quote Originally Posted by nickbro View Post
    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.
    Last edited by dosh; 7th June 2012 at 10:46 AM.

  4. #4
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,561
    Thank Post
    38
    Thanked 507 Times in 437 Posts
    Rep Power
    114
    Odd, what happens when you try to browse to the icons directly? does CTRL+F5 do anything

  5. #5

    Join Date
    Jun 2010
    Posts
    12
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Quote Originally Posted by nickbro View Post
    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?

  6. #6
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,561
    Thank Post
    38
    Thanked 507 Times in 437 Posts
    Rep Power
    114
    You can remove it that's fine.

  7. #7

    Join Date
    Jun 2012
    Location
    Australia
    Posts
    14
    Thank Post
    3
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    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.

SHARE:
+ Post New Thread

Similar Threads

  1. Administrators Nasty File Search errors.
    By Kyle in forum How do you do....it?
    Replies: 5
    Last Post: 24th January 2006, 09:53 PM
  2. Google Spyware error
    By ChrisH in forum Windows
    Replies: 10
    Last Post: 14th December 2005, 08:35 PM
  3. liberum and asp error message
    By russdev in forum Windows
    Replies: 2
    Last Post: 25th November 2005, 01:46 PM
  4. Adduser.conf parse errors
    By ChrisH in forum *nix
    Replies: 4
    Last Post: 18th November 2005, 11:10 AM
  5. Kerberos error - All policies disappeared
    By ajbritton in forum Windows
    Replies: 13
    Last Post: 2nd November 2005, 02:13 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •