Recently a new extension (Office 2008 - .pptx) could not be accessed via IIS. It showed a 404 (file does not exist error). Basically, the MIME type for the new Office Extensions do not exist in IIS.
Instructions for adding the extension:
- Get to the IIS Manager
- Right click on the Server and select “Properties” to modify the global behavior, or 'Websites' or any specific website to edit just that one.
- Select “HTTP Headers” (or skip straight to 4)
- Select “Mime Types”
- Enter a new extension (no leading period is required) and the appropriate mime type. Repeat as needed for each extension.
- Click “OK” to close all the dialogs
- Restart IIS i necessary
Try this method if a file fails to show even though you are certain it exists.
0 comments:
Post a Comment