Shannon,

Do a search for all "application.cfm" and "application.cfc" files... you
probably have one with the same name as your prod application. If you have 2
applications named the same they will both be able to alter the same
application scope.

-Mark

Mark Kruger - CFG
CF Webtools
www.cfwebtools.com
www.coldfusionmuse.com
O: 402.408.3733 x105
E: [email protected]
Skype: markakruger

-----Original Message-----
From: Shannon Rhodes [mailto:[email protected]] 
Sent: Tuesday, August 23, 2011 12:20 PM
To: cf-talk
Subject: Application Variable Randomly Resetting


This is too bizarre for me to make heads or tails of it.

Randomly, on production, we're getting a hard error because the application
variable for our datasource is referring to the name of the QA dsn (which
isn't defined on production) instead of the production dsn.  It happened to
me today...a hard error was buried in the nav area, and when I looked at the
line number it referenced, it had the exact same variable name at the error
line as it had in all the queries above it.  It was as though it randomly
changed what the variable resolved to after many successful queries above it
(the rest of the page rendered just fine).  When I clicked away and clicked
back, the hard error was mysteriously gone.

We've searched the entire production codebase for a reference to the QA DSN;
nada.  QA isn't even hosted on the same server.  Any ideas where to look
from here?  Thanks! 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:346970
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to