How to create Link Server with MS SQL 2005/2008/2012/2016 64-bit Using QODBC/QRemote

 For 32-bit Refer: How to create Link Server with MS SQL 2005/2008/2012/2016 32-bit Using QODBC/QRemote

Start your "SQL Server Management Studio"

Login to your SQL Server.

On the Left-hand side panel, you will find the Server, Right Click on the "SQL Server" and Select Properties. 

Please Verify that your SQL Server is 64-bit. 

64 and 32-bit worlds are kept totally separate in the Microsoft Windows Operating System. QuickBooks is a 32-bit application, so in order to communicate with it, a 32-bit ODBC driver is required.

QRemote works as a bridge between 64-bit Applications and the 32-bit QODBC Driver by communicating data calls between the two worlds using TCP/IP protocol.  QRemote makes it possible for 64-bit Web Servers and 64-bit applications to talk to QuickBooks live for the first time via the QODBC Driver.

Since a 64-bit application cannot talk to a 32-bit driver, we have to do a bit of magic to get the worlds to connect, we call it QRemote.

QRemote has two components “QRemote Client Driver for QODBC” and “QRemote Server for QODBC” 

QRemote Client Driver: Allows 64-bit Applications to connect to QRemote Server and sends the Request to QRemote Server for Processing.  

QRemote Server: Processes requested instruction from QRemote Client to QuickBooks using QODBC DSN Driver.  

Start "QRemote Server for QODBC" from the start menu. ( If QRemoteServer is not running )  

 

Double click the QRemote Server icon from the system tray 


  

QRemote Server Main screen shows the IP address and Port it allows the QRemote Client to connect to.

Make a note of IP address and Port number listed on the QRemote Server “Event Logs window”

Create a new DSN entry/or configure the existing one

Navigate to Start Menu, QODBC Drivers for Use with QuickBooks and click

Configure QODBC Data Source 64-bit  

"QuickBooks Data 64-bit QRemote" is the default DSN created when installing QODBC. (Earlier it was "QRemote Data 64-bit")

Configure the DSN and provide the IP address and Port as listed under "QRemote Server" 

Under the QRemote for QuickBooks – Client  DSN configuration screen, Please fill in the following information 

·         Data Source Name: Name of your DSN entry 

·         Server: IP address displayed on QRemote Server 

·         Port: Port displayed on QRemote Server 

·         Encryption Key/Password: (By Default Encryption Key/Password is set to "QODBC#QRemote$1". In case you want to change Encryption Key/Password, You can configure your encryption key on QRemoteServer and use the same on QRemote Client DSN) 

·         Encryption(By Default Encryption is set to Off. In case you want to use encrypted data transfer between QRemote client and QRemoteServer, You can configure encryption on QRemoteServer and use the same on QRemote Client DSN) 

·         Remote DSN: select "QuickBooks Data "DSN from the list. ( Make sure QRemote Server is running)  

Start Your QuickBooks.

Run MS SQL 2005 Dev / 2008 / 2012 / 2016 (64-bit) and Login

Run SQL Server Management Studio, you'd better choose the SQL Server Authentication and then input right name password.

Under SQL Server Management Studio , Navigate to “Server Objects” -> Linked Server  -> New Linked Server

 OR

Provide the "New Linked Server" information: Insert your desired Linked Server Name, select provider Microsoft OLE DB Provider for ODBC Drivers from provider list & insert "QODBC" as Product name & "QuickBooks Data 64-bit QRemote" as Data source & click "OK" button. 

On Clicking OK, it will start establishing connection to QuickBooks,  Please accept the certificate for allowing data access on QuickBooks

  

After you have accepted the Certificate, the Linked server will be shown under “Linked Server” Category.

 Configure MSDASQL (Microsoft OLE DB Provider for ODBC Drivers)

   The OLE DB provider options for managing linked queries can be set in SQL Server Management Studio. In Object Explorer, right-click the provider name and select Properties for MSDASQL.

Dynamic parameter should be checked to allow parameter queries. Level zero only should be checked to allow four-part naming to work. Allow InProcess should be checked to help performance. Non transacted updates should be checked if you want to be able to update QuickBooks data. Index as access path should be checked to help performance. Disallow adhoc accesses should be unchecked to allow OPENQUERY to function.

QODBC/QRemote is ready to use with SQL Server/Linked Server

Execute below query

Select * from QRemote…Company

 On each query, QRemote Server Logs the events, If you are facing any issues or delay in response, please refer QRemote Server Event Logs for details on which stage it's taking more time.

Another Test

Select * from QRemote…Account

On each query, QRemote Server Logs the events, If you are facing any issues or delay in response, please refer QRemote Server Event Logs for details on which stage it's taking more time. 

Errors and Solutions 

“[QODBC] QODBC  Server Edition License Required.”

The QODBC CDKEY License you have activated is not of Server edition.  Please contact our Sales or Support team . http://support.flexquarters.com/esupport/

“[QODBC] Evaluation Expired” OR "Evaluation Expired. QRemote requires QODBC license. Please purchase QODBC or QRemote license"  

You have run out of the 30-day trial/evaluation version or you are using QODBC Read Only Edition for QuickBooks Enterprise, If you still wish to evaluate QODBC, Please contact our Sales team.

“QRemote” or “QODBC” contains multiple tables that match the table “TableName

OR

An invalid schema or catalog was specified for the provider "MSDASQL" for linked server "QRemote".

This means you have not configured “MSDASQL” provider. Please refer above steps and configure “MSDASQL” provider

 

Problem Description:

I have the read-only version included in the enterprise product. All I want to do is export data to SQL server. I can connect from the VB demo and from Excel but not from SQL server (I always get cannot open Reckon Accounts).

I have made the SQL server process log on as the same windows user as Reckon Accounts and QODBC. I am not running RA or QODBC or SQL server as windows administrator and I have UAC turned on. Often during the query, a box pops up trying to start:
c:\Program Files (x86)\intuit\Reckon Accounts 2015\DBManagerExe.exe StartServer 64


It pops up twice and I choose yes. I have also tried to manually run
c:\Program Files (x86)\intuit\Reckon Accounts 2015\DBManagerExe.exe StartServer 32.
 

Solution:

Please restart your machine & please run Reckon, login to your company file with Admin user & try to connect using your application.

To use DCOM Server & SQL Server with QODBC, you need a QODBC Server Edition license required.

Please use QRemote Server instead of DCOM Server to connect to SQL Server using QODBC. Please get in touch with your QODBC dealer for the purchasing QODBC Server Edition license.

For licensing detail please refer: QODBC with QRemote Licensing Information

Please Refer:

Using QuickBooks data with MS SQL Server using QODBC Driver and QRemote (Video)

QODBC Reports Architecture Mismatch Problem When connecting

Keywords: SQL Server 2008 Management Studio, SQL Server 2016 Management Studio, SQL Server 2012 Management Studio, SQL Server Management Studio, SSMS