ColdFusion CFC’s

Working with ColdFusion CFC’s today, ran into a couple problems and I’m wondering if I’m alone or just inexperienced (or both):

a) when invoking a CFC as a webservice, do you have to have a CFIDE virtual directory in IIS in order for the CFC to function? (ie: I’m using multiple virtual hosts in IIS, if I don’t have a CFIDE virtual directory defined in IIS, calls to my webservice located in folder of the virtual host aren’t picked up)

b) can you use custom tags via cfmodule in a CFC? I’m getting an error (specifically “coldfusion.tagext.lang.IncludeTag$NoSuchIncludeTemplateException : Could not find the included template..” ) when using CFMODULE to call a custom tag. I’m absolutely positive that the custom tag path is correct… exact same page in the same directory (just not a CFC) uses it fine… Seems almost like CFC’s lose track of where they live. I saw a thread on forums, but no answer other than check your mapping… which I’ve done.

3 thoughts on “ColdFusion CFC’s”

  1. update… I’m calling a custom tag like this:

    and the error message shows that the variable request.cfa.mapping is correctly interpreted, but CF can’t find the custom tag (and I’m using this tag elsewhere..) Entire error message:

    [coldfusion.tagext.lang.IncludeTag$NoSuchIncludeTemplateException : Could not find the included template /cfa_mintz/customtags/coapi/object.cfm.]

  2. Arron I’m having the same problem. I’m starting to think that cfmx has some serious issues with webservices.

  3. How do you create a virtual directory mapping in IIS to the CFIDE directory? I need this to get the cfform required to work. This is for my local machine.

Leave a Reply

Your email address will not be published. Required fields are marked *