# ODBC - Setup routines could not be loaded: error code 126

**URL:** <https://community.cdata.com/t/odbc-setup-routines-could-not-be-loaded-error-code-126/251>\
**Category:** Editions\
**Tags:** article, odbc\
**Created:** [July 11, 2023, 9:50pm UTC](https://community.cdata.com/t/odbc-setup-routines-could-not-be-loaded-error-code-126/251 "2023-07-11T21:50:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![John\_G](https://avatars.discourse-cdn.com/v4/letter/j/c5a1d2/32.png) [@John\_G](https://community.cdata.com/u/John_G)\
**Post date:** [July 11, 2023, 9:50pm UTC](https://community.cdata.com/t/odbc-setup-routines-could-not-be-loaded-error-code-126/251/1 "2023-07-11T21:50:11Z")

</div>

This error indicates you are missing the Visual C++ 2015-2022 runtime on your machine, which is required by our ODBC drivers.  You can download that directly from Microsoft here under the “Visual Studio 2015, 2017, 2019, and 2022” section:

[https://learn.microsoft.com/en-US/cpp/windows/latest-supported-vc-redist?view=msvc-170#visual-studio-2015-2017-2019-and-2022](https://learn.microsoft.com/en-US/cpp/windows/latest-supported-vc-redist?view=msvc-170#visual-studio-2015-2017-2019-and-2022)

Most users should pick the X64 option. Only choose X86 if you specifically need to use the 32-bit version of the driver.

Please reach out to [support@cdata.com](mailto:support@cdata.com) if this does not resolve the problem for you.
