If your server has case sensitive file names turned on, (or its a unix server) then Application.cfm != application.cfm
And (don't ask me why) CFSERVER looks for Application.cfm Else, do you have another Application.cfm that CFSERVER is finding first on its way up the directory tree trying to find an Application.cfm? Terry Fielder Network Engineer Great Gulf Homes / Ashton Woods Homes [EMAIL PROTECTED] > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On > Behalf Of Glenn Shukster > Sent: Friday, March 01, 2002 3:03 PM > To: cfTalk > Subject: [CFTALKTor] Application.cfm question > > > I thought Application.cfm was included in all files automatically. > > In some files the below line will bomb > <cfquery name="qryName" datasource="#ODBC_DSN#"> > ... > > In Application.cfm > <cfset ODBC_DSN = "MyODBCName"> > > In many of the cfm files this works perfectly without doing anything. > In a few others I have to do a cfinclude of the application.cfm or it > bombs. > Why? > -- > Cheers > Glenn Shukster (Logic Fundamentals Inc.) Thornhill, Ont. Canada > Phone:(905)771-6458 Fax:(905)771-6819 www.logicfundamentals.com > President of TDUG www.tdug.com > - > You are subscribed to the CFUGToronto CFTALK ListSRV. > This message has been posted by: Glenn Shukster > <[EMAIL PROTECTED]> > To Unsubscribe, Please Visit and Login to http://www.CFUGToronto.org/ > Manager: Kevin Towes ([EMAIL PROTECTED]) > http://www.CFUGToronto.org/ > This System has been donated by Infopreneur, Inc. > (http://www.infopreneur.net) > - You are subscribed to the CFUGToronto CFTALK ListSRV. This message has been posted by: [EMAIL PROTECTED] To Unsubscribe, Please Visit and Login to http://www.CFUGToronto.org/ Manager: Kevin Towes ([EMAIL PROTECTED]) http://www.CFUGToronto.org/ This System has been donated by Infopreneur, Inc. (http://www.infopreneur.net)
