Release Management

Friday, November 2, 2007

IIS 6.0 does not serve files with .docx extension

Today, our support team got the ticket from the customer that one of our online applications does not seem to recognize the .docx extension. The client was able to upload files to the system, but was not capable to open them from web application. I tried by myself and when I request a file with .docx extension from an application served from IIS 6.0, I receive the following error message "HTTP Error 404 - File or directory not found", even though the file is there.

The solution came from Microsoft's article found with Google search IIS 6.0 does not serve unknown MIME types. Based on Microsoft's approach I compiled together as few steps to resolve the issue as fast as possible:

1. Open the IIS Microsoft Management Console (MMC), right-click computer name, and then click Properties.
2. Click MIME Types.
3. Click New.
4. In the Extension box, type .docx
5. In the MIME Type box, type application/vnd.openxmlformats-officedocument.wordprocessingml.document
6. Apply the new settings
7. Recycle application pool.

Labels:

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]



<< Home


All posts in one place

  • Doxygen vs JavaDoc
  • Installing JNetDirect's JSQLConnect driver
  • Finding problems in Java code wtih PMD
  • Log4j best practices
  • Can't open activity db: Permission denied error for SVN commits
  • Jira Subversion Plugin
  • Implementing Subversion post-commit hook
  • Troubleshooting Subversion and TortoiseSVN
  • IIS 6.0 does not serve files with .docx
  • Installing ANT on Windows XP
  • Luntbuild dealing with SMTP response 554
  • Confluence and Jira OutOfMemory errors
  •