OK, here is what the problem seems to be:

User extends Person which extends Company which extends Messages.

If each extend is stated as "#request.ClassPath#...." then I get this error.
If I hard code the path, then I don't get this error, but I can't move
between my Production and Testing on the production boxes as easily.

It is also interesting that Invoke works fine.

Has anyone run into this error before?

-----Original Message-----
From: Andy Ousterhout [mailto:[EMAIL PROTECTED]
Sent: Friday, August 08, 2003 4:25 PM
To: CF-Talk
Subject: Constant Value Error


      Why am I getting this error?  I've even tried changing
request.Classpath
to the actual value of "omg.classes." and still get the same error.
      This expression must have a constant value.


      The error occurred in C:\Inetpub\wwwroot\ClickFlow\Application.cfm:
line
68:                     session.User = createObject("component", 
"#request.ClassPath#user");


Help,
Andy



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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

Get the mailserver that powers this list at 
http://www.coolfusion.com

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to