Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

writing errors to dbs via different authentication #2

Open
jasonslemonsCIRI opened this issue Dec 11, 2023 · 0 comments
Open

writing errors to dbs via different authentication #2

jasonslemonsCIRI opened this issue Dec 11, 2023 · 0 comments

Comments

@jasonslemonsCIRI
Copy link

Connection strings using an authentication type that System.Data.SqlClient doesn't recognize will break in SqlErrorLog.cs. For example trying to connect via Service Principal to an azure db;
"connectionString="Server=tcp:ServerNameHere.database.windows.net,1234;Authentication=Active Directory Service Principal;..."

Not sure how this gets resolved but by replaceing System.Data.SqlClient with Microsoft.Data.SqlClient in the usings of SqlErrorLog.cs. Apologies if this isn't the right place to bring this up.

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

No branches or pull requests

1 participant