In my application, I keep some files on server and make them available for download on some business logic.
All other file types are getting downloaded but .msg(Outlook message) file do not get downloaded and gives Error:
404 - File or directory not found. The resource you are looking for might
have been removed, had its name changed, or is temporarily unavailable.
Images, .docx, .txt all other files are working well.
The page is designed in ASP.NET and at client site following mark up comes.
Found on ASP.NET forum.
Create a handler, download it as a file:
or change the setting in IIS 6.0: