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

SqlClient: Keyword not supported: 'TransparentNetworkIPResolution' #99

Open
divega opened this issue Mar 10, 2017 · 8 comments
Open

SqlClient: Keyword not supported: 'TransparentNetworkIPResolution' #99

divega opened this issue Mar 10, 2017 · 8 comments
Labels
💡 Enhancement New feature request 👉 NetFx to NetCore Supported for .NET Framework but missing for .NET Core
Milestone

Comments

@divega
Copy link

divega commented Mar 10, 2017

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

@divega
Copy link
Author

divega commented Mar 10, 2017

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)

@divega divega changed the title Keyword not supported: 'TransparentNetworkIPResolution' SqlClient: Keyword not supported: 'TransparentNetworkIPResolution' Mar 10, 2017
@saurabh500
Copy link
Contributor

TNIR will be supported after 2.0

@AlexaCodex
Copy link

Is this supported yet and on which version?

@divega divega transferred this issue from dotnet/corefx May 16, 2019
@divega
Copy link
Author

divega commented May 16, 2019

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.

@David-Engel David-Engel added this to the Future milestone May 17, 2019
@cheenamalhotra cheenamalhotra added this to Low priority in SqlClient Triage Board Jul 11, 2019
@cheenamalhotra cheenamalhotra added the 👉 NetFx to NetCore Supported for .NET Framework but missing for .NET Core label Jul 31, 2019
@cheenamalhotra cheenamalhotra moved this from Low priority to Ideas for Future in SqlClient Triage Board Jul 31, 2019
@cheenamalhotra cheenamalhotra added the 💡 Enhancement New feature request label Aug 6, 2020
@chrisjsmith
Copy link

+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?

@David-Engel
Copy link
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.

@JRahnama
Copy link
Member

JRahnama commented Apr 9, 2023

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

@jrichardsz
Copy link

Any update?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💡 Enhancement New feature request 👉 NetFx to NetCore Supported for .NET Framework but missing for .NET Core
Projects
SqlClient Triage Board
  
Ideas for Future
Development

No branches or pull requests

8 participants