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.