1 Reply Latest reply on May 31, 2011 5:45 PM by dgleneck@ndi-inc.org



      I am getting coldfusion 8 ERROR using cfajaxproxy:

      • "The path to the CFC must be specified as a full path, or as a relative path from the current template, without the use of mappings."
      • "The specified CFC vindexer_server_ver3 could not be found. "
      • at line 2, in template="C:\ColdFusion8\wwwroot\dei-ideas_org\wwwroot\chapter0-2\vindexer_client.cfm"


      Any idea on how to fix this error?
      Also, in another thread, someone mentioned turning on "extended error information".  How do I turn this on?




      <!--- file: "/chapter0-2/vindexer_client.cfm" --->
      <cfajaxproxy cfc="chapter0-2.vindexer_server_ver3" jsclassname="vindexer_proxy_ver3" >
      var myProxy_ver3=  new vindexer_proxy_ver3();
      function processClick() {
        var myArgStr_ver3= document.getElementById('form_arg_ver3').value;
        var result= myProxy_ver3.serverfn_ver3( myArgStr_ver3 );
        alert("the result from the server was" + result );
      <p>Enter form_arg_ver3:<cfinput type="text" name="form_arg_ver3" id="form_arg_ver3"></p>
      <p><cfinput type="button" name="f_btn_ver3" id="f_btn_ver3" onClick="processClick()" value="Get Data From Server"></p>



      <!--- file: "/chapter0-2/vindexer_server.cfc" ---><cfcomponent output="no">
      <cffunction name="serverfn_ver3" access="remote" returntype="string">
        <cfargument name="arg_ver3" type="string" required="false" default="Error No arg_ver3 Supplied" >         
        <cfset var retStr= "returned_data">
        <cfreturn retStr >

    • /chapter0-2/vindexer_server.cfc source code: