Mar 6

I encountered a strange error today while I was developing a document repository website in a Windows Server/IIS environment.  When I pointed my browser at myfile.docx it returned a 404 error, but other files in the same directory were served correctly.  After some Googling, I discovered that Microsoft’s IIS only allows the download of files that are in a list of predefined types as a security measure. To be able to download Office 2007 files from IIS you need to add the extension/MIME type pairs to the IIS configuration.

Continue reading »