Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8354635
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T09:36:32+00:00 2026-06-09T09:36:32+00:00

I have encountered a completely unexpected behavior when adding a mimeMap element for files

  • 0

I have encountered a completely unexpected behavior when adding a mimeMap element for files with mp3 extensions. This works fine:

<system.webServer>
  <validation validateIntegratedModeConfiguration="false" />
  <modules runAllManagedModulesForAllRequests="true" />
  <staticContent>
    <mimeMap fileExtension=".mp4" mimeType="video/mp4" />
    <mimeMap fileExtension=".ogv" mimeType="video/ogg" />
    <mimeMap fileExtension=".webm" mimeType="video/webm" />
    <mimeMap fileExtension=".ogg" mimeType="audio/ogg" />
    <!--      <mimeMap fileExtension=".mp3" mimeType="audio/mpeg" /> -->
  </staticContent>
</system.webServer>

But as soon as I uncomment the element pertaining to MP3 files, everything goes to hell in a proverbial handbasket. Neither my js nor my css nor my aspx files will be served, and I get lots of these:

HTTP Error 500.19 – Internal Server Error
The requested page cannot be accessed because the related configuration data for the page is invalid.

Anyone seen this behavior before, or have any pointers? I am (clearly) less than adept in IIS configuration.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T09:36:35+00:00Added an answer on June 9, 2026 at 9:36 am

    this behavior might be because.. In IIS the mimetype for mp3 is already configured.
    you adding in web.config mimemap for mp3 will cause duplicate entry.
    just do

    <remove fileExtension=".mp3"/>

    <mimeMap fileExtension=".mp3" mimeType="audio/mpeg" />

    regards

    Goutham Ganesh V

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This may be the most obscure bug I have yet encountered in many years
I have encountered a strange behavior of BindingSource. First I set it's DataSource in
This is the weirdest error I have ever encountered. This MVC web project was
I have encountered some strange Perl behavior: using a Posix character class in a
I have encountered what appears to be a bug with the YAML parser. Take
I have encountered a problem with creating a thumbnail from an uploaded image file,
I have encountered a very weird situation in Python. I have a while True:
I have encountered a weird problem, when i built my last ad-hoc version for
I have encountered a problem in one of my Java projects, which causes bugs.
I have encountered a most annoying problem that occurs on the PWD variable when

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.