Knowledgebase
[QODBC-Desktop] QODBC Reports Architecture Mismatch Problem When connecting
Posted by Wilson (QODBC Support) on 07 May 2012 02:41 AM
The specified DSN contains an architecture mismatch between driver and application.

TroubleShooting:The specified DSN contains an architecture mismatch between driver and application.

Problem Description

Using QODBC on a 64Bit Windows Operating System, test the connection using VB Demo works well. But when trying to connect to QODBC (QuickBooks Data) using with 64-bit applications, such as MS Access, Excel,PHP, and SQL Server, I get following error:

"The specified DSN contains an architecture mismatch between driver and application."

Is there any settings needs to be done to fix this problem?

Solutions 1

QODBC is a 32-bit driver, which means it can only work with 32-bit applications, when you directly use QODBC with a 64-bit application, it will report this error.(The specified DSN contains an architecture mismatch between driver and application.)

You could switch to use 32-bit application to avoid this error, i.e. Uninstall your 64bit application and get/install a 32bit version of the same application.

Solutions 2

Use QRemote : A new component added into QODBC, and it can connect to 32-bit QODBC from 64-bit applications without any problems. Please click here for more information about QRemote.

Note :QRemote can only work with Licensed QODBC 2012 or higher, or it will report "license invalid" error. If you are using SQL Server/Windows Service/Any Service based application, you need an QODBC Server license to connect using QRemote.

Problem Description 2:

We upgrade to the latest release of the QODBC driver and followed the instructions to connect using the QRemote 64 bit option. Our environment is Win 8.1 64-bit and we are running Excel 2013 64 bit version. I have tried multiple attempts using the support pages and help from your site. I can successfully connect to the QB using the QRemote Server but Excel fails every time. This worked fine before the upgrade.

 

I am getting below error when I try to get data from MS Excel:

 http://support.flexquarters.com/esupport/newimages/ArchitectureMismatch/Step1.png

 

 

Solutions:

I kindly request you to please create new MS Excel file & import data using QRemote 64 bit DSN and share outcome. If a new MS Excel file is working, then I kindly request you to please verify connection string of both excel file.

Please open MS Excel file go to "Data" tab >> Click on "Connection" >> Click on "Properties" >> Navigate to Defination tab >> You can find Connection String box.

Please verify both workbook connection strings. I think there might be a different connection string.

Please refer:

How to Configure QODBC to Work With 64-bit MS Excel

 

Keywords : ColdFusion, PHP, SQL Server, MS Access, MS Excel

(4 vote(s))
Helpful
Not helpful

Comments (6)
Blue Stream
31 December 2012 05:56 AM
The QRemote feature does not work with 64 bit Coldfusion. I am running 64 bit version 9 of Coldfusion, windows 2008 64bit, and have correctly registered and tested the QRemote service. I can get a connection to the service from Windows DSN, but when trying to register the DSN in Coldfusion with ODBC Socket, it still gives an architecture mismatch. Short of uninstalling the 64 bit version of coldfusion and reinstalling the 32 bit version, what other options are there? Do you have have a 64 bit JDBC driver that can be installed in coldfusion for QRemote?
Anita Austin
30 December 2013 06:48 PM
I am having the same problem. Can anyone help?
Trevor Burnette
29 May 2014 04:00 PM
Running into the same issue with CF10 64-bit. QRemote Server is running and DSN setup but when I try and register in CF I get the Architecture Mismatch error. Is the only solution to go to 32 bit CF server? My company will not allow me to purchase QODBC without getting a proof of concept query running.
Jack
07 July 2014 01:00 PM
Hi Anita, Blue Stream,Trevor

I would like to inform you that the ODBC Socket in Coldfusion runs as a 32-Bit application & your Coldfusion application is 64-Bit. This is a glitch in Coldfusion...not Flexquarters. When you setup the 32 bit driver in Windows, the Coldfusion application cannot see it. But when you setup the 64-Bit driver in Windows, Coldfusion can find it, but because of Coldfusion's glitch when it runs the built in ODBC Socket (running as 32-Bit), it gives an architectural mismatch error. Thus, Windows thinks it's running 64-Bit, Coldfusion thinks it's running as 64-Bit and serves up the 64-Bit QODBC driver, but the ODBC Socket service is running as 32-Bit...thus the clash.

I would like to suggest you to please uninstall Coldfusion 64-Bit and reinstall Coldfusion 32-Bit & try to connect.

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

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
Adam Austin
29 August 2014 01:16 PM
Does this also apply for the Enterprise read-only free license? We have the QODBC downloaded and installed from the File | Utilities | ODBC link, but the QRemote Server displays "Invalid license for QODBC" when we try to connect from the remote client.
Jack
03 September 2014 10:02 AM
Hi Adam,

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).

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 suggest you to purchase a latest QODBC license to see if it can 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).