I created a System DSN called Customer and it accesses the Visual FoxPro Driver which is installed on this workstation. I just don't think that ColdFusion will work with Visual FoxPro. Here's what happened when I tried to run my CF code:
Error Executing Database Query.
No suitable driver available for Customer, please check the driver setting in resources file, error:
The error occurred in C:\Inetpub\
line 10
8 :
9 : <!--- Get Customer list from database --->
10 : <cfquery name="customer" datasource="customer">
11 : SELECT CustNo, Customer
12 : FROM Customer
SQL SELECT CustNo, Customer FROM Customer ORDER BY Customer
DATASOURCE customer
Resources:
* Check the ColdFusion documentation to verify that you are using the correct syntax.
* Search the Knowledge Base to find a solution to your problem.
Browser Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.11) Gecko/20071127 Firefox/2.0.0.11
Remote Address 127.0.0.1
Referrer
Date/Time 08-Aug-08 08:15 AM
Stack Trace
at cfcustomer2ecfm1607591702.runPage(C:\Inetpub\
java.sql.SQLException: No suitable driver available for Customer, please check the driver setting in resources file, error:
at coldfusion.server.j2ee.sql.pool.JDBCPool.createPhysicalConnection(JDBCPool.java:627)
at coldfusion.server.j2ee.sql.pool.ConnectionRunner$RunnableConnection.run(ConnectionRunner.java:67)
at java.lang.Thread.run(Thread.java:619)