Event tracing broken in Microsoft.Data.SqlClient 6.1.1 ? #3693
Unanswered
vincent-duret
asked this question in
Q&A
Replies: 1 comment 1 reply
-
|
Hi @vincent-duret - can you try updating to use MDS 6.1.2? If the problem persists, please open an issue from this discussion. If the problem is fixed, please report back here and I will make a note of it in the 6.1.2 release notes. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am using the following BackgroundService in a .NET 8 asp.net core application to collect some events from Microsoft.Data.SqlClient.
It is inspired from https://learn.microsoft.com/en-us/sql/connect/ado-net/enable-eventsource-tracing?view=sql-server-ver16
This code is working fine when using Microsoft.Data.SqlClient 5.2.2, but not anymore after ugrading to 6.1.1.
The OnEventWritten method no longer receives events from Microsoft.Data.SqlClient.EventSource.
Any help will be appreciated.
Beta Was this translation helpful? Give feedback.
All reactions