Skip to content

SqlClient: Keyword not supported: 'TransparentNetworkIPResolution' #99

Closed as not planned

Description

@divega

From @msmolka on March 10, 2017 12:50

I'm sharing connection string between net462 and core application.
connection string contains `TransparentNetworkIPResolution=False;'

When starting ASP NET Core app I have following error:

Exception message:  An exception occurred in the database while saving changes.
Stack trace:
Microsoft.EntityFrameworkCore.DbContext[1]
      An exception occurred in the database while saving changes.
      System.ArgumentException: Keyword not supported: 'transparentnetworkipresolution'.
         at System.Data.Common.DbConnectionOptions.ParseInternal(Dictionary`2 pa

I'm expecting TransparentNetworkIPResolution is proper keyword.

Further technical details

EF Core version: 1.1.1
Database Provider: Microsoft.EntityFrameworkCore.SqlServer
Operating system: Windows Server 2012
IDE: Visual Studio 2015

Copied from original issue: dotnet/efcore#7836

Activity

  1. divega commented on Mar 10, 2017

    @divega
    Author

    From @ErikEJ on March 10, 2017 13:42

    It is not implemented in .NET Core (yet)
    https://github.com/dotnet/corefx/search?utf8=%E2%9C%93&q=TransparentNetworkIPResolution
    (and no related issue either)

  2. changed the title [-] Keyword not supported: 'TransparentNetworkIPResolution'[/-] [+]SqlClient: Keyword not supported: 'TransparentNetworkIPResolution'[/+] on Mar 10, 2017
  3. saurabh500 commented on Mar 20, 2017

    @saurabh500
    Collaborator

    TNIR will be supported after 2.0

  4. AlexaCodex commented on Feb 27, 2019

    @AlexaCodex

    Is this supported yet and on which version?

  5. transferred this issue fromdotnet/corefxon May 16, 2019
  6. divega commented on May 16, 2019

    @divega
    Author

    As recently announced in the .NET Blog, focus on new SqlClient features an improvements is moving to the new Microsoft.Data.SqlClient package. For this reason, we are moving this issue to the new repo at https://github.com/dotnet/SqlClient. We will still use https://github.com/dotnet/corefx to track issues on other providers like System.Data.Odbc and System.Data.OleDB, and general ADO.NET and .NET data access issues.

  7. added this to the milestone on May 17, 2019
  8. chrisjsmith commented on Jul 13, 2022

    @chrisjsmith

    +1 on this issue. We're getting 40,000 timeouts a day from .Net Core processes and latency spikes because this doesn't exist. Any chance of implementing it before the sun explodes?

  9. David-Engel commented on Jul 19, 2022

    @David-Engel
    Contributor

    @chrisjsmith

    I'm curious how the lack of TNIR is causing your issues. Do you have any more details on your configuration and experience that you can share?

    Past experience with customers is that TNIR has caused more connectivity headaches than it has solved compared with using MultiSubnetFailover when the environment warrants it. So we have not prioritized bringing TNIR to the .NET Core side of the SqlClient driver. We may bring the keyword to the connection string for compatibility, but it would be a no-op setting.

  10. JRahnama commented on Apr 9, 2023

    @JRahnama
    Contributor

    @chrisjsmith any update if the issue still exists in M.D.SqlClient latest release?

  11. jrichardsz commented on May 24, 2023

    @jrichardsz

    Any update?

  12. removed this from the milestone on Oct 5, 2024
  13. MichelZ commented on Nov 8, 2024

    @MichelZ
    Contributor

    Do I read this right that this feature will not get implemented?
    If so, maybe it's time to close this issue out :)

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

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