asp.net - ORA-03134: 不再支持与此服务器版本的连接
问题描述
环境: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 配置(应用程序池)如下:
解决方案
您可以使用网关数据库版本 11.2 访问旧数据库 9.2.0.8。从网关数据库版本 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.
推荐阅读
- node.js - 如何使用 MacOS 在 package.json 上调用多个命令
- c++ - 向现有项目添加更多平台
- google-analytics - 将 Google Analytics 的 URL 跟踪参数添加到内部网站搜索查询时出错
- elasticsearch - 如何从搜索中排除字段中的 {}
- python - 在 canopy 终端中从 github 安装 python 包时出错
- meteor - 如何在 Meteor.js 启动时禁用订阅通知?
- python - 通过中央服务器连接由不同线程连接的两个套接字客户端作为客户端服务器对
- scala - IntelliJ IDEA 能否通过 Scalate 的 Jade / Pug 风格提供适当的 Scala 帮助?
- mysql - 使用 Ruby on Rails 创建 MySQL 数据的正态分布
- php - 将 TFS 用于非 Microsoft 项目