Perforce Public Knowledge Base - P4Web 2007.3 and Microsoft Office 2007 Documents
Reset Search
 

 

Article

P4Web 2007.3 and Microsoft Office 2007 Documents

« Go Back

Information

 
Problem

When a user tries to click on a document link in P4Web 2007.3 and earlier with one of the newer Office 2007 file name extensions, Microsoft Internet Explorer (MSIE) downloads the file as a zip file.

Solution

MSIE is trying to append a file extension based on the web server supplied MIME type, assigning "zip" for unknown types. Because P4Web versions prior to 2007.3 do not have MIME type entries for the office 2007 extensions, users encounter the zip file problem when they use MSIE with P4Web and Office 2007 files that have the new extensions. There is an option in IE to disable this feature, but then IE treats Office documents as type "text" and attempts to display them in the browser.

Users encountering this problem have several options:

  • Avoid using MSIE: FireFox and Safari handle the new file types correctly, for example.
  • Change the extension after downloading -- the file contents are correct.
  • Use P4Web 2008.1 or later.

The affected extensions and appropriate mime types for Office 2007 and later are:

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

.xltx	  application/vnd.openxmlformats-officedocument.spreadsheetml.template
Related Links

Feedback

 

Was this article helpful?


   

Feedback

Please tell us how we can make this article more useful.

Characters Remaining: 255