Description:
When opening Attachments in Service Desk from Microsoft Office 2007 products, which have file extensions like .docx, .xlsx and .pptx a zip file with no content appears. There are no error messages seen on the screen.
Attachments in Service Desk are linked to Call Requests, Incidents, Change Orders and Issues.
Solution:
This problem occurs if the appropriate MIME types for .docx, .xlsx and .pptx are not added to the Internet Information Services (IIS) manager and Tomcat. 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 generates indicating to download the file with "zip" extension.
Once the MIME types are added to the web servers used by Service Desk, the Service Desk Attachments will open correctly.
The file extension ".docx" is for a Microsoft 2007 Word Document, ".xlsx" is Microsoft 2007 Excel Document and ".pptx" is Microsoft 2007 Powerpoint.
For Windows when we are running IIS we have to add MIME types as below:
Extension MIME Type.docx application/vnd.openxmlformats-officedocument.wordprocessingml.document.xlsx application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.pptx application/vnd.openxmlformats-officedocument.presentationml.presentation
For Windows when we are running Tomcat we have to add MIME types as below:
<mime-mapping><extension>docx</extension><mime-type>application/vnd.openxmlformats-officedocument.wordprocessingml.document</mime-type></mime-mapping><mime-mapping><extension>xlsx</extension><mime-type>application/vnd.openxmlformats-officedocument.spreadsheetml.sheet</mime-type></mime-mapping><mime-mapping><extension>pptx</extension><mime-type>application/vnd.openxmlformats-officedocument.presentationml.presentation</mime-type></mime-mapping>
WARNING: These changes take place at the Windows operating system level. Please take appropriate precautions/backups to be able to restore to the initial state if the above changes are unsuccessful.