jmair Posted September 22, 2009 Posted September 22, 2009 I've been looking for a simple workaround by keeping the file as .docx but havent found one. The problem: Teacher adds a Word 2007 .docx file for his Word 2007 class and when students try to download it, it saves as a zip file. Is there a workaround for this? (without using firefox)
3s-gtech Posted September 22, 2009 Posted September 22, 2009 Email, as a guess. What email system are you using? We are finding this with Squirrelmail, but if the download link is used it tends to work. Not sure with Outlook etc though.
somabc Posted September 22, 2009 Posted September 22, 2009 (edited) It seems as if IIS / Apache does not understand this format, is scanning the document, and due to the file format change, interpreting the document as a zip file. 1. Get to the Internet Management snap-in any way you like 2. Right click “Web Sites” and select “Properties” to modify the global behavior, or any specific website to edit just that one 3. Select “HTTP Headers” 4. Select “Mime Types” 5. Enter a new extension (no leading period is required) and the appropriate mime type. Repeat as needed for each extension. 6. Click “OK” to close all the dialogs Extension MIME Type .xlsx application/vnd.openxmlformats-officedocument.spreadsheetml.sheet .xltx application/vnd.openxmlformats-officedocument.spreadsheetml.template .potx application/vnd.openxmlformats-officedocument.presentationml.template .ppsx application/vnd.openxmlformats-officedocument.presentationml.slideshow .pptx application/vnd.openxmlformats-officedocument.presentationml.presentation .sldx application/vnd.openxmlformats-officedocument.presentationml.slide .docx application/vnd.openxmlformats-officedocument.wordprocessingml.document .dotx application/vnd.openxmlformats-officedocument.wordprocessingml.template .xlam application/vnd.ms-excel.addin.macroEnabled.12 .xlsb application/vnd.ms-excel.sheet.binary.macroEnabled.12 For Apache place in .htaccess AddType application/vnd.ms-word.document.macroEnabled.12 .docm AddType application/vnd.openxmlformats-officedocument.wordprocessingml.document docx AddType application/vnd.openxmlformats-officedocument.wordprocessingml.template dotx AddType application/vnd.ms-powerpoint.template.macroEnabled.12 potm AddType application/vnd.openxmlformats-officedocument.presentationml.template potx AddType application/vnd.ms-powerpoint.addin.macroEnabled.12 ppam AddType application/vnd.ms-powerpoint.slideshow.macroEnabled.12 ppsm AddType application/vnd.openxmlformats-officedocument.presentationml.slideshow ppsx AddType application/vnd.ms-powerpoint.presentation.macroEnabled.12 pptm AddType application/vnd.openxmlformats-officedocument.presentationml.presentation pptx AddType application/vnd.ms-excel.addin.macroEnabled.12 xlam AddType application/vnd.ms-excel.sheet.binary.macroEnabled.12 xlsb AddType application/vnd.ms-excel.sheet.macroEnabled.12 xlsm AddType application/vnd.openxmlformats-officedocument.spreadsheetml.sheet xlsx AddType application/vnd.ms-excel.template.macroEnabled.12 xltm AddType application/vnd.openxmlformats-officedocument.spreadsheetml.template xltx Edited September 22, 2009 by somabc
Brpilot99 Posted September 22, 2009 Posted September 22, 2009 We had the same problem when attatching docx files and emailing them through the county email system ... the problem was that the exchange server didnt recognise docx files went down the list and ended up with the last one IE zip ... so sent them as zip files ... try opening them as a zip and you get rubbish The answer was to simply rename the recieved file with a docx extension and the file was back in shape ... so for example ... test.zip rename test.docx Hope this helps Cheers for now Brian Silicon Keyboards with lower case letters
jmair Posted September 22, 2009 Author Posted September 22, 2009 Sorry, from our own website. It's just a link.. Here's an example.
Brpilot99 Posted September 22, 2009 Posted September 22, 2009 Hiyah just renamed your test file and it worked !!! Cheers Brian Silicon Keyboards with lower case letters
Michael Posted September 22, 2009 Posted September 22, 2009 The easiest/simplest solution around this is to download Ork Tools for Office 2007. You can then specify the default Save As format and specify .doc.
jmair Posted September 22, 2009 Author Posted September 22, 2009 Looks like the 'real world' solution right now is to just change the extension of the file. I would suggest to the teacher/students to save all files as .doc, however I fear they may lose some kind of formatting in doing so. Thanks again!
powdarrmonkey Posted September 22, 2009 Posted September 22, 2009 @brpilot: A docx is really a zip file (yes, you can decompress it yourself) so it wasn't just the last in the list, your webserver was actually being intelligent
zag Posted September 28, 2010 Posted September 28, 2010 It seems as if IIS / Apache does not understand this format, is scanning the document, and due to the file format change, interpreting the document as a zip file. 1. Get to the Internet Management snap-in any way you like 2. Right click “Web Sites” and select “Properties” to modify the global behavior, or any specific website to edit just that one 3. Select “HTTP Headers” 4. Select “Mime Types” 5. Enter a new extension (no leading period is required) and the appropriate mime type. Repeat as needed for each extension. 6. Click “OK” to close all the dialogs Extension MIME Type .xlsx application/vnd.openxmlformats-officedocument.spreadsheetml.sheet .xltx application/vnd.openxmlformats-officedocument.spreadsheetml.template .potx application/vnd.openxmlformats-officedocument.presentationml.template .ppsx application/vnd.openxmlformats-officedocument.presentationml.slideshow .pptx application/vnd.openxmlformats-officedocument.presentationml.presentation .sldx application/vnd.openxmlformats-officedocument.presentationml.slide .docx application/vnd.openxmlformats-officedocument.wordprocessingml.document .dotx application/vnd.openxmlformats-officedocument.wordprocessingml.template .xlam application/vnd.ms-excel.addin.macroEnabled.12 .xlsb application/vnd.ms-excel.sheet.binary.macroEnabled.12 Thanks for this! Its been bugging me for a while
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now