Skip to content

Consider using Microsoft.Data.SqlClient instead of System.Data.SqlClient in MsSqlDataConnection #528

Open

Description

@MaximBalaganskiy

Is your feature request related to a problem? Please describe.
Azure Managed Identity connection strings are not supported in System.Data.SqlClient.SqlConnection

Describe the solution you'd like
Return Microsoft.Data.SqlClient.SqlConnection from GetConnectionType

Describe alternatives you've considered
The alternative is to create a custom FR connection

Additional context
See https://devblogs.microsoft.com/dotnet/introducing-the-new-microsoftdatasqlclient/

Activity

  1. KirillKornienko commented on Dec 15, 2022

    @KirillKornienko
    Contributor

    Thanks for the idea. Is the new SqlClient fully compatible with the old SqlClient? I think we need to add new plugin with other name for minimize user's errors but I have no idea what the new plugin will be called and maybe we really need to replace it.

  2. MaximBalaganskiy commented on Dec 15, 2022

    @MaximBalaganskiy
    Author

    It is compatible. Plus it supports more connection string formats

  3. rafaelchei commented on Mar 9, 2023

    @rafaelchei

    Like @MaximBalaganskiy said, it is compatible but I just want to point out that Microsoft.Data.SqlClient has a breaking change, the Encryption is now On by Default.
    I guess this is just one more reason to add a new plugin instead of using the current one.

    See here: https://weblog.west-wind.com/posts/2021/Dec/07/Connection-Failures-with-MicrosoftDataSqlClient-4-and-later#encryption-is-now-on-by-default

  4. BogdanStg commented on Mar 31, 2023

    @BogdanStg

    Hello!

    Microsoft.Data.SqlClient instead of System.Data.SqlClient is planned in the next release, expect changes

    Best regards,
    Bogdan

  5. MaximBalaganskiy commented on Apr 2, 2024

    @MaximBalaganskiy
    Author

    Any progress on this?

  6. MaximBalaganskiy commented on Feb 16, 2025

    @MaximBalaganskiy
    Author

    @BogdanStegachev Please reopen, this is not resolved

  7. BogdanStg commented on Feb 17, 2025

    @BogdanStg

    Hello!

    At the moment the replacement of Microsoft.Data.SqlClient instead of System.Data.SqlClient is not completed, as soon as there are changes we will immediately inform you in this issue

    Best regards,
    Bogdan

  8. MaximBalaganskiy commented on Jan 4, 2026

    @MaximBalaganskiy
    Author

    Any progress?

  9. BogdanStg commented on Jan 5, 2026

    @BogdanStg

    Hello!

    We will raise the priority on this issue and as soon as the changes are available in FastReport OpenSource we will inform you in this issue

  10. TheronPatrickALN commented on Aug 15, 2026

    @TheronPatrickALN

    Any update on this? System.Data.Sqlclient does not support Managed Identity

  11. BogdanStg commented on Aug 17, 2026

    @BogdanStg

    Thank you for the information you have provided!

    Our developers are still working on implementing this feature, but I will pass on all your feedback to them to raise the priority of the attached task.

  12. BogdanStg commented on Aug 31, 2026

    @BogdanStg

    Hello!

    Thank you for wait!

    Our developers have successfully replaced System.Data.SqlClient with Microsoft.Data.SqlClient. Please look out for these changes in the next version of FastReport Open Source

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

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions