cfcontent to excel issues
Hopefully this just a quick oversight...
I've basically got a page set up that pulls data from a sql db and displays the data into a two column table.
At the top of the page I have
<cfcontent type="application/vnd.ms-excel">
<cfheader name="Content-Disposition" value="filename=file.xls">
Now the routine works pefectly on my end. I'm prompted to save the excel file or open it. Upon either path, when I open the excel file it displays on my side just fine.
However, upon passing the file to other team members they are receiving one or two errors.
Error #1: The file you are trying to open, 'file.xls', is in a different format than specified by the file extension. Verify that the file is not corrupted and is from a trusted source before opening the file. Do you want to open the file now?
Error #2: Missing File: ...<path>\file\sheet001.htm
I had one person run a repair in excel and the output was that Excel indicated that it was a web page.
Alternatively I could do the xml to excel code but I'd like to keep things quick and simple. I'm sure I'm just missing something simple like an attribute but searching on these errors doesn't appear to bring up any relative results.
Ideas?
