Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Application variable erroring in function

Guest
Jun 04, 2010 Jun 04, 2010

All,

Have a hopefully simple question..why am I getting an  error when I try to reference an Application variable within a method?  Is there a trick to get the method to recognize the application variable?

Exceptions]

09:11:59.059 - Expression Exception - in  D:\webroot\model.cfc :  line 74

         Element DBADMIN is undefined in APPLICATION.
        


Scope Variables

Application Variables:
DBADMIN=databasename
327
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

LEGEND , Jun 04, 2010 Jun 04, 2010

This suggests to me that at the time the exception was raised, application.dbadmin didn't exist, but at some stage between then and when the debugging was rendered, it was created.

Where's application.dbadmin created?

--

Adam

Translate
LEGEND ,
Jun 04, 2010 Jun 04, 2010
LATEST

This suggests to me that at the time the exception was raised, application.dbadmin didn't exist, but at some stage between then and when the debugging was rendered, it was created.

Where's application.dbadmin created?

--

Adam

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources