Tks Mike, turns out that I had caps in the cfc name. I'm on linux so for some reason it looks only for cfc names with lower caps. Linux os is case sensitive so it couldn't find the file and threw the error. Once I figured it out, it worked like a snap! DRE
-----Original Message----- From: Mike Townend [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 16, 2002 3:15 AM To: CF-Community Subject: RE: Stupid cfc help? Try something like... <cfobject name="hellocfc" component="_services.hellocfc"> <CFSET application.istheresunshine = hellocfc.goodmornincfc()> HTH -----Original Message----- From: Andre Turrettini [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 16, 2002 0:48 To: CF-Community Subject: Stupid cfc help? Maybe someone can help me with my boneheadedness. I'm just missing it in the documentation ro something. I've got in the webroot a folder called _services where I would like to put my cfcs. I've got a cfc in that folder called hellocfc. My page is 3 folders down from the webroot. Lets call it /where/what/when/page.cfm. So, I'm trying to call this cfc like so. <cfobject name="hellocfc" component="_services.hellocfc"> <cfinvoke component="#hellocfc#" method="goodmornincfc" returnVariable="application.istheresunshine"> But it says it cant find it. So, how do you reference the location of the cfc in the cfobject tag? Tks. DRE ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=5 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_community Get the mailserver that powers this list at http://www.coolfusion.com
