what si your folder structure? how are you calling your cfc?
what is the
eror you get? did you use cf's ajax debugger to debug the
error? do you
have any special mappings set up in cf admin? any virtual
directories in
IIS related to your app or cfcs?
here's verbatim from cf dev guide:
"
If you use a cfinvoke or cfobject tag, or the CreateObject
function, to
access the CFC from a CFML page, ColdFusion searches
directories in the
following order:
a) Local directory of the calling CFML page
b) Web root
c) Directories specified on the Custom Tag Paths page of
ColdFusion
Administrator
- If you specify only a component name, ColdFusion searches
each of
these directories, in turn, for the component.
- If you specify a qualified path, such as
myApp.cfcs.myComponent,
ColdFusion looks for a directory matching the first element
of the path
in each of these directories (in this example, myApp). If
ColdFusion
finds a matching directory, it looks for a file in the
specified path
beneath that directory, such as myApp\cfcs\myComponent.cfc,
relative to
each of these directories.
Note: If ColdFusion finds a directory that matches the first
path
element, but does not find a CFC under that directory,
ColdFusion
returns a not found error and does not search for another
directory.
- If you invoke a CFC method remotely, using a specific URL,
a form
field, Flash Remoting, or a web service invocation,
ColdFusion looks in
the specified path relative to the web root. For form fields
and URLs
that are specified directly on local web pages, ColdFusion
also searches
relative to the page directory.
"
Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com/