Share via


Adding MIMEType for .msg (MS Outlook) files

Question

Wednesday, April 21, 2010 8:57 AM

Hi,

I have an asp page that allows users to view documents, so far all document type are working great. But when I try to open an .msg file It doesnt know what program to use. I did some digging and found that this is probably because the MIMEType is not listed in my IIS. I know I need to add .msg "application/vnd.ms-outlook" But the MSDN post that I read said to open up the IIS MMC and right click on the local computer listed and go to properties. Properties does not appear as an option for me on the local computer list (I am assuming that this is because I am running IIS 5.1 on an XP machine, rather than IIS 6) I did find another post where someone said to do the following:

right click on my app

-> HTTPHeaders

-> File Types

->Insert values ".MSG"  and Content Types as "application/vnd.ms-outlook"

->Apply

I was able to do this, but it did not fix the problem. Does anyone have any ideas on how to add an MIMEType correctly in IIS 5.1?

Thanks

Chris

All replies (1)

Friday, April 23, 2010 4:02 AM âś…Answered

Hi,

Please refer to:

http://stackoverflow.com/questions/234526/can-i-setup-an-iis-mime-type-in-net

http://www.coderesource.org/messages-13-129323-python-seting_up_python_on_iis_51 .