Link to home
Start Free TrialLog in
Avatar of web-dba
web-dba

asked on

docx gives error before opening on iis7 website

I have a website running iis7, on a windows 2008, 64 bit server.  When we try to open a docx filetype, we first receive an error that the file cannot be opened because there are problems with the contents.  When you click on more details it says the file is corrupted.  When you tell it to open anyway, the file looks fine.

I have within IIS a mime type for docx.  I have set this at application/vnd.ms-word.document.12 (which was default in IIS) and changed it to application/vnd.openxmlformats-officedocument.wordprocessingml.document which I found on the Microsoft site.  Neither setting allowed the document to open without the error message.

I do not have a handler mapping or anything for this file type, just the mime type.

Any ideas would be appreciated.

thanks
terri
ASKER CERTIFIED SOLUTION
Avatar of pcsmitpra
pcsmitpra
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Its zone was wrong, It should be for IIS WEb Server zone.
Avatar of web-dba
web-dba

ASKER

Thanks!  I added all the MIME types instead of just the word ones and tried it with a NEW document as you suggested and it worked.  Thanks so much for the help!!
That is cool, But incase somebody else will look for same problem he will not find the solution because you have selected the zone Perl. Please chagne the zone to "Microsoft IIS Web Server",
Thank You.