Solved

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

Posted on 2011-03-10
4
958 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:
teylyn 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

I'm writing to share my clumsy experience in using this elegant tool so you can avoid every stupid mistake I made. (I leave it to the authorities to decide if this deserves a place in the Knowledge archives.)  Now that I am on the other side of my l…
The Selection object is designed for user interaction. It has a Range property, so it can be used in most places that a Range object can. Recorded macros must use the Selection because they are simply copying what the user is doing. A Range prope…
This video walks the viewer through the process of creating envelopes and labels, with multiple names and addresses. Navigate to the “Start Mail Merge” button in the Mailings tab: Follow the step-by-step process until asked to find the address doc…
Office 365 is currently available in five editions. Three of them are for business use: Office 365 Business Essentials, Office 365 Business, and Office 365 Business Premium. Two of them are for home/personal use: Office 365 Home and Office 365 Perso…

762 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now