DOCX, PPTX, XLSX still recognized as unknown

March 23, 2011 at 02:40:48
Specs: Windows XP
Hi,

I have the following components installed when the issue was encountered:
Microsoft Windows XP Professional Version 2002 Service Pack 3
Microsoft Office Word 2003 SP3
Microsoft Office Compatibility Pack for Word, Excel, and PowerPoint File Formats
Microsoft Update - All High-Priority updates
Internet Explorer 8

I tried opening file attachments (DOCX, XLSX, PPTX) from other sites and the files are opened successfully.

To cater the new file extensions in my web application, I have added the following content types DOCX, XLSX and PPTX:
DOCX - application/vnd.openxmlformats-officedocument.wordprocessingml.document
XLSX - application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
PPTX - application/vnd.openxmlformats-officedocument.presentationml.presentation

However, when I tried downloading attachments with these extensions from my web application, I am still unable to open the files. Instead, these files cannot be recognized and is displayed as Unknown File Type during file download.

Here are the headers sent to the browser:

HTTP/1.1 200 OK
Content-Type: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
Content-Length: 8265
Server: My Framework
Date: Wed, 23 Mar 2011 09:29:48 GMT
Expires: Tue, 18 Jan 2050 14:25:27 GMT

HTTP/1.1 200 OK
Content-Type: application/vnd.openxmlformats-officedocument.presentationml.presentation
Content-Length: 44647
Server: My Framework
Date: Wed, 23 Mar 2011 09:29:18 GMT
Expires: Tue, 18 Jan 2050 14:25:27 GMT


HTTP/1.1 200 OK
Content-Type: application/vnd.openxmlformats-officedocument.wordprocessingml.document
Content-Length: 21482
Server: My Framework
Date: Wed, 23 Mar 2011 09:28:39 GMT
Expires: Tue, 18 Jan 2050 14:25:27 GMT


Does anyone have any ideas on this?


Thanks!


See More: DOCX, PPTX, XLSX still recognized as unknown

Report •

#1
March 23, 2011 at 04:39:58
What's the default application set to for opening these files?

Report •

#2
March 23, 2011 at 16:35:47
From the Folder Options, the extensions have the following file types:
- DOCX Microsoft Office Word Document
- PPTX Microsoft Office PowerPoint Presentation
- XLSX Microsoft Office Excel Worksheet

Report •

#3
March 24, 2011 at 04:26:44
Ruby, those are the file types. What are the associated default programs used to open those files? Since you have multiple versions installed, you'll need to specify for them to open in the Office 2007 viewer. You have two other options; remove the older versions, or remove the older versions of Office (and the Compatibility Pack) and upgrade to Office 2007 or 2010.

Report •

Related Solutions

#4
March 24, 2011 at 15:59:55
Hi,

I was able to resolve the issue by not only installing the compatibility pack, but also installing the word, excel and powerpoint viewer. I noticed that before the viewer installation, the content type from the system registry does not include the docx, xlsx, and the pptx file extensions. However, when I installed the viewers, the file extensions were added to the registry.

To verify, is it necessary to also install these viewers and not only the compatibility pack?

Thanks!

Regards,
Ruby


Report •

#5
March 25, 2011 at 09:25:54
"To verify, is it necessary to also install these viewers and not only the compatibility pack?" No. The Compatibility Pack allows you to open the newer file formats. That's the purpose of the software.

Report •

#6
March 28, 2011 at 01:38:22
Is the Compatibility Pack responsible to add the content types for the following in the registry? If not, who is the one to add these in the registry?

[HKEY_CLASSES_ROOT\MIME\Database\Content Type\application/vnd.openxmlformats-officedocument.wordprocessingml.document]
"Extension"=".docx"
[HKEY_CLASSES_ROOT\MIME\Database\Content Type\application/vnd.openxmlformats-officedocument.spreadsheetml.sheet]
"Extension"=".xlsx"
[HKEY_CLASSES_ROOT\MIME\Database\Content Type\application/vnd.openxmlformats-officedocument.presentationml.presentation]
"Extension"=".pptx"


Report •

#7
March 28, 2011 at 08:44:49
My guess is the entries are created when the Compatibility pack is installed. Provided it is installed after other versions of Office.

Report •

Ask Question