Have you tried naming the spreadsheet with an xlsx extension. <cfheader name="content-disposition" value="attachment;filename=spreadsheet.xlsx"> <cfcontent type="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet">
On Wed, Aug 20, 2014 at 5:15 PM, Les Mizzell <lesm...@bellsouth.net> wrote: > > I've got an application running on CF8 that's been successfully > generating Excel reports for a good amount of time. > Recently, the user upgraded Office (using 2013 now) - and now it no > longer functions for them. > > Pretty simple stuff: > > <cfsetting enablecfoutputonly="Yes"> > <cfheader name="Content-Disposition" value="inline; filename=report.xls"> > <cfcontent type="application/vnd.ms-excel"><cfoutput> > <!--- table of crap goes here ---> > > ... with cftry and things where needed to catch errors... > > I don't use Excel on my machine, but the file opens perfectly for me in > Open Office Calc - just as it has been for years. > For the user though - file is pushed to them as normal, Excel opens - > and THEN you get a generic error (Something like "Sorry, there's been an > error") - which doesn't tell you anything... > > Kinda at a loss. What am I missing? Is there some security setting > inside Excel that's changed from one version to the next that needs > tweaking, or what? > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359187 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm