If the CFC is called customer.cfc is stored in C:\Inetpub\wwwroot
\specialevents\components\ and the page that contains your invoke is
in C:\Inetpub\wwwroot\ then the invoke commmand works like this:
<cfinvoke component="specialevents.components.customer"
method="retrieveCustomers"
returnvariable="allCustomers"></cfinvoke>
The "component" attribute of cfinvoke utilizes the dot notation path
style to point to any cfc that is not located in the same local
directory, the web root, or any custom tag paths that you have defined
in the CF Administrator.
On Jan 29, 3:12 pm, vnc...@hotmail.com wrote:
> I have this component:
> <cfcomponent displayname="customer" hint="ColdFusion Component for
[quoted text clipped - 23 lines]
>
> Could not find the ColdFusion Component customer
vncntj@hotmail.com - 30 Jan 2007 15:02 GMT
You rock! The .cfc file was misspelled!!!
:)
On Jan 30, 8:29 am, "sid.w...@gmail.com" <sid.w...@gmail.com> wrote:
> If the CFC is called customer.cfc is stored in C:\Inetpub\wwwroot
> \specialevents\components\ and the page that contains your invoke is
[quoted text clipped - 38 lines]
>
> > Could not find the ColdFusion Component customer- Hide quoted text -- Show quoted text -
sid.wing@gmail.com - 31 Jan 2007 13:43 GMT
LOL - If I had a nickel for everytime THAT has happened to me or one
of my programmers... LOL
Glad to be of help...
On Jan 30, 9:02 am, vnc...@hotmail.com wrote:
> You rock! The .cfc file was misspelled!!!
>
[quoted text clipped - 46 lines]
>
> - Show quoted text -