[QODBC-Desktop] How to use QRemote with ColdFusion
Posted by Jack - QODBC Support on 28 October 2016 12:25 PM

How to use QRemote with ColdFusion

Instructions about using QRemote with ColdFusion

   Using ColdFusion, whether it's an internal Intranet or on the World Wide Web, requires the Server Edition of QODBC. QuickBooks must be running with the company file opened on the system console.

     The first thing is to configure the QRemote Server.

Please refer: How to configure QRemote


ColdFusion Data Source Setup Instructions

      Run the ColdFusion Administrator. Enter your username & password & login.

Under DATA & SERVICES choose Data Sources.

Use "QBs" as the Data Source name if you want to match the DisplaySQL.cfm sample script below. The Driver is ODBC Socket. Press the Add button.


      Under ODBC DSN choose a QuickBooks DSN. QuickBooks Data QRemote is a DSN that is created by the QODBC installation. Username should be set to Admin. You can put any notes you want in the description field.

      Next Press the Show Advanced Settings Button.

      Make sure the Limit Connections and Maintain Connections are unchecked. You can remove the checkboxes on Create, Drop, Alter, Grant and Revoke. Add checkboxes for Select, Insert, Update, Delete and Stored Procedures.

      Press Submit and your QODBC Data Source should show on the list of Data Sources.

      DisplaySQL.cfm uses dataSource="QBs" which is the QuickBooks Data QRemote DSN.

Sample Code:

queryObj = new query();
result = queryObj.execute(sql="SELECT Top 10 ListId, Name, FullName,Phone from customer");
qListOfArts = result.getResult();
metaInfo = result.getPrefix();

Download Sample

      To run this, Place this file under "CFIDE" & run through the browser.

      The query result is shown above.

Keywords: PHP, IIS, ColdFusion, can it work with PHP, service based application

(0 vote(s))
Not helpful

Comments (2)
Azeem Iqbal
13 March 2018 05:31 PM
I have followed the exact instructions for this setup and I am getting the following error in CFAdmin

Connection verification failed for data source: QBITS
java.sql.SQLException: [Macromedia][SequeLink JDBC Driver][ODBC Socket]internal error: The specified DSN contains an architecture mismatch between the Driver and Application
The root cause was that: java.sql.SQLException: [Macromedia][SequeLink JDBC Driver][ODBC Socket]internal error: The specified DSN contains an architecture mismatch between the Driver and Application

I am testing this on CF11 running on on Windows 10.

Any help would be much appreciated.

14 March 2018 06:25 AM
Hi Azeem,

I think your ColdFusion is of 64-bit. If your ColdFusion is 64-bit, You need to use 64-bit QRemote DSN "QuickBooks Data 64-Bit QRemote" in your report & test again.

Please refer below mentioned article for the Architecture mismatch issue:

If you are still the facing issue, Please raise a support ticket to the QODBC Technical Support department from below mentioned link & provide requested information:

We may need the following information, Please attach below listed files when replying to the ticket.
1) Screenshot of QODBC Setup Screen -- > About
2) Screenshot of the issue you’re facing.
Share Entire Log Files as an attachment in text format from
3) QODBC Setup Screen -- > Messages -- > Review QODBC Messages
4) QODBC Setup Screen -- > Messages -- > Review SDK Messages
Refer: How to take screenshot: www.qodbc.com/links/screenshot.htm
Post a new comment
Full Name:
CAPTCHA Verification 
Please complete the captcha below (we use this to prevent automated submissions).