Share via

ODBC 64 bit error 193

D Bo 6 Reputation points
2022-10-23T12:34:14.7+00:00

Hi all,

I was trying to create a connection for SQLite. I use a 64 bit version for this. It worked perfectly fine. However, I have upgraded from Home to Windows 11 Pro and now not one ODBC connection works anymore. I get the following error:

The setup routines for the SQLite3 ODBC Driver ODBC driver could not be loaded due to system error code 193: .

It seems to happen on every connection that I try to create.

I know there there are two ODBC Administrator toosl for 32 and 64 bit. I am able to install the 32 bit and create the connection. However, I can't use this connection with Power BI, because that is 64 bit. So I think the 64 bit ODBC tool seems to be corrupted.

Any help is appreciated, because I am running out of options.

Thanks in advance!

Windows for business | Windows Client for IT Pros | User experience | Other
0 comments No comments

4 answers

Sort by: Most helpful
  1. oscarrudnas 20 Reputation points
    2023-04-06T09:51:50.8966667+00:00

    I had the same issue and tried multiple times to install / uninstall. I finally managed to get it working by installing both versions (32 bit / 64 bit) of the ODBC connector (in my case Simba Athena) I then set all the odbc settings in the 32 bit version. I then opened regedit and exported (File-> export) the 32 bit version settings to the desktop (Computer\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\ODBC\ODBC.INI\Simba Athena) I opened the file in text editor and changed the location from above to this [HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI\Simba Athena] I then import (File-> import) the settings in regedit. By doing this, the settings are imported from the 32 bit to the 64 bit and got everything working in 64 bit. Hope this is helpful :)

    4 people found this answer helpful.

  2. Limitless Technology 45,226 Reputation points
    2022-10-24T15:47:15.55+00:00

    Hello,

    Regarding to your description, seems the installation of the driver mis-registered a 64 bit driver but it is a 32 bit or vise-versa version. As the ODBC driver listing is determined by registry keys that are set on installation of the driver, it is likely that the driver installer has a fault which is causing it to be mis-registered with ODBC.

    Please try to load either a 32 bit driver from the 64 bit version (C:\windows\system32\odbcad32.exe) or trying to load a 64 bit driver from the 32 bit version (C:\windows\syswow64\odbcad32.exe).

    Additional if you build and then run an application as a 32-bit application on a 64-bit operating system, the workaround is try to create the ODBC data source by using the ODBC Administrator tool in %windir%\SysWOW64\odbcad32.exe. To indicate the type of DSN, you can add "_32" to the 32-bit user DSNs and "_64" to the 64-bit user DSNs.

    More information, please refer to: The 32-bit version of the ODBC Administrator tool and the 64-bit version of the ODBC Administrator tool display both the 32-bit user DSNs and the 64-bit user DSNs in a 64-bit version of the Windows operating system
    Reference: https://learn.microsoft.com/en-US/troubleshoot/sql/connect/odbc-tool-displays-32-bit-64-bit

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

    --If the reply is helpful, please Upvote and Accept as answer--

    0 comments No comments

  3. D Bo 6 Reputation points
    2022-10-23T14:34:30.013+00:00

    Yes, I've tried multiple times. Still the same error I mentioned.

    I can see the SQLite drivers, but if I want to remove it or create the connection, I get the error.

    0 comments No comments

  4. Castorix31 91,871 Reputation points
    2022-10-23T14:03:03.997+00:00

    Did you try to install the 64-bit driver (sqliteodbc_w64.exe. from sqliteodbc) ?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.