RTSol
asked on
msg file doesn't open in Firefox
Hi,
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.ContentTy pe = "application/vnd.ms-outloo k";
context.Response.AddHeader ("content- dispositio n", "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?
Best regards
RTsol
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.ContentTy
context.Response.AddHeader
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?
Best regards
RTsol
ASKER
It is not XP - it is Windows 7
Use a TableAdaptor to pull data from a SQL Database. A TableAdaptor will store everything you need to fool around with SQL DB's (e.g. SQL Queries, Connection Strings, ect.) It is a very hard topic to grasp though but, once you get it... http://msdn.microsoft.com/ en-us/libr ary/bz9tth wx(v=vs.80 ).aspx.
Ryan F
Ryan F
Dude, if it is just a path, rework something!
Check for the settings in the firefox.. like the pop up is disabled..
Regards
Rajeesh
Regards
Rajeesh
ASKER
Pop ups are allowed. It is only for msg files I have the problem. Other documents like .doc, .xls or .pdf open from Firefox with no problems.
Did you tried below
context.Response.AddHeader ("content- dispositio n", "inline;filename=" + docName);
context.Response.AddHeader
ASKER
Hi,
It made no difference. It still opens fine in Internet Explorer but with Firefox it needs to be downloaded first - otherwise:
The command line argument is not valid. Verify the switch you are using.
Bets regards
RTSol
It made no difference. It still opens fine in Internet Explorer but with Firefox it needs to be downloaded first - otherwise:
The command line argument is not valid. Verify the switch you are using.
Bets regards
RTSol
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Went for another solution
http://support.microsoft.com/kb/312346