I have a web page from which I open files stored in SQL. To open them I use a IHttpHandler with this code:
context.Response.ContentType = "application/vnd.ms-outlook";
context.Response.AddHeader("content-disposition", "attachment;filename=" + docName);
This works fine to open msg files in Internet Explorer but when I use Firefox I get the following message:
The command line argument is not valid. Verify the switch you are using.
Any idea how to fix this?