Dela via


Register the 2007 Office system file format MIME types on servers

Updated: July 23, 2008

Applies To: Office Resource Kit

This Office product will reach end of support on October 10, 2017. To stay supported, you will need to upgrade. For more information, see , Resources to help you upgrade your Office 2007 servers and clients.

 

Topic Last Modified: 2016-11-14

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) (https://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/msonenote

.onetoc2

Office OneNote 2007 TOC

application/msonenote

.onetmp

Office OneNote 2007 temporary file

application/msonenote

.onepkg

Office OneNote 2007 package

application/msonenote

.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: