Files with extension .MSG
Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=17388
Printed Date: 15 April 2026 at 11:56am Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com
Topic: Files with extension .MSG
Posted By: Dennis_Kool
Subject: Files with extension .MSG
Date Posted: 29 November 2005 at 10:31am
Hello all. For uploading files, i use PureASP. This works perfectly.
Downloading the files from the forum also works, but only for some file extensions.
For instance, files with extension .doc, .gif or .rtf can be downloaded.
But files with extension.msg (Outlook Message Format) cannot be
downloaded. If you click on the link itself, i get a page stating "Page
cannot be found". Right clicking and choosing Save Target As gives a
similar error, where it says it cannot find the file.
If i rename once of those files to .rtf, all of a sudden it can download the file. Frustrating......
Has anyone seen a similar issue before ?
Thx,
Dennis
|
Replies:
Posted By: WebWiz-Bruce
Date Posted: 29 November 2005 at 1:09pm
Have you tried with a different browser to see of if it is a browser issue?
------------- https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting
|
Posted By: Dennis_Kool
Date Posted: 29 November 2005 at 2:56pm
I have tried with both Internet Explorer and Firefox. No difference.
I have tried this from a client, as well as directly from the server.
Also, no difference.
It is odd that it does work for some extensions, and not for others. You would expect that it works either for all, or for none.
Can this be related to IIS 6.0 perhaps (just thougt of this) ?
I'll have a look in the morning.
|
Posted By: dpyers
Date Posted: 29 November 2005 at 6:01pm
The other extensions probably have pre-defined mime types in IIS. You
may have to add .msg as a downloadable mime type in iis, or set up a
script to stream them and add a downloadable mime type to the
headers. IIS is supposed to default to text for unknown mime-types
though.
Even with the mime type, I'm not sure it would work for this extension
if the server was already configured to open .msg files in outlook -
don't know which takes precedence, the server or iis.
-------------
Lead me not into temptation... I know the short cut, follow me.
|
Posted By: Dennis_Kool
Date Posted: 30 November 2005 at 5:02pm
This did the trick. I created a new MIME type in IIS for extension .msg, attaching it to application/msoutlook.
Thx for the sugggestion !!
|
|