Unfortunately, CF will only check the local directory for the CFC, or the
cfc/custom tag mappings in the administrator. It will not search
recursively down from the current folder, i.e.: "testSite.cfcs.client". You
should ask your hosting provider to set up at least one mapping for you.
I'd recommend they map "/" as the folder that they store everyone else's
"websites" in, since most providers use other folders besides the default
webroot. This way you, and everyone else on the (assumed) shared server,
can do exactly what you are talking about. If they won't do this for you,
then you need to change up your hosting partners->
Tyler
----- Original Message -----
From: "Michael Tangorre" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Friday, June 06, 2003 10:44 PM
Subject: cfc woes
Can someone help me figure out why this is not working..
<cfset clientObj = CreateObject("component","testSite.cfcs.client") />
My directory structure is set up as follows:
C:\inetpub\wwwroot\testSite\cfcs
I get an error saying "Could not find the ColdFusion Component
testSite.cfcs.client"
Am I not using the correct notation?
TIA,
Mike
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription:
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at
http://www.coolfusion.com
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4