Skip to content

writing errors to dbs via different authentication #2

@jasonslemonsCIRI

Description

@jasonslemonsCIRI

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions