Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: Re: odbc driver problem


From   "Joseph Coveney" <[email protected]>
To   <[email protected]>
Subject   st: Re: odbc driver problem
Date   Thu, 28 Oct 2010 11:16:49 +0900

Dimitriy V. Masterov wrote:

I am running Stata/MP 11.1 on a new 64-bit Windows 7 laptop. My
previous laptop had the same setup, but with less RAM. When I try to
load an Excel file, I now get:

. odbc list

Data Source Name                   Driver
-------------------------------------------------------------------------------
dBASE Files                        Microsoft Access dBASE Driver (*.dbf, *.ndx
MS Access Database                 Microsoft Access Driver (*.mdb, *.accdb)
mihqdb04                           SQL Server
Excel                              Microsoft Excel Driver (*.xls, *.xlsx, *.xl
MIHQDB50                           SQL Server
mihqdd22                           SQL Server
mihqds03 DataSolutions             SQL Server
mihqds03 Analysis                  SQL Server
mihqds03 Economic Data             SQL Server
-------------------------------------------------------------------------------

. odbc query "Excel"
The ODBC driver reported the following diagnostics
[Microsoft][ODBC Driver Manager] The specified DSN contains an
architecture mismatch between the Driver and Application
SQLSTATE=IM014
r(682);

This used to work, but no longer does. I saw that someone had a
similar issue with Acesss files, but I swear this used to work before
with my old 64-bit laptop.

Is the only solution to this purchase a 32-bit version of Stata to
load Excel files?

--------------------------------------------------------------------------------

My understanding about this is that it has nothing to do with Stata, but rather
that the 64-bit ODBC driver installed with 64-bit Windows 7 is incompatible with
32-bit applications of Microsoft Office 2007 (and earlier) such as Excel and 
Access.  . . . at least that's if you're using the 2007 (or earlier) version of 
Microsoft's suite.

I believe that the most direct solution to the problem is to upgrade to the 
64-bit Office 2010 version.  Is it possible to download and install 32-bit ODBC 
drivers for Excel and Access, and then run them in your 64-bit Windows 7 system
in some kind of 32-bit emulation mode, just as you're now doing for Excel?

Joseph Coveney


*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index