Knowledgebase
[QODBC-Desktop] How to create Link Server with MS SQL 2005/2008/2012 32-Bit Using QODBC/QRemote
Posted by Rajendra Dewani (QODBC Support) on 22 September 2013 12:05 PM

How to create Link Server with MS SQL 2005/2008/2012 32-Bit Using QODBC/QRemote

 For 64 Bit Refer: How to create Link Server with MS SQL 2005/2008/2012 64-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 32 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 64Bit 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 64bit 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 also works for 32-bit application as an alternative to Dcom.  As SQL Server is a service based application it has to either use Dcom or 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

 

 

QODBCStartMenu.png

"QuickBooks Data QRemote" is the default DSN created when installing QODBC. (Earlier it was
“QRemote Data 32-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:   

    (Keep Encryption Key empty/blank. In case you want to use encrypted data transfer between QRemote client and QRemoteServer, You can configure your encryption key on QRemoteServer and use the same on QRemote Client DSN) 

  • Remote DSN: select the QODBC DSN from the list. ( Make sure QRemote Server is running) 

 

 

Start Your QuickBooks.

 

Run MS SQL 2005 Dev / 2008 / 2012 (32-Bit) and Login in

    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

 

 

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 is 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 is 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”

You have run out of the 30-day trial/evaluation version, If you still wish to evaluate QODBC, Please contact our Sales team.

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

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 ReckonAccounts 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

Accessing QuickBooks Data Remotely using QODBC & QRemote. (Video)

 

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

(0 vote(s))
Helpful
Not helpful

Comments (14)
Jermaine
28 August 2014 12:59 AM
I can't believe that after buying the desktop version... I just found out that I can't connect to SQL server with the desktop version. How can i get a refund or upgrade to the server edition.
Jack
03 September 2014 10:09 AM
Hi Jemaine,
I would like to inform you that you when the machine using the services likes a webserver, PHP MS SQL Server and connecting to QRemote/QODBC need a server license. If connecting remotely, one which runs such services needs a Server License. Another one there is QRemoteServer running; it needs a QODBC License (could be Read only or Read Write).

For refund/upgrade license related query, I kindly request you to please get in touch with our sales team:
http://www.qodbc.com/contact.htm
Jermiane Gray
04 September 2014 01:01 PM
Hi Jack
The sales team was kind enough to give me a 30 days trial of the server edition. However am not sure if my 30 days trial support read write access because i can now setup the connection from sql server 2013 but i can write data to quick books tables. Please see error below.
OLE DB provider "MSDASQL" for linked server "QODBC" returned message "[QODBC] Not supported".
Msg 7343, Level 16, State 2, Line 1
The OLE DB provider "MSDASQL" for linked server "QODBC" could not INSERT INTO table "[QODBC]...[item]".
Jack
05 September 2014 08:54 AM
Hi Jemaine,

I would like to inform you that when QODBC is installed on a new machine it starts with 30 day evaluation All features are active (i.e. Desktop Edition Read/Write, Server Edition Read/Write, QRemote) upon download and no code is required during the first 30 days. The only restriction of the evaluation version is 20 write operations per session. It works in desktop or web/server operation modes during this period. But QODBC evaluation version will turn to Read Only edition for QuickBooks enterprise edition – automatically after 30 days (If QuickBooks Enterprise Edition v10 or above is installed).

QODBC Read-only edition for QuickBooks Enterprise does not include QRemote License. So after 30 days, you may not be able to use QRemote.

I would like to inform you that Item table is read-only table, you cannot insert record in Item table. You can insert record ItemInventory, ItemNonInventory, ItemOtherCharge & on other Item table depend on Item type.

Please refer below mentioned article for add an Inventory Item using QODBC:

http://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/1135/50/how-to-add-an-inventory-item-using-qodbc

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

http://support.flexquarters.com/esupport/index.php?/Tickets/Submit

Anna P.
06 January 2015 10:05 PM
Hello,
can MS SQL Server Management Studio 32bit connect to QuickBooks Data DSN by QODBC Driver without QRemote? If all applications are on the same machine, and both use 32bit, why is QRemote required?
Thank you.
Jack
07 January 2015 09:27 AM
Hi Anna,

Yes, MS SQL Server Management Studio 32bit can connect to QuickBooks Data DSN by QODBC Driver without QRemote. To use QuickBooks Data DSN in SQL Server you need to setup DCOM Server. You can configure DCOM Server using below mentioned article, after setting up DCOM Server you need to use DSN QuickBooks Data in SQL Server instead of QRemote DSN. Please note this configuration will work only on local machine only.

http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2372/0/how-to-setup-qodbc-dcom-server
Tom Olthoff
14 May 2015 04:18 PM
I downloaded a trial version and can't get a linked server to create in SQL Server 2008, 64 bit. Does this work with 64 bit and how? I used the instructions on the web site and I get an error:

The specified data source contains an architecture mismatch.
Jack
15 May 2015 08:28 AM
Hi Tom,

Please refer below mentioned link How to create Link Server with MS SQL 2005/2008/2012 Using QODBC/QRemote:

For 64-Bit SQL Server:
http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2458/52/how-to-create-link-server-with-ms-sql-200520082012-64-bit-using-qodbcqremote
Ali Ikhlaq
15 June 2015 05:09 AM
Dear is server edition read only function works after the trial.
And i prepare some reports is the crystal report. How will i suppose to call those reports. Did i have to make an other application, if yes how can i integrate that application with quickbooks and in which language it will be developed
Jack
15 June 2015 10:08 AM
Hi Ali,

I would like to inform you that when QODBC is installed on a new machine it starts with 30 day evaluation (All features are active). But QODBC evaluation version will turn to Read Only edition for QuickBooks enterprise edition – automatically after 30 days (If QuickBooks Enterprise Edition v10 or above is installed). So you can use QODBC as read only with the QuickBooks Enterprise edition.

When the machine using the services likes a webserver, PHP MS SQL Server and connecting to QRemote/QODBC need a server license. If connecting remotely, one which runs such services needs a Server License.

Your crystal report will work with QODBC read only edition with QuickBooks Enterprise. You don't need server edition license for crystal report.

Please refer : QODBC with QRemote Licensing Information
http://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2587/45/qodbc-licensing-information
http://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2568/0/qodbc-with-qremote-licensing-information
Garry
21 September 2015 01:20 AM
Hello .... QODBC noob here ... How do I run a database/table trace via qodbc while doing transactions in Reckon?

TIA!
Jack
21 September 2015 07:12 AM
Hi Gary,

I would like to inform you that QODBC is not a database tool, but rather a translation tool. QODBC is an ODBC driver (DLL) for QuickBooks Accounting format files. QuickBooks Accounting stores it's data in it's own proprietary DBMS file format. This driver allows users of any ODBC compliant front end application to read and write data contained in QuickBooks Accounting format files similarly to any other ODBC enabled database.

QODBC works by accepting SQL commands from applications through the ODBC interface, then converting those calls to navigational XML commands to the QuickBooks Accounting DBMS and returning record sets that qualify for the query results. This driver is not a Client/Server product, but rather communicates directly with the QuickBooks application as it runs. QuickBooks is a flat file database, and this driver will not change it into a relational database, so keep that in mind when developing with this driver.

QODBC acts as a 'wrapper' around the Intuit SDK so customers can finally get at their QuickBooks data using standard database tools; speeding development time.
MIke
28 January 2016 06:44 PM
Hi I have purchased QODBC and after setting it up with sql server through the steps for linked server. Everytime i access a table that has huge voulme of data eg 30000 records it blows up and crashes quickbooks? Is there a solution for this as i have many tables like this.

Thanks Mike
Jack
01 February 2016 12:18 PM
Hi Mike,

I would like to inform you that QuickBooks crash is related to QuickBooks. We may not be able to provide much help on the issue. I kindly request you to contact with Intuit to solve the issue.
Post a new comment
 
 
Full Name:
Email:
Comments:
CAPTCHA Verification 
 
Please enter the text you see in the image into the textbox below (we use this to prevent automated submissions).