?
Solved

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

Posted on 2011-03-10
4
Medium Priority
?
988 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 (Microsoft MVP / EE MVE) earned 1000 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: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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

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…
A few years ago I was very much a beginner at VBA, and that very much remains the case today.  I'll do my best to explain things as I go in the hope that other beginners can follow.  If you just want to check out a tool that creates a Select Case fu…
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…
In a previous video Micro Tutorial here at Experts Exchange (http://www.experts-exchange.com/videos/1358/How-to-get-a-free-trial-of-Office-365-with-the-Office-2016-desktop-applications.html), I explained how to get a free, one-month trial of Office …

764 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