Sitelet https://github.com/Microsoft/ApplicationInsights-dotnet-server/issues/782
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

Description

@Dmitry-Matveev

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

and

image

Andrew Peters (@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."

Activity

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

Metadata

Metadata

Labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions