Has anyone seen this type of error with cfcontent before and what this
means:
Error Diagnostic Information
Context validation error in tag CFCONTENT
The tag is not correctly positioned relative to other tags in the
template: tag CFCONTENT must have empty content. This means that there
can be no tags or text or even whitespace characters between the
<CFCONTENT> and </CFCONTENT> markers.
The error occurred while processing an element with a general identifier
of (CFCONTENT), occupying document position (12:1) to (12:54).
The specific sequence of files included or processed is:
d:\inetpub\wwwroot\company\searches\prod_excel2.cfm
here's the cfcontent page code:
<cfquery name="Search_product" datasource="CMS_master">
select * from
contact_detail cd , product_link pl
where
cd.contact_id= pl.contact_id
and cd.state in (#states#)
and pl.prod_id in (#products#)
</cfquery>
<cfoutput>
<CFHEADER NAME="Content-Disposition" VALUE="inline; filename=foo.xls">
<cfcontent file="filename" type="application/msexcel">
<table>
<tr>
<th>address1</th> <th>address1</th> <th>city</th>
</tr>
<cfloop query="Search_product">
<tr>
<td>#address1#</td>
<td>#address1#</td>
<td>#city#</td>
</tr>
</cfloop>
</table>
</cfcontent>
</cfoutput>
Tim Laureska
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:190928
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=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54