Skip to content

Conversation

@alexsch01
Copy link

@alexsch01 alexsch01 commented Nov 18, 2025

supersedes #1762


without this PR

ConnectionError: [object Object]
    at PrivateConnection.callback2 (C:\Users\FakeUser\Downloads\_delme\node_modules\mssql\lib\msnodesqlv8\connection-pool.js:46:17)
    at Immediate.<anonymous> (C:\Users\FakeUser\Downloads\_delme\node_modules\msnodesqlv8\lib\connection.js:47:14)
    at process.processImmediate (node:internal/timers:485:21) {
  code: undefined
}

after this PR: example

ConnectionError: [Microsoft][SQL Server Native Client 11.0][SQL Server]Cannot open database "GenericDatabaseName" requested by the login. The login failed.
    at PrivateConnection.callback2 (C:\Users\FakeUser\Downloads\_delme\node_modules\mssql\lib\msnodesqlv8\connection-pool.js:46:17)
    at Immediate.<anonymous> (C:\Users\FakeUser\Downloads\_delme\node_modules\msnodesqlv8\lib\connection.js:47:14)
    at process.processImmediate (node:internal/timers:485:21) {
  code: undefined,
  originalError: {
    sqlState: '42000',
    message: '[Microsoft][SQL Server Native Client 11.0][SQL Server]Cannot open database "GenericDatabaseName" requested by the login. The login failed.',
    code: 4060
  }
}

@alexsch01
Copy link
Author

@dhensby sorry to ping, but I saw you responded to the original PR I made

@dhensby
Copy link
Collaborator

dhensby commented Nov 23, 2025

@alexsch01 no problem, sorry for being slow to look at it; once the CI goes green I'll get it merged - thanks for taking the time to do this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants