Error Invoking CFC... but it's there! I see it!

Greetings all -
I'm hoping someone can help explain why this following attempt at binding a CFC is not working:
1. I set up a CF Server Mapping to my cfc folder:
Logical path = /testcfc
Physical path = E:\ColdFusion8\Components\testcfc
2. I set up a virtual directory to my cfc folder:
Virtual path: /testcfc
Physical path: E:\ColdFusion8\Components\testcfc
3. If I use CFINVOKE to call the CFC, it works as expected.
<cfinvoke component="testcfc.testRequests" method="get_Clients" returnvariable="var">
<cfinvokeargument name="fiscal_year" value="#year(now())#">
</cfinvoke>
<cfdump var="#var#">
4. If I attempt to bind the CFC, I get the error "Error Invoke CFC /testResults.cfc: Not Found"
<cfselect name="tstClientID" id="tstClientID" bind="cfc:testcfc.tstRequests.get_Clients('#year(now())#')" bindonload="true" value="client_id" display="client_name" />
Debugging the error, I see that CF is attempting to find the CFC in the root directory of the app... it is disregarding the directory path ("testcfc") specified entirely. Why??
The bizarre thing is, I've set up the same structure on my PC/dev environment, and it works fine.
How can I further debug this issue? It's got to be a mapping problem, but can;t see what I've done wrong. Any help truly appreciated!
Doug

I recently stumbled upon this post:
http://www.codersrevolution.com/index.cfm/2008/9/10/ColdFusion-CFC-Binding-Ajax-Proxy-and- Updater-1#comments
Sure enough, my prod environment is running 8.0.0. I'm going to apply to apply the patch to 8.0.1 and see if that corrects the issue. I hope.
Doug

Similar Messages

  • Administrato CF 10 error invoking cfc after update.

    went through our update cycle for our CF 10 admin for the latest updates.  We are now receiving the following error:
    "Error invoking CFC /CFIDE/Administrator/updates/download.cfc:
    internal server error [enable debugging by adding 'cfdebug' to your URL parameters to see more information]"
    Now the issue here is that even when ?cfdebug is added nothing comes up but the error.
    We have a non-standard configuration for our administrator, it does not reside in the the root as it kept making our compliance scans fail.  to resolve we had to move the administrator to our c:<newfolder>, so that the administator would not fail our scans because of the password being passed in plain text.
    Per the error we have checked to make sure that the download.cfc is in the proper location and has the proper permissions and access.
    After the updates we now receive the above mentioned errors. any assistance in resolving would be great.
    thanks in advance.

    Steve, as Adam said in his post in Nov ’12, you should be able to resolve things by putting them back as they should be, and then use other means to protect your admin. Have you tried that?
    If you remain stumped with either getting that working, or getting things working the way you want them to, I’ll just note that you don’t need to suffer this. Either problem should be solvable in less than an hour of direct remote consulting assistance, which I could provide.
    I know it stinks to see a “sales pitch” here, but since you’re doing things non-standard, there could be a few things that would make it hard to resolve purely here in the forums. And if you’ve been suffering this for more than a year, it just seems worth offering you an option to get this solved perhaps very quickly. More on the consulting page at carehart.org.
    /charlie

  • Error invoking CFC for gateway

    Am getting the following error while invoking the event
    gateway
    "Error invoking CFC for gateway myGateway: Event Handler
    Exception. An exception occurred when invoking a event handler
    method from Application.cfc The method name is: onRequestStart."
    Please advice

    I am getting an error like this when my eventgateway gets invoked for directorywatch:
    Error invoking CFC for gateway watchInboundFiles: null {GATEWAYTYPE={FileWatcher},ORIGINATORID={},CFCMETHOD={onDelete},DATA={{FILENAME={/Users/y oosafabdulla/Sites/bahuvlintbeaches-staging/int/core/internationalBeaches/iptv/dw/1_vod_xm l.cfc},TYPE={DELETE}}},CFCPATH={/Users/yoosafabdulla/Sites/bahuvlintbeaches-staging/int/co re/internationalBeaches/iptv/dw/directory_watch.cfc},GATEWAYID={watchInboundFiles}}.
    I just want to dump the cfevent data into a text file.

  • I took some pictures and a movie on my iphone sync to iTune but it not there to see it back on the phone

    I took some pictures and a movie on my iphone sync to iTune but it not there to see it back on the phone

    Hello Bath668,
    Thanks for using Apple Support Communities.
    Please use the instructions in the following article to report a problem with the rental.
    How to report an issue with your iTunes Store, App Store, Mac App Store, or iBooks Store purchase
    http://support.apple.com/kb/HT1933
    Take care,
    Alex H.

  • Error invoking cfc from url variable

    I am using a url with a variable tacked on it. When I call a file with to create a cfgrid the cfc it uses gives an error. It tells me the variable is undefined. This is a problem since I need to use it in the sql to create the grid. Seems like this is not the right way to get the variable to the sql statement but I dont know how else to do it since I have to use a url to invoke the grid. Thanks in advance for your help.

    this is link to editable grid
    <a href="participantgrid.cfm?course_id=#getresults.procourse_id#">#procourse_course#</a>
    <!---participantgrid.cfm --- below--->
    <cfform>
    <cfinput name="course_ID" value="#url.course_id#" type="hidden"> 
        <cfgrid name="protrainparticipants"
                format="html"
                pagesize="10"
                striperows="yes"
                selectmode="edit"
                delete="yes"
                bind="cfc:participantcomp.getparticipants({cfgridpage},
                                            {cfgridpagesize},
                                            {cfgridsortcolumn},
                                            {cfgridsortdirection}, {course_id})"
                onchange="cfc:participantcomp.editparticipant({cfgridaction},
                                                {cfgridrow},
                                                {cfgridchanged})">
            <CFGRIDCOLUMN NAME="proparticipant_course_id"
                WIDTH=2
                DISPLAY="no">
            <CFGRIDCOLUMN NAME="proparticipant_id"
                HEADER="Paricipant ID"
                WIDTH=10
                ITALIC="NO"
                HEADERALIGN="center"
                HEADERITALIC="NO"
                HEADERBOLD="YES"
                DISPLAY="no">
            <CFGRIDCOLUMN NAME="proparticipant_firstname"
                HEADER="First Name"
                WIDTH=120
                ITALIC="NO"
                HEADERALIGN="center"
                HEADERITALIC="NO"
                HEADERBOLD="YES"
                DISPLAY="YES"
                SELECT="YES">
            <CFGRIDCOLUMN NAME="proparticipant_lastname"
                HEADER="Last Name"
                WIDTH=120
                ITALIC="No"
                HEADERALIGN="center"
                HEADERITALIC="No"
                HEADERBOLD="Yes"
                BOLD="Yes"
                DISPLAY="Yes">
                <CFGRIDCOLUMN NAME="proparticipant_p_country"
                HEADER="Country"
                WIDTH=80
                ITALIC="No"
                HEADERALIGN="center"
                HEADERITALIC="No"
                HEADERBOLD="Yes"
                BOLD="Yes"
                DISPLAY="Yes">
                <CFGRIDCOLUMN NAME="proparticipant_email"
                HEADER="Email"
                WIDTH=160
                ITALIC="No"
                HEADERALIGN="center"
                HEADERITALIC="No"
                HEADERBOLD="Yes"
                BOLD="Yes"
                DISPLAY="Yes">
                <CFGRIDCOLUMN NAME="proparticipant_phone"
                HEADER="Phone"
                WIDTH=100
                ITALIC="No"
                HEADERALIGN="center"
                HEADERITALIC="No"
                HEADERBOLD="Yes"
                BOLD="Yes"
                DISPLAY="Yes">
                <CFGRIDCOLUMN NAME="proparticipant_fax"
                HEADER="Fax"
                WIDTH=100
                ITALIC="No"
                HEADERALIGN="center"
                HEADERITALIC="No"
                HEADERBOLD="Yes"
                BOLD="Yes"
                DISPLAY="Yes">
                <CFGRIDCOLUMN NAME="proparticipant_projid"
                HEADER="Project ID"
                WIDTH=80
                ITALIC="No"
                HEADERALIGN="center"
                HEADERITALIC="No"
                HEADERBOLD="Yes"
                BOLD="Yes"
                DISPLAY="Yes">
                <CFGRIDCOLUMN NAME="proparticipant_agency"
                HEADER="Agency"
                WIDTH=80
                ITALIC="No"
                HEADERALIGN="center"
                HEADERITALIC="No"
                HEADERBOLD="Yes"
                BOLD="Yes"
                DISPLAY="Yes">
        </cfgrid>
    </cfform>
    <!---- participantcomp.cfc--below --->
    <cfcomponent output="false">
    <cfset THIS.dsn="protraining">
    <!--- Get participants --->
    <cffunction name="getparticipants" access="remote" returntype="struct">
      <cfargument name="page" type="numeric" required="yes">
      <cfargument name="pageSize" type="numeric" required="yes">
      <cfargument name="gridsortcolumn" type="string" required="no" default="">
      <cfargument name="gridsortdir" type="string" required="no" default="">
      <cfargument name="course_id" type="numeric" required="yes" default="#course_id#">
      <!--- Local variables --->
      <!--- Get data --->
      <CFQUERY NAME="Chkcourse2" DATASOURCE=#THIS.dsn#>
                SELECT procourse_id, procourse_course
                FROM    afrreg38.tblProcourse
                WHERE   procourse_id = #arguments.course_id#
                </CFQUERY>
      <cfset current_course_id = #chkcourse2.course_id#>
      <cfquery name="qrygetparticipants" datasource="#application.dsn#">
      select   pp.proparticipant_id, pp.proparticipant_course_id, pp.proparticipant_firstname, pp.proparticipant_lastname, pc.procourse_course, pp.proparticipant_p_country, pp.proparticipant_email, pp.proparticipant_phone, pp.proparticipant_fax, pp.proparticipant_projid, pp.proparticipant_agency, pc.procourse_id
                              FROM    afrreg38.tblProparticipant_3 pp, afrreg38.tblProcourse pc, afrreg38.tblproparticipant_course_test_2 pct
                              WHERE  pp.proparticipant_id = pct.proparticipant_participant_id
                              and pp.proparticipant_course_id = pc.procourse_id
                              and pc.procourse_id = #variables.current_course_id#
                              <cfif ARGUMENTS.gridsortcolumn NEQ ""
                              and ARGUMENTS.gridsortdir NEQ "">
                              ORDER BY #ARGUMENTS.gridsortcolumn# #ARGUMENTS.gridsortdir#
                              </cfif>
                  </cfquery>
      <!--- And return it as a grid structure --->
      <cfreturn QueryConvertForGrid(qrygetparticipants,
                                ARGUMENTS.page,
                                ARGUMENTS.pageSize)>
    </cffunction>
    <!--- Edit an artist --->
    <cffunction name="editparticipant" access="remote">
      <cfargument name="gridaction" type="string" required="yes">
      <cfargument name="gridrow" type="struct" required="yes">
      <cfargument name="gridchanged" type="struct" required="yes">
      <!--- Local variables --->
      <cfset var colname="">
      <cfset var value="">
      <!--- Process gridaction --->
      <cfswitch expression="#ARGUMENTS.gridaction#">
        <!--- Process updates --->
        <cfcase value="U">
        <!--- Get column name and value --->
        <cfset colname=StructKeyList(ARGUMENTS.gridchanged)>
        <cfset value=ARGUMENTS.gridchanged[colname]>
        <!--- Perform actual update --->
        <CFQUERY name="updateparticipant_data" datasource="#THIS.dsn#">
                     UPDATE afrreg38.tblProparticipant_3
                     SET #colname# = '#value#'
                     WHERE proparticipant_id = #ARGUMENTS.gridrow.proparticipant_id#
                    </CFQUERY>
        <!---  <cfquery datasource="#THIS.dsn#">
                     UDPATE afrreg38.tblproparticipant_course_test_2
                    SET #colname# = '#value#'
                    </cfquery> --->
        </cfcase>
        <!--- Process deletes --->
        <cfcase value="D">
        <!--- Perform actual delete --->
        <cfquery datasource="#THIS.dsn#">
                    DELETE FROM afrreg38.tblProparticipant_3
                    WHERE proparticipant_id = #ARGUMENTS.gridrow.proparticipant_id#
                    </cfquery>
        </cfcase>
      </cfswitch>
    </cffunction>
    </cfcomponent>

  • Why is there no error at checkout, but it insists there is, why is there no error at checkout, but it insists there is

    i tried to buy something on itunes, but when i added money to my account, it for some reason doesn't recognize any method i choose, but there are no errors, i have gift cards entered and they show on my account, but i can't even use those.

    We don't work for Apple, so how do you expect anyone here to know the reason why?

  • Error invoking CFC

    I have got this code for a html cfgrid.
    <cfgrid
    name="Foods"
    format="html"
    pagesize="10"
    selectmode="browse"
    insert="Yes"
    delete="yes"
    bind="cfc:applications.Kost.cfc.Foods.getAllFoods({cfgridpage},
    {cfgridpagesize}, {cfgridsortcolumn}, {cfgridsortdirection})"
    >
    But the bind cannot find my CFC.
    I have got a virtual directory called Application. Her is my
    program located beneath the folder Kost. Then I have got my cfc in
    a cfc directory.
    c:/Applications/Kost/cfc/
    I have alos tried to use cfc.Foods but this cannot find the
    cfc either.
    If I take my cfc and deploy it to my C:\Inetpub\wwwroot
    directory.
    Then it works with a bind like this cfc:Foods.getAllFoods()
    can't I use mapped directories?
    I would prefere to have my cfc's located bebeath the right
    applications and not in the root.
    I user CF8

    I had the exact same issue when I was doing some preliminary
    playing with spry . From what I have read, you can not use bind
    with a mapped directory, and a virtual directory is a "mapped"
    directory also.
    I was going to try (have not yet though) using
    ExpandPath(myCFC) to assign the full path to a variable and then
    use the variable in the bind statement.
    If you try it before I do and it works, I would like to
    know.

  • Error in CFC - message to Flex

    I am sending messages to a flex program via a CFC reading
    messages off of a socket (gateway is called asocket - the flex
    gateway is ows35_example4 via LCDM).
    The messages are getting to the flex program but errors are
    showing up in cfserver.log, eventgateway.log and exception.log that
    says:
    Error invoking CFC for gateway asocket: Unable to locate the
    body entry in the outgoing message structure..
    once for each message that is sent. The enclosed code shows
    the CFC running the asocket gateway - which definitely has a "body"
    entry.
    How do I stop this error ? Is there something wrong with the
    CFC ?
    Using Coldfusion 8.0.0.1786276
    -thank you

    Ugh .... I figured this out.
    I was using HTTP comments "<!-- -->" (that I did not
    include in the source above) instead of the CF comments "<!---
    --->".
    What you don't see is that there is another
    SendGatewayMessage that was (I thought) commented out using the
    messageObject Struct for the message. It doesn't have a body part
    so it makes sense that the error happened.
    I changed the HTTP comments to CF comments and the errors
    went away.
    Note to self ... be careful of your comments.

  • I'm trying to install iTunes on my computer running Windows 7 Home Premium.. I'm not sure if iTunes is compatible with it because when I try to install it, it says the installation is complete but it says there was an error so I can't get it! Please help!

    Hellooo Apple Community!
    I'm trying to install iTunes on my computer running Windows 7 Home Premium. I'm not sure if iTunes is compatible with my computer operating system because when I try to install it, it says the installation is completed but it says there was an error so it won't let me get itunes! Can someone please tell me if iTunes can be downloaded and installed on "Windows 7 Home Premium" and if so, how?! I need iTunes asap, I have an iphone 4 running ios 6.1.3. Please get back to mee!!
    Thankyou thankyou thankyou!
    Natalie.

    I just tried running the Lenovo Hard Drive Quick Test both in normal mode and in safe mode.  Both times it indicated a failed read test on the HDD. The last two tests also failed.  I forget what those tests were called.
    I am really beginning to think I have a bad HDD and the problem just happens to be in the reserved partition where my factory system software resides.

  • When I try to update my apps on my MacBook Pro, Ipad, and Ipod it wont allow me. On the computer it says theres and error. (11111) But on the Ipod and Ipad it starts to update and completely stops. What should I do?

    When I try to update my apps on my MacBook Pro, Ipad, and Ipod it wont allow me. On the computer it says theres and error. (11111) But on the Ipod and Ipad it starts to update and completely stops. What should I do?

    Maybe this.
    Fix iPhone Apps Stuck "Waiting" During Installation
    Try update the apps one at a time

  • Cd drive on my laptop not seen as a device. Can refresh itunes and device appears but get unknown sync error 13019 when transferring cd's to my nano.  The cd's appear on the nano when it's connected to itunes but aren't there when I disconnect?

    cd drive on my laptop not seen as a device. Can refresh itunes and device appears but get unknown sync error 13019 when transferring cd's to my nano.  The cd's appear on the nano when it's connected to itunes but aren't there when I disconnect?

    Satellite L675-S7113 Specifications (PSK3AU-07C02S)
    Satellite L675-S7113 Support Page
    rwls wrote:...since I got it 3 years ago I've been unable to burn an audio CD from ITunes or Windows media although it worked once after the computer had been shut off for awhile..and didn't find the problem until after my warranty had expired...
    From your statements above, it sounds like you never tried to burn a CD for at least the first year that you owned the laptop, as it had a one year warranty on it. While you might have used it frequently to install software,  play DVDs, Blu-Ray disks, etc, that's unclear from your statements. Nonetheless, it might just be dirty-dusty. So, before deleting-uninstalling any software, and given they're cheap, try a CD-DVD Cleaner Disk first and see if that resolves your problems.
    Let us know what happens. Good luck.
    Mike

  • I have install last update for i pod(ios5) but during installation there was one problem....i have restore my ipod and now i have lost all my buyed music!!Is not possible download it....?What are the details, including any error messages, related to your

    I have install last update for i pod(ios5) but during installation there was one problem....i have restore my ipod and now i have lost all my buyed music!!Is not possible download it....?What are the details, including any error messages, related to your question?

    Have you not got the music on your computer and/or on backups on, for example, external drives or CDs/DVDs ?

  • TS3694 I'm trying to update my Iphone Software to the the new IOS 7 but it says there as an uknown error (6). Can someone please help me? Thanks

    I'm trying to update my Iphone Software to the the new IOS 7 but it says there as an uknown error (6). Can someone please help me? Thanks

    http://support.apple.com/kb/TS3694
    Check the section on
    Errors related to third-party security software

  • TS1424 I tried downloading an app but it says there is an error and asked me to come here for help. How?

    I tried downloading an app but it says there is an error and asked me to come here for help. How?

    If you are getting a message to contact iTunes Support then you can do so via this link and ask them for help (we are fellow users here on these forums, we won't know why you are getting the message) : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page

  • About the OS X Mavericks v10.9.5 Update i am trying to update this since yesterday but its saying there is an error in server "Can't connect to the Apple Software Update server.(-1003)" please help

    About the OS X Mavericks v10.9.5 Update i am trying to update this since yesterday but its saying there is an error in server "Can't connect to the Apple Software Update server.(-1003)" please advise with instructions how to update it...
    why i am not allowed

    Try running the combo update.
    10.9.5 Combo Update

Maybe you are looking for

  • Same apple id can locate iphone but not ipod touch

    I have find my iphone installed on both devices, location services are on, wifi is on, icloud is on and find my iphone is on within icloud in settings, but I cannot locate the ipod touch only the iphone. Any ideas??

  • Volume password

    My volume password is lost and I do not know how to re set it. I am listening to a very low volume. Do you have to have a password for the voulume and how do I get rid of it????????? Please help I can't hear.

  • Integration Broker Setup Problem

    I'm trying to setup Integration Broker/AppMessaging between portal and finance databases. I'm able to set up the default local nodes in both Portal and Finance and am able to ping them correctly. I'm also able to configure the Remote Finance node in

  • Add own Customizing in SAP Reference IMG

    Hi all, i want to add some of my own customizing into the SAP Reference IMG Tree. I created with transaction SIMGH a new structure for my things. But how will i get this structure into the SAP Reference IMG  Tree? I want to have it under the node "Lo

  • Problems with BEFW11S4 V2 Wireless Router

    I just brought in this BEFW11S4 V2 to work to use as a temporary wireless router. Last night I had it working perfectly at home, updated the firmware got it all setup for work and all was good. I bring it in today power it on, plug an ethernet cable