In CF5 and MX, "URL" is a reserved word. Change the variable name from "URL" to something else (eg., "gotoURL"), and you should be fine.
-- Mosh Teitelbaum evoch, LLC Tel: (301) 625-9191 Fax: (301) 933-3651 Email: [EMAIL PROTECTED] WWW: http://www.evoch.com/ > -----Original Message----- > From: Dustin Snell [Unisyn Software, LLC] [mailto:[EMAIL PROTECTED]] > Sent: Friday, November 22, 2002 12:33 PM > To: CF-Talk > Subject: Complex object types to simple value?? > > > Hi again... trying to port from 4.5 to MX and I get this error. > Anyone have > any idea? > > -Dustin Snell > Unisyn Software, LLC > > Error Occurred While Processing Request > Complex object types cannot be converted to simple values. > The expression has requested a variable or an intermediate > expression result > as a simple value, however, the result cannot be converted to a simple > value. Simple values are strings, numbers, boolean values, and date/time > values. Queries, arrays, and COM objects are examples of complex values. > The most likely cause of the error is that you are trying to use a complex > value as a simple one. For example, you might be trying to use a query > variable in a <CFIF> tag. This was possible in ColdFusion 2.0 but > creates an > error in later versions. > > The Error Occurred in > C:\Inetpub\wwwroot\unisyn\administration\Application.cfm: line 223 > > 221 : <CFOUTPUT> > 222 : > 223 : <FORM ACTION="#url#" METHOD="Post" NAME="frmLogin" > ID="frmLogin"> > 224 : > 225 : <INPUT TYPE="hidden" NAME="origURL" VALUE="#cgi.HTTP_REFERER#"> > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm