I've been given some legacy code to work on that was built using VB6 and ADODB 2.7 to connect to an Access database. I'm getting an error when connecting that states:
"The specified dsn contains an architecture mismatch between the driver and application."
Searching for the error message, I'm given to understand that the issue is based in the fact that I'm developing on a 64 bit machine and the legacy project isn't set up to handle that. I saw the following advice:
"To manage a data source that connects to a 32-bit driver under 64-bit platform, use c:\windows\sysWOW64\odbcad32.exe. To manage a data source that connects to a 64-bit driver, use c:\windows\system32\odbcad32.exe."
Using the odbcad32.exe under sysWOW64 didn't seem to make any difference.
Could someone either point me to a resource that will help me solve the connectivity issue or step me through the process of resolving it? Many thanks.
"The specified dsn contains an architecture mismatch between the driver and application."
Searching for the error message, I'm given to understand that the issue is based in the fact that I'm developing on a 64 bit machine and the legacy project isn't set up to handle that. I saw the following advice:
"To manage a data source that connects to a 32-bit driver under 64-bit platform, use c:\windows\sysWOW64\odbcad32.exe. To manage a data source that connects to a 64-bit driver, use c:\windows\system32\odbcad32.exe."
Using the odbcad32.exe under sysWOW64 didn't seem to make any difference.
Could someone either point me to a resource that will help me solve the connectivity issue or step me through the process of resolving it? Many thanks.