Additional SQL Server features and topics not covered by specific categories
Yes. The documented issue matches this pattern.
A native application that uses local deployment for an older Microsoft Visual C++ runtime can cause a newer Microsoft ODBC Driver for SQL Server to load that older runtime instead of the version required by the driver. Microsoft states that this version mismatch can cause failures when the application loads or uses the ODBC driver.
For ODBC Driver 18, versions 18.0 through 18.6 required a separate Visual C++ v14 Redistributable on Windows. Starting with Driver 18.7, the driver installer includes the runtime. Driver 18.7.1.1 includes version 14.44.35211.0. Microsoft also recommends using the latest supported Visual C++ Redistributable when it is installed separately.
That makes the most likely supported fix:
- Remove the application-local older Visual C++ runtime from the application directory so the process uses the supported runtime instead of the bundled older
MSVCP140.dll. - Keep the newer system Visual C++ Redistributable installed.
- Re-test with ODBC Driver 18.7.1.1 after the old local runtime is no longer being loaded.
Important: removing or changing files in an application directory can break that application if the vendor depends on them. Coordinate this with the application vendor before changing the bundled runtime.
Additional supported diagnostics:
- Verify which ODBC driver major version is registered:
Expected result: registration for Driver 18 is present.Get-OdbcDriver -Platform All | Where-Object { $_.Name -eq 'ODBC Driver 18 for SQL Server' } - If needed, remove and reinstall Driver 18 using the matching Windows installer, then verify registration again. Microsoft warns not to delete driver files manually.
- Confirm whether the crashing process is loading an application-local older
MSVCP140.dllinstead of the newer runtime required by the driver. The documented failure mode is specifically caused by that mismatch. - Since the same workload succeeds with ODBC Driver 17, keep that as a temporary workaround while the application-local runtime conflict is corrected.
The context does not provide a Microsoft statement about secure non-public dump analysis or a specific escalation path, so the supported conclusion from the available documentation is the runtime mismatch and correction of the older app-local Visual C++ runtime.
References: