Link to home
Start Free TrialLog in
Avatar of SWCG
SWCGFlag for United Kingdom of Great Britain and Northern Ireland

asked on

IIS MIME type for XLSX docs

Hi,
We need to know the correct syntax for adding xlsx file types into IIS 6 MIME Types.
Have a new spreadsheet on there saved in the new format, but we can't download it and this is apparently our solution.

There are two box's to fill out;
Extension:
MIME Type:

What do i put in these two areas in order to allow xlsx files?

Thanks
Avatar of Paul Jackson
Paul Jackson
Flag of United Kingdom of Great Britain and Northern Ireland image

ASKER CERTIFIED SOLUTION
Avatar of Krzysztof Pytko
Krzysztof Pytko
Flag of Poland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
and one more useful wen site with Office 2007 mime types
http://www.codehangar.com/post/2009/07/22/Office-2007-Mime-Types-for-IIS.aspx

Krzysztof
FYI...

These maps came from the following MS KB article:
http://support.microsoft.com/kb/936496

You need to add the correct mime types for IIS. You could do it for the individual extensions you want using the below steps:

IIS5/6
open IIS Manager
Right click Web Sites
Select Properties 
Select HTTP Headers 
Select Mime Types 
Enter a new extension and the appropriate mime type.
Repeat as needed for each extension.

IIS7
Same as above but in the Feature pane call Mime Types.

Mime settings.
.docm,application/vnd.ms-word.document.macroEnabled.12
.docx,application/vnd.openxmlformats-officedocument.wordprocessingml.document
.dotm,application/vnd.ms-word.template.macroEnabled.12
.dotx,application/vnd.openxmlformats-officedocument.wordprocessingml.template
.potm,application/vnd.ms-powerpoint.template.macroEnabled.12
.potx,application/vnd.openxmlformats-officedocument.presentationml.template
.ppam,application/vnd.ms-powerpoint.addin.macroEnabled.12
.ppsm,application/vnd.ms-powerpoint.slideshow.macroEnabled.12
.ppsx,application/vnd.openxmlformats-officedocument.presentationml.slideshow
.pptm,application/vnd.ms-powerpoint.presentation.macroEnabled.12
.pptx,application/vnd.openxmlformats-officedocument.presentationml.presentation
.xlam,application/vnd.ms-excel.addin.macroEnabled.12
.xlsb,application/vnd.ms-excel.sheet.binary.macroEnabled.12
.xlsm,application/vnd.ms-excel.sheet.macroEnabled.12
.xlsx,application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
.xltm,application/vnd.ms-excel.template.macroEnabled.12
.xltx,application/vnd.openxmlformats-officedocument.spreadsheetml.template
 
Cheers,
Hades666