docx downloads as zip
I am working on a document management system. Yesterday I worked on it from home and all was well - I was on Windows7 then.
Today I am at work with Windows XP and docx files are trying to download as a zip file.
I have Office 2007 installed on my XP computer too.
The application will allow both doc and docx files and I store the extension in the database.
I looked at the source code on a page I am having trouble with and it correctly displays the docx extension (http://www.mysite.com/SOPs/drafts/27.docx) and it uploaded to the site correctly as 27.docx.
Here is my cffile
<cffile
action="upload"
accept="application/msword, application/vnd.openxmlformats-officedocument.wordprocessingml.document"
destination="#Application.BasePath#\SOPs\drafts\"
nameconflict="overwrite"
filefield="uploadfile"
/>
<cffile
action="rename"
source="#Application.BasePath#\SOPs\drafts\#cffile.serverFileName#.#cffile.serverFileExt#"
destination="#Application.BasePath#\SOPs\drafts\#pk#.#cffile.serverFileExt#"
/>
What the heck can I do to to fix this? I know, upgrade from XP, but that's not an option.
Thanks
