IIS 8 Error 500.19 – duplicate MIME type entries

If you have to move an asp.net application from an IIS 7.5 to an IIS 8.0 server, you might run into problems with a 500.19 error. The reason for this is the fact, that in IIS 8.0, most well-known MIME types are being registered on a server level. So if you had to add a specific MIME type in your web.config in IIS 7.5 (for example “svg”, chances are good that this type is already predefined and inherited by your site.

Remove the corresponding line in your web.config and restart your site! It should be working now.

Advertisements
IIS 8 Error 500.19 – duplicate MIME type entries

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s