Updated: 2008-07-23
For servers to recognize the new file formats, you will need to register the Multipurpose Internet Mail Extensions (MIME) types for each new file type. If the MIME types are not registered, servers will detect the new file formats as archives of compressed files. MIME types are automatically registered with Windows Server 2003 Service Pack 2 (SP2) or later versions.
By default, Internet Information Services (IIS) 7.0 includes these new MIME types. For servers that run Windows Server 2003 and Internet Information Services (IIS) 6.0, you can add the Open XML types in IIS Manager. For more information, see Configure MIME Types (IIS 6.0) (http://go.microsoft.com/fwlink/?LinkId=158193).
For servers that are not Windows-based, you have to register the MIME types manually. Refer to the product documentation for your server or refer to the links at the end of this article for more information about registering MIME types.
The following table shows the extensions you will need to register, their file type, and their MIME type.
File extension | File type | MIME type |
---|---|---|
.docx |
Microsoft Office Word 2007 document |
application/vnd.openxmlformats-officedocument.wordprocessingml.document |
.docm |
Office Word 2007 macro-enabled document |
application/vnd.ms-word.document.macroEnabled.12 |
.dotx |
Office Word 2007 template |
application/vnd.openxmlformats-officedocument.wordprocessingml.template |
.dotm |
Office Word 2007 macro-enabled document template |
application/vnd.ms-word.template.macroEnabled.12 |
.xlsx |
Microsoft Office Excel 2007 workbook |
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet |
.xlsm |
Office Excel 2007 macro-enabled workbook |
application/vnd.ms-excel.sheet.macroEnabled.12 |
.xltx |
Office Excel 2007 template |
application/vnd.openxmlformats-officedocument.spreadsheetml.template |
.xltm |
Office Excel 2007 macro-enabled workbook template |
application/vnd.ms-excel.template.macroEnabled.12 |
.xlsb |
Office Excel 2007 binary workbook |
application/vnd.ms-excel.sheet.binary.macroEnabled.12 |
.xlam |
Office Excel 2007 add-in |
application/vnd.ms-excel.addin.macroEnabled.12 |
.pptx |
Microsoft Office PowerPoint 2007 presentation |
application/vnd.openxmlformats-officedocument.presentationml.presentation |
.pptm |
Office PowerPoint 2007 macro-enabled presentation |
application/vnd.ms-powerpoint.presentation.macroEnabled.12 |
.ppsx |
Office PowerPoint 2007 slide show |
application/vnd.openxmlformats-officedocument.presentationml.slideshow |
.ppsm |
Office PowerPoint 2007 macro-enabled slide show |
application/vnd.ms-powerpoint.slideshow.macroEnabled.12 |
.potx |
Office PowerPoint 2007 template |
application/vnd.openxmlformats-officedocument.presentationml.template |
.potm |
Office PowerPoint 2007 macro-enabled presentation template |
application/vnd.ms-powerpoint.template.macroEnabled.12 |
.ppam |
Office PowerPoint 2007 add-in |
application/vnd.ms-powerpoint.addin.macroEnabled.12 |
.sldx |
Office PowerPoint 2007 slide |
application/vnd.openxmlformats-officedocument.presentationml.slide |
.sldm |
Office PowerPoint 2007 macro-enabled slide |
application/vnd.ms-powerpoint.slide.macroEnabled.12 |
.one |
Microsoft Office OneNote 2007 section |
application/onenote |
.onetoc2 |
Office OneNote 2007 TOC |
application/onenote |
.onetmp |
Office OneNote 2007 temporary file |
application/onenote |
.onepkg |
Office OneNote 2007 package |
application/onenote |
.thmx |
2007 Office system release theme |
application/vnd.ms-officetheme |
For more information about how to set these types on different servers, see the following articles:
-
How to get Companyweb (Windows SharePoint Services v2) to work with Office 2007 (http://go.microsoft.com/fwlink/?LinkId=158120) on David Overton's blog
-
Office 2007 MIME types for Apache (http://go.microsoft.com/fwlink/?LinkId=158121) on Vladimir Mazek's blog
-
Description of the default settings for the MimeMap property and for the ScriptMaps property in IIS (http://go.microsoft.com/fwlink/?LinkId=158122)(includes MIME types for other file extensions)
-
Creating Document Themes with the Office Open XML Formats (http://go.microsoft.com/fwlink/?LinkId=158124)