Have you tried: <cfquery name="q_getcountries" ..> ... </cfquery> <cfset application.q_getcountries = q_getcountries>
rick jonese wrote: > We've got a scoped query called application.q_getcountries on a CF5 box. > Today it started throwing the following error: > > Cannot process query > > Cannot register the query named application.q_getcountries with ColdFusion. > > There are two likely causes of this problem: > > - You are using a CFQUERY tag with a scoped query name. Query names > cannot be scoped. For example, *MyProject.MyQuery* is an invalid query > name. > - The query was set as the default query for a tag like CFOUTPUT, > CFLOOP, CFMAIL, etc. However, in the body of the tag this query was > modified > or removed. Default queries cannot be modified or removed inside the > bodies > of the tags that use them. > > If i rename it to application.q_getcountry it works just fine, and all other > applicaiton scope variables in the file run a-ok. I've placed locks around > thequery etc but still getting the error. > > The query is being run in the application.cfm file > > I found a post from Ray back in the day at > http://lists.evolt.org/archive/Week-of-Mon-20001218/022071.html but there > was no solution here. > > Any ideas? > jonese > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:218444 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

