While trying to download an attached Microsoft Office 2007 document ex: docx, pptx, xlsx to a service desk ticket, it pops up to download file with "zip" extension. How to fix this?

Document ID : KB000054937
Last Modified Date : 14/02/2018
Show Technical Document Details

Description:

This document provides information on how to resolve an issue that may be observed while trying to download an attached Microsoft Office 2007 document ex: docx, pptx, xlsx to a service desk ticket, a pop-up is generated indicating to download the file with "zip" extension.

Note: The issue can be resolved by adding MIME types entries to web servers used by service desk. In our example we will specify how to do it for Solaris and Windows platforms.

Solution:

For Windows when we are running IIS we have to add MIME types as below:

  1. Go to run and type inetmgr and click on OK.

  2. Click Web Sites -> Right click on Default website and select Properties

  3. Select HTTP Headers

  4. Select Mime Types

  5. Enter a new extension (no leading period is required) and the appropriate mime type. Repeat as needed for each extension. ex: docx, xlsx etc

    Add following Mime types as below:
    .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
  6. Click OK to close all the dialogs.

  7. Now download office 2007 document and it should pop up to save with correct extension and not zipped one.

  8. Recycle IIS.

FOR NON WINDOWS (e.g. SOLARIS) Platform when Apache is running perform steps as below:

  1. We need to edit file "mimetypes" under etc\apache directory on Solaris platform and provide following entries:

  2. Add following Mime types entries as below and save the file.
    .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
  3. Recycle Apache web server.

  4. Now download office 2007 document and it should pop up to save with correct extension and not zipped one.