1 Reply Latest reply on Jan 26, 2007 10:17 AM by insuractive

    Complex object types cannot be converted to simple values

    getwildwithnature
      Hosting moved to new server with newer version of CF. Site was written in CF 4.5. www.animalhelp.com

      Error reads as follows:

      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.

      Have tried everything, can't figure it out!!! Anyone have ANY ideas I can try?? Attached exact code where page stops and error comes up. Hopefully it is viewable ok.