After updating SQL Server Management Studio 22 from 22.11.3 to 22.12.1, an existing WhereScape RED 8.6.6.0 installation started failing whenever we attempted to create or recreate objects.
The SSMS update also installed Microsoft ODBC Driver for SQL Server 18.7.1.1; the previous driver version was 18.6.2.1. The update also installed Visual C++ Redistributable 14.52.37029. Restarting Windows did not resolve the issue.
The RED template engine reports:
com.wherescape.red.templateengine.NodeFetcherException:Fetch error: 'objectsByName.<template_name>.code':fetch: WinHttpReceiveResponse: 12030:The connection with the server was terminated abnormally
Windows Application Event Log shows that WslMetadataService.exe crashes immediately before the connection error:
Faulting application: WslMetadataService.exe, version 8.6.6.0
Faulting module: MSVCP140.dll, version 14.10.25008.0
Exception code: 0xc0000005
Fault offset: 0x0000000000018644
Local dump analysis:
- The faulting instruction attempts to read through a null pointer in the old
MSVCP140.dll bundled with RED.
- The associated object address lies within the loaded
msodbcsql18.dll image.
- The process also had system
VCRUNTIME140_1.dll 14.52.37029 loaded.
A fully symbolized call stack is not yet available.
Workaround: We created a separate RED repository connection using the already installed ODBC Driver 17.10.6.1. The operation works with that connection; ODBC 18.7 remains installed.
Is this a known compatibility issue between ODBC Driver 18.7.1.1 and applications that load an older application-local MSVC runtime? What would be the recommended supported fix or further diagnostic steps?
We have a full crash dump available for secure, non-public analysis, subject to our security review.