Asp.net ORA-03134:不再支持到此服务器版本的连接

Asp.net ORA-03134:不再支持到此服务器版本的连接,asp.net,.net,oracle,iis,Asp.net,.net,Oracle,Iis,环境:Microsoft.NET Framework版本:4.0.30319;ASP.NET版本:4.6.1586.0 后端:Oracle 9i 工具:Visual Studio 2012,ODAC 11.2版本 当我通过VisualStudio2012进行调试时,应用程序运行良好,所有CRUD操作都运行良好 但当我将其部署到IIS服务器时,它说“ORA-03134:不再支持与此服务器版本的连接,如下图所示” IIS配置(应用程序池)如下所示: 您可以使用网关DB 11.2版访问旧数据库9.2

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

后端:Oracle 9i

工具:Visual Studio 2012,ODAC 11.2版本

当我通过VisualStudio2012进行调试时,应用程序运行良好,所有CRUD操作都运行良好

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

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


您可以使用网关DB 11.2版访问旧数据库9.2.0.8。 为旧数据库9.2.0.8从网关DB 11.2版创建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 client 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>
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.
Oracle client 12.2.0.1无法连接到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>
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.

您可以使用网关DB 11.2版访问旧数据库9.2.0.8。 为旧数据库9.2.0.8从网关DB 11.2版创建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 client 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>
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.
Oracle client 12.2.0.1无法连接到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>
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.

9iR2的终端配线架已使用10年以上。升级时间已经到了。客户端不愿意升级后端。然后你需要使用支持该古老版本的工具。因此,我使用支持9i的ODAC 11.2版本,但问题是,它在IIS中不工作,但在Visual study调试模式下工作得很好。解决方案是改变GAC的配置。也许它可以帮助你?9iR2的终端补丁已经超过10年了。升级时间已经到了。客户端不愿意升级后端。然后你需要使用支持该古老版本的工具。因此,我使用支持9i的ODAC 11.2版本,但问题是,它在IIS中不工作,但在Visual study调试模式下工作得很好。解决方案是改变GAC的配置。也许它能帮助你?