Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem with cfcontent to Excel 1

Status
Not open for further replies.

LarrySteele

Programmer
May 18, 2004
318
US
I've created a number of cfm pages that create .xls files using the cfcontent and cfheader tags. Right now I'm having difficulty troubleshooting a page generation problem as long as I do not include the aforementioned tags. As soon as I add the tags, I get a new blank page. No error, no data, no spreadsheet. I haven't a clue how to proceed troubleshooting this since there's nothing to see but a white page.

The tags that I'm using are:
[tt]<cfheader name="Content-Disposition" value="inline; filename=mgr_detail.xls">
<cfcontent type="application/msexcel">[/tt]

Any assistance on how to troubleshoot this would be most appreciated.

- Larry
 
Thanks GeneSp, but during the time that the page stopped working I had in fact generated the output to the page. That was the first troubleshooting method I used. Unfortunately, the page rendered perfectly. Only when I tried to render the page to Excel would it come up blank. Of course, now it renders correctly both on screen and in Excel just as it did for the year prior to the rendering problem from last month.

These types of faults are most unsettling. Just like Lyndon, I too always expect their untimely return.

- Larry
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top