【问题标题】:ORA-03134: Connections to this server version are no longer supportedORA-03134: 不再支持与此服务器版本的连接
【发布时间】:2019-02-17 10:48:18
【问题描述】:

环境:Microsoft .NET Framework 版本:4.0.30319; ASP.NET 版本:4.6.1586.0

后端:Oracle 9i

工具:Visual Studio 2012,ODAC 11.2 版本

当我通过 Visual Studio 2012 进行调试时,该应用程序运行良好,并且所有 CRUD 操作都运行良好。

但是当我将它部署到 IIS 服务器时,它说“ORA-03134:不再支持与此服务器版本的连接,如下图所示”

IIS配置(应用程序池)如下:

【问题讨论】:

  • 9iR2 的终端补丁集已经超过 10 年了。是时候升级了。
  • 客户端不愿意升级后端。
  • 那你需要使用支持那个古老版本的工具。
  • 所以我使用的是支持 9i 的 ODAC 11.2 版本,但问题是,它在 IIS 中不起作用,但在可视化学习调试模式下完美运行
  • 这里是an Oracle forum thread which has a similar sounding problem。解决方案是更改 GAC 的配置。也许它可以帮助你?

标签: asp.net .net oracle iis


【解决方案1】:

您可以使用网关数据库版本 11.2 访问旧数据库 9.2.0.8。 从网关 DB 版本 11.2 为旧数据库 9.2.0.8 创建一个 dblink。

C:\oracle\instantclient_12_2>.\sqlplus.exe  scott/tiger@oracle11

SQL*Plus: Release 12.2.0.1.0 Production on Mon Feb 18 07:31:38 2019

Copyright (c) 1982, 2017, Oracle.  All rights reserved.


Connected to:
Oracle Database 11g Release 11.2.0.3.0 - 64bit Production

SQL> select * from dept@oracle9;

    DEPTNO DNAME          LOC
---------- -------------- -------------
        12 RESEARCH       SARATOGA
        10 ACCOUNTING     CLEVELAND
        11 ART            SALEM
        13 FINANCE        BOSTON
        21 SALES          PHILA.
        22 SALES          ROCHESTER
        42 INT'L          SAN FRAN

7 rows selected.

Oracle 客户端 11.2.0.4 可以连接到 Oracle RDBMS 9.2.0.8。

C:\oracle\instantclient_11_2>.\sqlplus.exe  scott/tiger@oracle9

SQL*Plus: Release 11.2.0.4.0 Production on Mon Feb 18 07:37:22 2019

Copyright (c) 1982, 2013, Oracle.  All rights reserved.


Connected to:
Oracle9i Enterprise Edition Release 9.2.0.8.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.8.0 - Production

SQL>

Oracle 客户端 12.2.0.1 无法连接到 Oracle RDBMS 9.2.0.8。

C:\oracle\instantclient_12_2>.\sqlplus.exe  scott/tiger@oracle9

SQL*Plus: Release 12.2.0.1.0 Production on Mon Feb 18 07:36:45 2019

Copyright (c) 1982, 2017, Oracle.  All rights reserved.

ERROR:
ORA-03134: Connections to this server version are no longer supported.

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2020-07-23
    • 2012-03-08
    • 2023-01-30
    相关资源
    最近更新 更多