Service Alerts

Web Publishing on Windows

Error: An end tag is omitted or mismatched quotes

It is a common error to omit the end tag for CFQUERY, CFTABLE, CFOUTPUT, CFIF, or CFMAIL. It is nearly as common to forget to close a quoted string. In both cases, ColdFusion shows the error:

Cannot parse template file 
	"C:\CFSCRIPTS\\CF_SYNTAX2.CFM"

To address this error:

  • Check for missing or mistyped </CFOUTPUT> or </CFMAIL> tags.
  • Make sure that all <CFOUTPUT> and <CFMAIL> tags have matching ending tags.
  • Make sure that all pounded symbols (such as #Variable#), as well as all single-quoted and double-quoted strings have their opening and closing characters matched.