Some more information.  The following page:


http://www.firstnight.org/TEST.CFM


has the following code:


<cfdump var="#CreateObject('Component',
'com.Depressedpress.DPDataSource')#">
<cfdump var="#CreateObject('Component',
'com.Depressedpress.DPException')#">


If you try the page you'll see that the first produces a component of
"DPDataSource" (incorrect) while the second produces
"com.depressedpress.DPException" (which is correct).  Both CFCs are in
the same folder, on the same server with same mappings.


How could this happen - and more importantly how could I fix it?


Jim Davis


-----Original Message-----
From: Jim Davis [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 28, 2003 4:52 PM
To: CF-Talk
Subject: Wierd CFC Path Problem


Okay - all of this was working yesterday with now problem.  No changes
that I know of (but obviously something that I don't know of).

I've got a CFC "com.depressedpress.DPDataSource" (which contains
datasource information).  Many of my component methods take this
component as input and validate its type.

On my development server the component (via CFDUMP) returns a type of
"com.depressedpress.DPDataSource" however just recently I was testing
code on production and gots errors: production is returning a type of
just "DPDataSource" which throws a type validation error.

The code on both boxes is the same.  The component is instantiated with
"CreateObject('Component', 'com.Depressedpress.DPDataSource')"

What could be the cause?  Any ideas?

Jim Davis

  _____  


[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to