

To resolve this error, use the 32-bit odbcad32.exe to configure or remove the DSN."īut the DSN used for queries from Excel files isn't user-defined! It was installed by MS Office Installer! So MS Office Installer didn't check, is there 32-bit or 64-bit OS? And no update or SP didn't correct this either?
#Odbc excel driver#
The specified DSN contains an architecture mismatch between the Driver and Application If you use the 64-bit odbcad32.exe to configure or remove a DSN that connects to a 32-bit driver, for example, Driver do Microsoft Access (*.mdb), you will receive the following error message: OK, it looks like I got the reason I have problem from here. Only this will hardly be an acceptable working solution :-) The specified DSN contains an architecture mismatch between the Deiver and Applicationīut the strangest thing is, that when I now return to my app, the query works again - until I close the Excel session. The Setup routines for Microsoft Excel Driver (*.xls,*.xlsx, *.xlsm,*.xlsb) ODBC driver could not be found. When I try to configure it, at first an error message is displayed: When I open ODBC Data Source Administrator, then on User DSN tab a data source is displayed:Įxcel Files, Microsoft Excel Driver (*.xls,*.xlsx, *.xlsm,*.xlsb) It works a treat, so long as the Excel session lasts.Īfter I close the Excel, and then open my Excel app anew, the error message is displayed whenever I try to refresh the query: So on ReportSheet, I select from menu Data>From Other Sources>From Microsoft Query>Excel Files*.
#Odbc excel windows#
I have designed applications like this before, when I had Windows XP 32bit as OS and Office2000, and they worked perfectly. ReportSheet, I use an ODBC query with named range MyData as source to display certain data from InputSheet. On sheet InputSheet, a nondynamic name p.e. I have an application where some data are entered into Excel worksheet (p.e.
#Odbc excel windows 7#
To update values in the Spreadsheet, you should connect via another ODBC connection and use the UPDATE or INSERT commands.OS: Windows 7 64bit Office 2007 Used Excel file type: *.xls (must be compatible with Office2000 and with Office2007) The open connection to the file from the DSN locks the file from being opened by other applications. Once all items are In Service, the Excel spread sheet is no longer editable.

