Isn't GetRec a reserved word?  Maybe you should try changing the name of the query...

Regards,

Howie
  ----- Original Message -----
  From: Jon Block
  To: CF-Talk
  Sent: Friday, November 21, 2003 11:59 AM
  Subject: CFMX 6.1 windows problem... This is so simple... why doesn't it work?

  When I run this page....
  -----------------------
  <cfquery datasource="bling" name="getRec">
    select ...... (bla bla foo)
  </cfquery>

    <cfoutput query="getRec">
    #urlDecode('whytheheckdoesthisthowanerror')#
    </cfoutput>
  -----------------------
  I get ...
  -----------------------
  Error casting an object of type to an incompatible type. This usually
  indicates a programming error in Java, although it could also mean you have
  tried to use a foreign object in a different way than it was designed.

  The error occurred in X:\xxxxx\editRecord1.cfm: line 27
  Called from X:\xxxxx\x.cfm: line 33
  Called from X:\xxxxx\xx.cfm: line 93
  Called from X:\XXXXXX.cfm: line 94
  -----------------------
  Please help! (I watered down the query and the file names just to show you
  the root of the problem)....

  Thanks,
  Jon


[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to