{"id":123,"date":"2007-10-11T15:14:46","date_gmt":"2007-10-11T21:14:46","guid":{"rendered":"http:\/\/jameskovacs.com\/2007\/10\/11\/Configuring+IIS6+To+Serve+Office+2007+File+Formats"},"modified":"2007-10-11T15:14:46","modified_gmt":"2007-10-11T21:14:46","slug":"configuring-iis6-to-serve-office-2007-file-formats","status":"publish","type":"post","link":"https:\/\/www.jameskovacs.com\/index.php\/2007\/10\/11\/configuring-iis6-to-serve-office-2007-file-formats\/","title":{"rendered":"Configuring IIS6 to Serve Office 2007 File Formats"},"content":{"rendered":"<p>You upload an Office 2007 file (pptx, xlsx, docx, etc.) to your IIS6 web server and someone tries to download it, but receives:<\/p>\n<blockquote>\n<p>HTTP Error 404 &#8211; File or directory not found.<\/p>\n<p>Internet Information Services (IIS)<\/p>\n<\/blockquote>\n<p>The file is on the server. The URL is correct. You can even download ppt, doc, xls, zip, and other files from the same location. What&#8217;s up???<\/p>\n<p>Out of the box, IIS6 only accepts requests for known&nbsp;MIME types. Since Office 2007 was released after Windows Server 2003 and IIS6, IIS6 knows nothing about the new&nbsp;MIME types. So you need to manually add&nbsp;them:<\/p>\n<ol>\n<li>Open Computer Management. (Right-click My Computer&#8230; Manage&#8230;)<\/li>\n<li>Right-click Internet Information Services (IIS) Management&#8230; Properties&#8230;<\/li>\n<li>Click MIME Types&#8230;<\/li>\n<li>Click New&#8230; and add the following:<\/li>\n<\/ol>\n<table cellspacing=\"0\" cellpadding=\"2\" width=\"638\" border=\"1\" unselectable=\"on\">\n<tbody>\n<tr>\n<td valign=\"top\" width=\"81\"><strong>Extension<\/strong><\/td>\n<td valign=\"top\" width=\"555\"><strong>MIME Type<\/strong><\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"86\">.xlsx<\/td>\n<td valign=\"top\" width=\"555\">application\/vnd.openxmlformats-officedocument.spreadsheetml.sheet <\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"91\">.xltx<\/td>\n<td valign=\"top\" width=\"555\">application\/vnd.openxmlformats-officedocument.spreadsheetml.template <\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"95\">.potx<\/td>\n<td valign=\"top\" width=\"555\">application\/vnd.openxmlformats-officedocument.presentationml.template<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"99\">.ppsx<\/td>\n<td valign=\"top\" width=\"555\">application\/vnd.openxmlformats-officedocument.presentationml.slideshow<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"102\">.pptx<\/td>\n<td valign=\"top\" width=\"555\">application\/vnd.openxmlformats-officedocument.presentationml.presentation<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"105\">.sldx<\/td>\n<td valign=\"top\" width=\"555\">application\/vnd.openxmlformats-officedocument.presentationml.slide<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"108\">.docx<\/td>\n<td valign=\"top\" width=\"555\">application\/vnd.openxmlformats-officedocument.wordprocessingml.document<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"110\">.dotx<\/td>\n<td valign=\"top\" width=\"555\">application\/vnd.openxmlformats-officedocument.wordprocessingml.template<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"112\">.xlam<\/td>\n<td valign=\"top\" width=\"555\">application\/vnd.ms-excel.addin.macroEnabled.12<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"113\">.xlsb<\/td>\n<td valign=\"top\" width=\"555\">application\/vnd.ms-excel.sheet.binary.macroEnabled.12<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>N.B. These MIME types were added to IIS7 as noted in <a href=\"http:\/\/support.microsoft.com\/kb\/936496\">KB936496<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>You upload an Office 2007 file (pptx, xlsx, docx, etc.) to your IIS6 web server and someone tries to download it, but receives: HTTP Error 404 &#8211; File or directory not found. Internet Information Services (IIS) The file is on the server. The URL is correct. You can even download ppt, doc, xls, zip, and [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"class_list":["post-123","post","type-post","status-publish","format-standard","hentry","category-aspnet"],"_links":{"self":[{"href":"https:\/\/www.jameskovacs.com\/index.php\/wp-json\/wp\/v2\/posts\/123","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.jameskovacs.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.jameskovacs.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.jameskovacs.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.jameskovacs.com\/index.php\/wp-json\/wp\/v2\/comments?post=123"}],"version-history":[{"count":0,"href":"https:\/\/www.jameskovacs.com\/index.php\/wp-json\/wp\/v2\/posts\/123\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.jameskovacs.com\/index.php\/wp-json\/wp\/v2\/media?parent=123"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.jameskovacs.com\/index.php\/wp-json\/wp\/v2\/categories?post=123"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.jameskovacs.com\/index.php\/wp-json\/wp\/v2\/tags?post=123"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}