I have never come across this in a ColdFusion.  One way you can try to
pinpoint the error is to place <cfabort> statement at say, line 50. Run your
code and if you don't get an error, place the <cfabort> on line 100 and run
the code.  Keep doing this until you get closer to the error.

Do you have any idea where it could be?  It sounds as though ColdFusion is
saying do not place a dynamic variable in this evaluating statement.  I
can't think of a place where this would be so.  Are you using <cfscript> in
this page anywhere?  If so, if you are using a case statement that reads
case constant, this may be the culprit.

Hope that helps.

  -----Original Message-----
  From: Ryan Mitchell [mailto:[EMAIL PROTECTED]
  Sent: Sunday, November 16, 2003 10:41 AM
  To: CF-Talk
  Subject: Very vague error message

  Hello

  I have a rather large page of code which ive been working on, and I get
the
  following error:

  This _expression_ must have a constant value.

  It doesnąt give me a line number, or a code snippet, just that text.

  As I said I have a lot of code (1000+ lines) and I cant quite tie down the
  problem... Has anyone come across this before?

  Thanks,
  Ryan


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

Reply via email to