How about removing the reset="yes"?

-----Original Message-----
From: Adam Haskell [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 15, 2005 6:57 AM
To: CF-Talk
Subject: Re: CF to excel

without the cfheader tags is the page loaind in the broiwser properly?

Adam H



On Mon, 14 Mar 2005 21:47:16 -0600, Eric Creese <[EMAIL PROTECTED]> wrote:
> Okay I tried your suggestion and got the same error
> 
>     The page cannot be displayed
>      There is a problem with the page you are trying to reach and it
cannot
> be displayed.
> 
> --------------------------------------------------------------------------
> 
>      HTTP 500 - Internal server error
>      Internet Explorer
> 
> ----- Original Message -----
> From: "Dawson, Michael" <[EMAIL PROTECTED]>
> To: "CF-Talk" <cf-talk@houseoffusion.com>
> Sent: Monday, March 14, 2005 9:32 PM
> Subject: RE: CF to excel
> 
> > I use this with success:
> >
> > <cfheader name="Content-Disposition" value="attachment;
> > filename=#fileName#">
> > <cfcontent type="Application/Unknown" reset="yes">
> >
> > [html content goes here...]
> >
> >
> > This code snippet should prompt you to download/save each spreadsheet
> > w/o opening Excel directly.
> >
> > M!ke
> >
> > -----Original Message-----
> > From: Eric Creese [mailto:[EMAIL PROTECTED]
> > Sent: Monday, March 14, 2005 9:22 PM
> > To: CF-Talk
> > Subject: CF to excel
> >
> > How come the following will not work. I get a 500 error
> >
> > <html>
> > <head>
> > <title>CLASS of <cfoutput>#getYRInfo.class_year#</cfoutput> Spread
> > Sheet</title> </head> <body>
> >
> > <cfcontent type="application/ms-excel">
> > <CFHEADER NAME="content-disposition" VALUE="filename=classroster.xls">
> >
> > <cfoutput><table cols="11"></cfoutput>
> > <cfoutput query="getclass">
> > <tr>
> >  <td ><strong>#fname#</strong></td>
> >  <td ><strong>#lname#</strong></td>
> >         <td ><strong>#mname#</strong></td>
> >         <td ><strong>#addr1#</strong></td>
> >         <td ><strong>#addr2#</strong></td>  <td
> > ><strong>#city#</strong></td>
> >         <td ><strong>#state#</strong></td>
> >         <td ><strong>#country#</strong></td>
> >         <td ><strong>#zip#</strong></td>  <td
> > ><strong>#email#</strong></td>
> >         <td><strong>#phone#</strong></td> </tr> </cfoutput>
> > <cfoutput></table></cfoutput> </body> </html>
> >
> >
> 
> 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:198790
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to