{"id":125,"date":"2010-02-16T14:54:56","date_gmt":"2010-02-16T14:54:56","guid":{"rendered":"http:\/\/test.bleuanus.nl\/index.php\/iis-does-not-serve-unknown-mime-types\/"},"modified":"2018-12-11T16:09:08","modified_gmt":"2018-12-11T15:09:08","slug":"iis-does-not-serve-unknown-mime-types","status":"publish","type":"post","link":"https:\/\/www.bleuanus.nl\/index.php\/2010\/02\/16\/iis-does-not-serve-unknown-mime-types\/","title":{"rendered":"IIS does not serve unknown MIME Types"},"content":{"rendered":"<p class=\"last-modified\">This post was most recently updated on December 11th, 2018<\/p><p><strong>WARNING<\/strong>: If you edit the metabase incorrectly, you can cause serious problems that may require you to reinstall any product that uses the metabase. Microsoft cannot guarantee that problems that result if you incorrectly edit the metabase can be solved. Edit the metabase at your own risk.<\/p>\n<p><b>NOTE<\/b>: Always back up the metabase before you edit it.<\/p>\n<p>To define a MIME type for a specific extension, follow these steps:<\/p>\n<ol jquery1266331187225=\"98\">\n<li>Open the IIS Microsoft Management Console (MMC), right-click the local computer name, and then click <b>Properties<\/b>.<\/li>\n<li>Click <b>MIME Types<\/b>.<\/li>\n<li>Click <b>New<\/b>.<\/li>\n<li>In the <b>Extension<\/b> box, type the file name extension that you want (for example, <span class=\"userInput\">.pdb<\/span>).<\/li>\n<li>In the <b>MIME Type<\/b> box, type <span class=\"userInput\">application\/octet-stream<\/span>.<\/li>\n<li>Apply the new settings. Note that you must restart the World Wide Web Publishing Service or wait for the worker process to recycle for the changes to take effect. In this example, IIS now serves files with the .pdb extension.<\/li>\n<\/ol>\n<p>If you want to serve all files regardless of the file name extension (for example, if you cannot predict all files that will be served), follow these steps to add a wildcard character mapping: <\/p>\n<p><b>Note<\/b> You should only add the wildcard mapping to the IIS MIME map as a temporary solution during troubleshooting. After you have determined that a missing MIME type is the cause of the issue, remove the wildcard mapping and add the specific mapping for the MIME type that you need to serve.<\/p>\n<ol>\n<li>Open the IIS Microsoft Management Console (MMC), right-click the local computer name, and then click <b>Properties<\/b>.<\/li>\n<li>Click <b>MIME Types<\/b>.<\/li>\n<li>Click <b>New<\/b>.<\/li>\n<li>In the <b>Extension<\/b> box, type an asterisk (*).<\/li>\n<li>In the <b>MIME Type<\/b> box, type <span class=\"userInput\">application\/octet-stream<\/span>.<\/li>\n<li>Apply the new settings. Note that you must restart the World Wide Web Publishing Service or wait for the worker process to recycle for the changes to take effect.<\/li>\n<\/ol>\n<p><b>Note<\/b> In addition to making these changes at the global level in IIS, you can add necessary MIME types at lower levels in the metabase. When you do this, you can specify the sites or directories that are permitted to serve content with a specific file name extension instead of globally allowing all sites to serve that extension.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This post was most recently updated on December 11th, 2018WARNING: If you edit the metabase incorrectly, you can cause serious problems that may require you to reinstall any product that uses the metabase. Microsoft cannot guarantee that problems that result if you incorrectly edit the metabase can be solved. Edit the metabase at your own [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-125","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/www.bleuanus.nl\/index.php\/wp-json\/wp\/v2\/posts\/125","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bleuanus.nl\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bleuanus.nl\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bleuanus.nl\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bleuanus.nl\/index.php\/wp-json\/wp\/v2\/comments?post=125"}],"version-history":[{"count":1,"href":"https:\/\/www.bleuanus.nl\/index.php\/wp-json\/wp\/v2\/posts\/125\/revisions"}],"predecessor-version":[{"id":238,"href":"https:\/\/www.bleuanus.nl\/index.php\/wp-json\/wp\/v2\/posts\/125\/revisions\/238"}],"wp:attachment":[{"href":"https:\/\/www.bleuanus.nl\/index.php\/wp-json\/wp\/v2\/media?parent=125"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bleuanus.nl\/index.php\/wp-json\/wp\/v2\/categories?post=125"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bleuanus.nl\/index.php\/wp-json\/wp\/v2\/tags?post=125"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}