Solved

Why does a docx file in an email attachment download as an ashx file?

Posted on 2011-03-10
4
970 Views
Last Modified: 2013-11-12
My daugher has some sort of web-based email from school--I believe it's the "cloud" version of Outlook.  Whatever.
When she has an attachment that she had been sent that was a Word 2007 document--that attachment gets saved to the Windows 7 machine's Download directory as an .ashx file.

Double-clicking opens it up in Visual Studio in binary form, and I see the first two bytes are "PK"...which I remember from back in the day as a zip header.  So I renamed the extension to .zip and it opened fine in Winzip showing a bunch of .xml files.  The word doc's contents are in the xml files but it's in that raw xml without any stylesheet affecting it.

I just want a damn Word document not some run-around from Microsoft because it's "the cloud" or some bs about security.  

How can I open this thing in Word 2007 where it was created and not have to be a friggin' programmer to get my daughter to do her homework?
Thanks,
James
0
Comment
Question by:prairie1
  • 2
4 Comments
 

Author Comment

by:prairie1
ID: 35105374
Ok...I opened it by forcing word to open it, chosing "All FIle Types" in the file-open dialog and it opens.
So I'll revise the question:
Why?
Why the hassle?  Why double-clicking Microsoft's own OS can't figure out it's own doc format done by it's own applications?
Thanks,
0
 

Expert Comment

by:boopalank
ID: 35105888
Hi!
Since Microsoft is using different platforms on microsoft applications, we need to chose "All File Types' in the file opening dialog and it will open.  Since it is a microsoft document, it can be easily managed within Microsoft Operating system.

If you do that all the files can be opened without any problem.
0
 
LVL 50

Accepted Solution

by:
Ingeborg Hawighorst earned 250 total points
ID: 35105946
Hello, this sounds rather annoying. Try to rename the file with a  .docx extension. It should open fine.

The problem lies with the web server, which is serving up the file with the wrong Mime type. The web admins of the site need to get their act together. Until they do, there's probably not much you can do at your end, other than renaming the file.
You may also see different results with different browsers. Google Chrome delivers Word files from some sites as zip files, Firefox delivers them as Word docs.

In short: there are many components involved in the mix, and not much you can do, other than to complain to the site serving the file. It's them, not you, who is at fault.

Cheers, teylyn
0
 

Author Closing Comment

by:prairie1
ID: 35108040
Thanks very much!
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Nice table. Huge mess. Maybe this was something you created way back before you figured out tabs or a document you received from someone else. Either way, using the spacebar to separate the columns resulted in a mess. Trying to convert text to t…
Introduction This tutorial provides instructions on how to properly format your Word document using the inbuilt tools provided. The benefits of using these tools means your documents are more accessible and easily portable to other applications an…
This video shows the viewer how to set up and create Footnotes in their document. Click on the References tab: Select "Insert Footnote": Type in desired text:
This video shows and describes the main difference between both orientations in Microsoft Word. Viewers will understand when to use each orientation and how to get the most out of them.

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question