Internet Explorer no longer opens tab-delimited files (in Excel)
I'm generating tab-delimited files that open as spreadsheets in Excel. This works fine in Firefox but does not work in Internet Explorer. It used to work fine in IE also before upgrading to Microsoft Office 2007.
The error I'm getting is "Microsoft Office Excel cannot access the file..."
Here are the critical lines in my ColdFusion page:
<!--- tell browser it's an Excel file --->
<CFCONTENT TYPE="application/vnd.ms-excel">
<!--- tell Internet Explorer to open as Excel file --->
<CFHEADER NAME="Content-Disposition" VALUE="filename=mycontent.xls">
then I'm outputting the tab-delimited data.
When I go to the URL, IE prompts me to open or save the file but I can't even save the file (it says "Internet Explorer cannot download myfile.cfm from myserver.com") so maybe the problem is with a new version/patch of IE (I have IE 7 on Windows XP). Again, this works fine in Firefox but unfortunately, most of my users use IE so I have to get this working in IE.
Any idea how to make this work with IE/MS Office 2007?
Thanks.
