House of Fusion
Search over 2,500 ColdFusion resources here
  
Home of the ColdFusion Community

Mailing Lists
Home /  Groups /  ColdFusion Talk (CF-Talk)

CFScript query service problem

  << Previous Post |  RSS |  Subscribe to this Group Next >> 

CFScript query service problem

I'm trying to use the query service and I'm running into the issue that no Kris Sisk 03/09/2010 05:21 PM

03/09/2010 05:21 PM
Author: Kris Sisk Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:61012#331500 I'm trying to use the query service and I'm running into the issue that no matter what I put into the object it throws an error when I try to execute it. The specific error I'm seeing is "Attribute validation error for tag CFQUERY. It does not allow the attribute 1." The code I'm feeding into it right now is: q=new query(); q.setDatasource("Datasource"); q.setSQL("SELECT * FROM links"); result=q.execute(); Anyone have any idea why this would be happening? My code pretty well matches every example I can find of how to use this service so I'm pretty stumped.
<< Previous Thread Today's Threads Next Thread >>

Search cf-talk

July 31, 2010

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
         1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31