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

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

Closed
Dmitry-Matveev opened this issue Jan 10, 2018 · 0 comments
Assignees
Labels
Milestone

Comments

@Dmitry-Matveev
Copy link
Member

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."

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants