- Open IIS 6
- Right click computer and select properties
- Select MIME types
- Select New
- Type in the extension '.docx' and the MIME type 'application/vnd.openxmlformats-officedocument.wordprocessingml.document'
- Select OK and exit the properties screen
- Refresh your site's application pool
This will happen with all of the Office 2007-specific file extensions so here is a list of their MIME types:
- .docx - application/vnd.openxmlformats-officedocument.wordprocessingml.document
- .dotx - application/vnd.openxmlformats-officedocument.wordprocessingml.template
- .pptx - application/vnd.openxmlformats-officedocument.presentationml.presentation
- .potx - application/vnd.openxmlformats-officedocument.presentationml.template
- .ppsx - application/vnd.openxmlformats-officedocument.presentationml.slideshow
- .xlsx -application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
- .xltx - application/vnd.openxmlformats-officedocument.spreadsheetml.template
- .sldx - application/vnd.openxmlformats-officedocument.presentationml.slide
- .xlam - application/vnd.ms-excel.addin.macroEnabled.12
- .xlsb - application/vnd.ms-excel.sheet.binary.macroEnabled.12