Skip to content
This repository was archived by the owner on Jul 5, 2020. It is now read-only.
This repository was archived by the owner on Jul 5, 2020. It is now read-only.

SQL Dependency collection with DiagnosticSourceListener may fail with System.InvalidCastException #782

@Dmitry-Matveev

Description

@Dmitry-Matveev

Newly added SQL DiagnosticSourceListener (2.5-beta1) may fail with an exception like the following:
image

and

image

@anpete took a look at this issue and commented with the following:

"Looks like a bug in the listener. For some reason SqlClient is including a TransactionName property in transaction rollback messages (but not in transaction commit messages).

The fix is to add separate “fetchers” for the rollback message data."

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions