I have gotten an odd error twice in the past several weeks.

In both cases, my code was fine by any standard and had been working for about a year. 
 Then all of a sudden, one line of code was causing an error.  In the most recent 
case, it was storing a  query in the application scope.  

<cfquery datasource="..." name="application.Nav">

This above code worked fine for the history of my site until yesterday for no apparent 
reason.  I finally 'fixed' the problem by just changing the variable name in the query 
and all references to it:

<cfquery datasource="..." name="application.Nav2">

This makes me nervous because there was a similar problem a couple weeks ago trying to 
save a structure to application scope, and that code too was code that had worked fine 
for the better part of a year.

Is anyone aware of such an issue?  Is there a patch or something that my server may be 
missing?  My only guess is that the query somehow got botched once and then the 
variable name was corrupted.  Could this be a locking issue?

Running CF 4.5 on windows platform.  The site is hosted, so I don't have access to CF 
admin and I am not sure of the exact version/service pack, but the host does a good 
job of keeping current in that regard.

TIA

---------------------------------------

  Ben Morris

  Web Site Developer
  American Federation of Government Employees, AFL-CIO
  (202) 639-6448
  www.afge.org


______________________________________________________________________
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to