Register Office 2007 file format MIME types on servers


In order for servers to recognize the new file formats in the 2007 Office system, 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 ZIP archives. MIME types are automatically registered with computers running Windows Server 2003 Service Pack 2 (SP2) or later versions.

For servers running Windows 2003 Server and Internet Information Services (IIS) 6.0, you can add the Open XML types in IIS Manager | Server Properties | MIME Types. IIS 7.0 includes these new MIME types by default.

For servers that are not Windows-based, you will need to register the MIME types manually. Please 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

Comments (1)

  1. Jaime says:

    This article was not helpful. This told about how to enter MIME type in IIS, not in the machine (server), so the title of the document should be "Register Office 2007 file format MIME types on IIS". I my case, MIME types are registered in IIS7, but not in Windows Registry so the file type is not recognized when uploaded. I am trying to locate a way to do it in the machine.

    Regards

    Jaime