There are 2 things: the 500 error and the display of 'try'. I suspect the error is caused by the attribute onComplete="previewfile". The Javascript it points to may have an error. Remove the attribute, and see what happens.
To print the string, enclose it with the # symbol, as follows:
<cfoutput>#try#</cfoutput>