2
I have an excel workbook which has an external data source to create a pivot table. This file was sent to me. I can open it up correctly, but when I try to refresh the data I get the following error:
[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified.
As far as I'm concerned, Windows should use the default ODBC driver (odbcad.exe) for the connection. Any idea what might be causing the error when refreshing the data?
EDIT: The connection string has DSN, UID, TRUSTED_CONNECTION, APP, WSID and DATABASE fields.
EDIT: I set up the ODBC connection, but now I'm getting the following error:
[ODBC Driver Manager] The Specified DSN contains an architecture mismatch between the Driver and Application
The ODBC is now connected but it's throwing another error when refreshing the data. It's on the original post. – sazpaz – 2012-10-10T19:56:01.570
It has to do with the use of 64 bit vs 32 bit drivers. If the data sources is 32 bit, you must use a 32 bit driver when you set up the local ODBC connection. Here is MSDN information on the additional error: Managing Data Sources
– CharlieRB – 2012-10-11T11:24:25.737