how to open pptx, docx in internet information service (IIS 2003) on web site

Yes, it's just an IIS setting: by default, it will only serve files for which the extension matches a defined MIME type.

To allow .docx files to be downloaded, follow the steps:

  1. Open the IIS Microsoft Management Console (MMC), right-click the local computer name, and then click Properties.
  2. Click MIME Types.
  3. Click New.
  4. In the Extension box, type the file name extension that you want (in this case, .docx).
  5. In the MIME Type box, type application/vnd.openxmlformats-officedocument.wordprocessingml.document
  6. Apply the new settings. Note that you must restart the World Wide Web Publishing Service or wait for the worker process to recycle for the changes to take effect. In this example, IIS now serves files with the .docx extension.
  7. If you are interested MIME type for .pptx (Powerpoint 2007) is application/vnd.openxmlformats-officedocument.presentationml.presentation

dpejic has written 84 articles

Leave a Reply

Your email address will not be published. Required fields are marked *


You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>