Azure/node-sqlserver

Assertion failed: Expression: handle == SQL_NULL_HANDLE in OdbcHandle.h

NoelAbrahams opened this issue · 0 comments

Hi,

I keep getting an "Assertion failed!" message box in windows when running a test that loads node-sqlserver.

Microsoft Visual C++ Runtime Library

Assertion failed!

Program: C:\Program Files (x86)\nodejs\node.exe
File: d:\trunk\foo...\OdbcHandle.h
Line: 56

Expression: handle == SQL_NULL_HANDLE

For information on how your program can cause an assertion
failure, see the Visual C++ documentation on asserts

(Press Retry to debug the application - JIT must be enabled)

Abort Retry Ignore

The error points to line 56 on OdbcHandle.h.

This assertion only pops up when I'm running the tests inside the sandboxed-module.

Clicking either of Abort, Retry or Ignore has the same effect of closing the dialogue at which point the test continues as normal.

This is a significant hindrance to writing code at the moment. Any idea how to fix this?