Hi Jason,

I believe you misunderstood Rick Roots original Post. From what I've
read of this thread, it looks to me like you capitalized the "A" in your
CFML code, turning "application.dsn" into "Application.dsn".

Rick was actually talking about your Application.cfc file itself - not
anything in your CFML code.

Since Windows is not a case-sensitive OS, it's common for CFML
developers who develop on Windows systems to forget - or not even know -
that the true CFML specification for the Application.cfm or the
Application.cfc tag is to CAPITALIZE the "A" in "Application.cfm". Since
Linux and Mac OSX are UNIX-based, and UNIX is a case-sensitive OS, CFML
developers need to realize that this specification is enforced on those
systems. It's not enforced on Windows because Windows doesn't bother to
make the distinction when it comes to the names of your files.

So... to fix this, simply capitalize the "A" in your "Application.cfc"
file name.

Hope this helps!

--
Warm regards,
Jordan Michaels
Vivio Technologies
http://www.viviotech.net/
Blue Dragon Alliance Member
[EMAIL PROTECTED]


Jason T. Slack wrote:
> I am still getting Application.dsn not found.
> 
> -Jason
> 
> On Nov 15, 2006, at 10:17 AM, Rick Root wrote:
> 
> 
>>What error are you getting now?
>>
>>Rick
>>
>>Jason T. Slack wrote:
>>
>>>Hi Rick,
>>>
>>>I noticed that. Here is what I have:
>>>
>>>1:
>>>2: <!--- Check Locations table first to see if the location id and
>>>password is right--->
>>>3: <cfquery name="ckCreds" datasource="#Application.dsn#">
>>>4: SELECT LocationID, LocationName FROM Locations
>>>5:      WHERE LocationID = <Cfqueryparam cfsqltype="cf_sql_varchar"
>>>
>>>^ Snippet from underlying CFML source
>>>
>>>and I have the following in application.cfc
>>>
>>>
>>>   <cffunction name="onApplicationStart" returnType="boolean"
>>>output="false">
>>>     <!--- When did the application start? --->
>>>     <cfset APPLICATION.appStarted = now()>
>>>             
>>>     <cfset Application.dsn = "webPOS">
>>>             
>>>     <cfreturn true>
>>>   </cffunction>
>>>
>>>-Jason
>>>
>>>
>>>On Nov 15, 2006, at 9:54 AM, Rick Root wrote:
>>>
>>>
>>>
>>>>Jason T. Slack wrote:
>>>>
>>>>
>>>>>Yeah that put me further along in the process.
>>>>
>>>><cfquery name="ckCreds" datasource="Application.dsn#">
>>>>
>>>>You're missing an opening # sign on the datasource attribute
>>>>
>>>>Should be
>>>>
>>>><cfquery name="ckCreds" datasource="#Application.dsn#">
>>>>
>>>>whenever you get a missing end tag and you're absolutely sure
>>>>you're not
>>>>missing an end tag, the likely culprit is an unmatched #
>>>>
>>>>Rick

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:260542
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to