[英]Can we use System.Data.OracleClient in .Net against Oracle 19c?
so we migrated Oracle 12.2 to 19c and the Asp.Net app that connects to oracle service is now failing with the following error: Oracle 12560: TNS Protocol Adapter Error所以我们将 Oracle 12.2 迁移到 19c 并且连接到 oracle 服务的 Asp.Net 应用程序现在失败,并出现以下错误:Z30162ED78B6C10F731411F2FC60:TNS2 12
before anything, I'd like to confirm that the .net dll System.Data.OracleClient would work against Oracle 19c or are we looking at migrating forcefully to ODP.Net??首先,我想确认 .net dll System.Data.OracleClient 将适用于 Oracle 19c 还是我们正在考虑迁移到 ODPNet?
It mainly depends on the client version, not the database version.它主要取决于客户端版本,而不是数据库版本。
The System.Data.OracleClient
namespace does not work anymore with Oracle client 18c or newer. System.Data.OracleClient
命名空间不再适用于 Oracle 客户端 18c 或更高版本。 If your application (ie the client) runs on your 19cdatabase server, then it will not work anymore.如果您的应用程序(即客户端)在您的 19cdatabase 服务器上运行,那么它将不再工作。
NB, the System.Data.OracleClient
driver is deprecated for more than 10 years.注意,
System.Data.OracleClient
驱动程序已弃用超过 10 年。
System.Data.OracleClient requires Oracle client software version 8.1.7 or greater. System.Data.OracleClient 需要 Oracle 客户端软件版本 8.1.7 或更高版本。 So if you use ODP.NET v.12.X, this bunch of OracleClient and ODP.NET will work with Oracle 19c.
因此,如果您使用 ODP.NET v.12.X,这组 OracleClient 和 ODP.NET 将与 Oracle 19c 一起使用。 See also Connecting to Oracle19C Server using Oracle11g client
另请参见使用 Oracle11g 客户端连接到 Oracle19C 服务器
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.