简体   繁体   English

我们可以针对 Oracle 19c 使用 System.Data.OracleClient in.Net 吗?

[英]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.

相关问题 System.Data.OracleClient for Oracle 11 Client .NET 组件 - System.Data.OracleClient for Oracle 11 Client .NET component 如何在使用System.Data.OracleClient时指定要使用的Oracle Home - How can I specify the Oracle Home to use when using System.Data.OracleClient 如何在C#中使用System.Data.OracleClient连接到远程Oracle数据库 - how to connect to remote oracle database using System.Data.OracleClient in c# 有没有一种方法可以使用System.Data.OracleClient将自定义类型从C#传递给Oracle? - Is there a way to pass a custom type from C# to Oracle using System.Data.OracleClient? 将System.Data.OracleClient替换为Oracle.DataAccess(ODP.NET) - Replacing System.Data.OracleClient to Oracle.DataAccess (ODP.NET) Oracle和ADO.NET(不推荐使用System.Data.OracleClient中的类型。) - Oracle and ADO.NET (The types in System.Data.OracleClient are deprecated.) 如何编写适用于SqlServer和Oracle的.Net应用程序(现在不推荐使用System.Data.OracleClient) - How to write a .Net application that works with both SqlServer and Oracle (now that System.Data.OracleClient is deprecated) 具有System.Data.OracleClient提供程序的Oracle Wallet的连接字符串 - Connection string for Oracle Wallet with a System.Data.OracleClient provider System.Data.OracleClient无法与64位Oracle Client一起使用 - System.Data.OracleClient not working with 64 bit Oracle Client 使用System.Data.OracleClient将行记录传递给Oracle过程 - Pass a row record to Oracle procedure using System.Data.OracleClient
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM