I just started using ajaxCFC and found it's error handling to be very
nice. Anyway, the error you have sounds like a compile-time error in
your CFC (assuming it has worked before), and the way to figure that out
for sure is to hit your CFC directly in a browser... something like
http://xx/query.cfc (but with the full path in there).  If you get a RDS
login prompt there is no syntax error, but otherwise it will be a
standard CF error message and you'll know what to do from there.
        Mark

-----Original Message-----
From: Coldfusion [mailto:[EMAIL PROTECTED] 
Sent: Monday, June 19, 2006 9:36 PM
To: CF-Talk
Subject: ajaxCFC & Error Message

I am attempting to use the ajaxCFC and trying this out, I am getting the
error: Invalid Reply from Server. Any ideas to look at first?
I have the paths as:
 
root:   
----- query.cfc
----- ajax.cfc
----- index.cfm (this calls the functions and has the return call also)
----- /js  (this contains all the js files)
 
 
BTW:  ajaxCFC is easier to use than CFAJAX (IMHO). Atleast it has some
debugging steps.
 
<script type='text/javascript'>_ajaxConfig =
{'_cfscriptLocation':'query.cfc', '_jsscriptFolder':'/js'};</script>
<script type='text/javascript' src='/js/ajax.js'></script>
 
<script type="text/javascript">
 function doQuery(id) {
  alert("Value = " + id);
  // send data to CF
  DWRUtil.useLoadingMessage();
  DWREngine._execute(_ajaxConfig._cfscriptLocation, null, 'doQuery', id,
doQueryResults);  }
 
 // call back function
 function doQueryResults (r) {
  document.forms[0].txt2Row1.value = r.manf[0];
  document.forms[0].txt3Row1.value = r.model_num[0];
  document.forms[0].txt4Row1.value = r.serial_num[0];
 
 }
 
 </script>





~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:244219
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to