On Thu, Dec 22, 2011 at 2:35 PM, Blasko, Margo
<[email protected]> wrote:
> Entered
> application/vnd.openxmlformats-officedocument.wordprocessingml.document
> as the .docx MIME type in ISS 4.0 on a Windows 2000 server.
> Unfortuantely the docx documents still will not open.  The error is 'Word
> cannot open the file because the file format does not match the file 
> extension'

On Wed, Jan 4, 2012 at 10:22 AM, Blasko, Margo
<[email protected]> wrote:
> Sorry for the delay - here is the header info ...
> Content-Type:·application/vnd.openxmlformats-officedocument.wordprocessingml.document(CR)(LF)

  As you can see in the above, the Content-Type matches exactly the
MIME type string you want.  IIS is doing exactly what you told it.  So
the problem is *NOT* with IIS.

  Possible problems I can think of:

A0. The file is corrupt ...
A1. ... as stored on the web server
A2. ... during the network transfer to the client
A3. ... by the client web browser
A4. ... by the something else on the client
B0. MS Word on the client is messed up some how
C0. MS Word is getting the MIME type from the browser somehow, and
comparing to the extension, and they don't match, because...
C1.  ... communication between browser and MS Word is broken
C2. ... that's not actually the correct MIME type for that file format

  I'm finding what appear to be multiple conflicting answers on MSDN
as for what the Content-Type *should* be, so I'm not really sure what
to do there.

-- Ben

~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to [email protected]
with the body: unsubscribe ntsysadmin

Reply via email to