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

  • Home
  • SEARCH
  • 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 8941323
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T11:16:25+00:00 2026-06-15T11:16:25+00:00

An ASP.NET MVC project running under IIS 7.5 (but problem may exist on earlier

  • 0

An ASP.NET MVC project running under IIS 7.5 (but problem may exist on earlier versions and non-MVC sites) which was previously working has started returning 500 Internal Server Error but only for content handled by the static handler – images, pages etc. handled by MVC itself through a controller work fine.

I know what caused it – I am documenting this in case somebody else has the same problem.

  • 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-15T11:16:26+00:00Added an answer on June 15, 2026 at 11:16 am

    I enabled Failed Request tracing and after searching through the (enormous) log, I discovered this:

     <EventData>
      <Data Name="ContextId">{00000000-0000-0000-3700-0080010000FC}</Data>
      <Data Name="ModuleName">CustomErrorModule</Data>
      <Data Name="Notification">536870912</Data>
      <Data Name="HttpStatus">500</Data>
      <Data Name="HttpReason">Internal Server Error</Data>
      <Data Name="HttpSubStatus">19</Data>
      <Data Name="ErrorCode">2147942583</Data>
      <Data Name="ConfigExceptionInfo">
        \\?\C:\Websites\xxx\www\web.config ( 58) :Cannot add duplicate collection 
        entry of type &apos;mimeMap&apos; with unique key attribute 
        &apos;fileExtension&apos; set to &apos;.woff&apos;
      </Data>
     </EventData>
    

    What has happened is, a new Mime type for serving web-fonts (.woff) had been explicity added to the site.

    Later on, the new Mime type (.woff) had also been added to the global IIS mime types.

    Instead of the website setting overriding the global setting, an exception was being thrown.

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

Sidebar

Related Questions

In my 2nd ASP.NET MVC project I'm facing a very weird problem: when I
I have ASP.Net MVC project. Plus wordpress blog under a subfolder /Blog. Now, when
We found a problem while accessing the Web service from our ASP.Net MVC project
I get this error when running any new ASP.NET MVC 4 project: Compiler Error
i'm trying to use the Web.config transformations in my ASP.NET MVC 2 project running
I have an asp.net mvc application on IIS 6.0 webserver. The problem is: i
I have a ASP.NET MVC project running on my developer machine with windows 7
Hi Stackoverflow, Im trying to deploy a hybrid ASP.Net Webform/mvc-project onto iis7 but the
I have a new ASP.NET MVC project (my first), and I had been running
Got a project with standard Asp.Net (aspx) pages running alongside MVC 3 Razor controllers/views.

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.