Doug, That's been the issue all along. If I put the cfc into a directory and make a virtual directory that points to it, the cfc doesn't work and browsing to the cfc doesn't work.
If I do a cold fusion mapping to the cfc directory then the cfc works, but I can't let the programmers browse to the cfc to get the hint information. It just returns a file not found error. That is why I was considering doing both to see what happens. I just haven't had time to do it yet. If you can think of another way for the cfc to work and browsing to the cfc to work, without copying it into each website, please let me know. Steve -----Original Message----- From: Douglas Knudsen [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 25, 2005 1:42 PM To: CF-Talk Subject: Re: CFCs and virtual directories. virtual directories respond to HTTP calls, in other words calls to IIS. Mappings are used by CF only. If you want a CF mapping to be available via HTTP, you have to create a virtual dir. Doug On Tue, 25 Jan 2005 11:57:14 -0500, DURETTE, STEVEN J (AIT) <[EMAIL PROTECTED]> wrote: > Ok, I did some testing and found out that while the cfc does work, you > can't get information from it like you would if you by doing something > like http://localserver/mycfcdir/mycfc.cfc > > I'm thinking about seeing what happens when you have both a virtual > directory in iis and a mapping in ColdFusion. Which would win out. > Would it still work. > > Later, > Steve > > > -----Original Message----- > From: John Beynon [mailto:[EMAIL PROTECTED] > Sent: Tuesday, January 25, 2005 6:55 AM > To: CF-Talk > Subject: Re: CFCs and virtual directories. > > > yes that will work...of course, if you had a folder named siteModel off > the webroot it would work too, provided your '/' cfmapping goes to the > web root > > jb. > > > OK. So let's say i have a mapping in cf administrator called > > /siteModel. I should be be able to invoke a cfc by either > > > > <cfinvoke component="siteModel.myCFC" method="..."> > > > > or > > > > createObject("component","siteModel.myCFC") > > > > ? > > > > Dwayne > > > > ---------- Original Message ---------------------------------- > > From: "Jared Rypka-Hauer - CMG, LLC" <[EMAIL PROTECTED]> > > Reply-To: [email protected] > > Date: Tue, 25 Jan 2005 01:54:55 -0600 > > > > >CFCs can be accessed in a few ways... > > > > > >Via the standard CF custom tag directory, a custom-custom tag > > >directory, or in the immediate folder of the calling template: > > >createObject("component","myCFC") > > > > > >Or in a folder below any of the above: > > >createObject("component","folder.from.current.location.myCFC") > > > > > >There's a very specific search order that governs where CFCs should > > be > > >located and how CF finds them if you only specify a CFC name. > > > > > >Check the livedocs here: > > >http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/buildi12.htm > > > > > >Laterz, > > >J > > > > > > > > >On Tue, 25 Jan 2005 01:18:19 -0500, Dwayne Cole <[EMAIL PROTECTED]> > > > wrote: > > >> I thought tha this mapping issue was the problem with cfc's. > > Mapping works when your using <cfinclude>. I haven't wrapped most of > > my "cffunction" libraries with cfcomponent because of this issue of > > how to find them. Plus my "cfc's" don't contain instance data, I'm > > not using flash yet, and I'm not using webservices. So for me I > > works well to use <cfinclude> to include the set of <cffunction> > > before I make the call or include them in the application.cfm page. > > >> > > >> Dwayne. > > >> > > >> > > > > > > > > >-- > > >Continuum Media Group LLC > > >Burnsville, MN 55337 > > >http://www.web-relevant.com > > >http://cfobjective.blogspot.com > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:191726 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

