Solved

Link to msg file

Posted on 2006-11-14
7
2,427 Views
Last Modified: 2010-08-05
I have a web page with links to files on a share on the web server. I have  no problem opening the links when they point to .pdf, .doc, .xls files but if  the link points to a file with the .msg extension (Outlook Express message) I get  the "HTTP Error 404 - File or directory not found" error message, even though the file is in the correct folder. I am able to open the file from the web server after installing Outlook on the server.  I have the default application for .msg files to be outlook.

Running IIS 6.0 on Win 2003 Server w/ SP1


Any ideas as to why I am not able to open the .msg file?
0
Comment
Question by:estackpo
  • 4
  • 3
7 Comments
 
LVL 31

Accepted Solution

by:
alorentz earned 500 total points
Comment Utility
If you want to allow this, you have to set up IIS to serve .msg file.  They are not allowed by default.
0
 
LVL 31

Expert Comment

by:alorentz
Comment Utility
Add .msg to MIME types in IIS.
0
 
LVL 1

Author Comment

by:estackpo
Comment Utility
alorentz

I added a new mime type and put .msg as the extension and application/outlook as the MIME type: and got the same error. What did I do wrong?
0
What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 
LVL 31

Expert Comment

by:alorentz
Comment Utility
Never tried it with msg files... naybe this will help:
http://support.microsoft.com/default.aspx?scid=kb;en-us;326965
0
 
LVL 1

Author Comment

by:estackpo
Comment Utility
I discovered that if I go into the properties of the Virtual directory of the specific Web App I am concerned with and change add the Mime Type there then the link opens with outlook. The only problem now is I get a message that netscape doesnt know how to handle the file type and gives the option to open with the default. This would be ok but the box to always perform this action is grayed out.

If I go to the properties of Netscape and add the mime type to the helper apps then if I select Outlook it opens a blank message with the linked message as an attachment which is not acceptable. In any case it does not let me not ask do I want to do this.

Any ideas on how to handle this last hurdle.
0
 
LVL 31

Expert Comment

by:alorentz
Comment Utility
This is ASP section, not browser support.  Changing the MIME type as I suggested worked for you.
0
 
LVL 1

Author Comment

by:estackpo
Comment Utility
Ok, I will check there. Thanks for all your help!
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

I have helped a lot of people on EE with their coding sources and have enjoyed near about every minute of it. Sometimes it can get a little tedious but it is always a challenge and the one thing that I always say is:  The Exchange of information …
Have you ever needed to get an ASP script to wait for a while? I have, just to let something else happen. Or in my case, to allow other stuff to happen while I was murdering my MySQL database with an update. The Original Issue This was written…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now