oracleclient需要更高版本(总是报这个:System.Data.OracleClient 需要 Oracle 客户端软件 8.1.7 或更高版本)

本文目录
- 总是报这个:System.Data.OracleClient 需要 Oracle 客户端软件 8.1.7 或更高版本
- System.Data.OracleClient 需要 Oracle 客户端软件 8.1.7 或更高版本
- .net关于解决System.Data.OracleClient 需要 Oracle 客户端软件 8.1.7 或更高版本
- 出现System.Data.OracleClient requires Oracle client software version 8.1.7 or greater.
总是报这个:System.Data.OracleClient 需要 Oracle 客户端软件 8.1.7 或更高版本
这个是你本地没没有安装客户端。而你的这种方式是需要oracle的一个客户端的。
建议使用jdbc方式连接数据库
import java.sql.*;
publicclass SqlConn {
public Statement getSt(){
Statement st=null;
try {
//这里换成你的驱动
Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver");
//数据库连接换成oracle的串
Connection
con=DriverManager.getConnection("jdbc:microsoft:sqlserver://localhost:1433;DatabaseName=shop","sa","sa");
st=con.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE,ResultSet.CONCUR_READ_ONLY);
return st;
} catch (Exception e) {
// TODO 自动生成 catch 块 e.printStackTrace();
}
return st;
}
}
System.Data.OracleClient 需要 Oracle 客户端软件 8.1.7 或更高版本
ASP.NET连接Oracle问题1:System.Exception: System.Data.OracleClient requires Oracle client software version 8.1.7 or greater
原因:NTFS权限问题,在ORACLE9I时总是遇到
解决方法:
1、以管理员的用户登录;
2、找到ORACLE_HOME文件夹(我的是C:\oracle\ora92),点右键,选属性--安全,在组或用户栏中选“Authenticated Users”,在下面权限列表中把“读取和运行”的权限去掉,再按应用;重新选上“读取和运行”权限,点击应用;选权限框下面的“高级”按钮,确认“Authenticated Users”后面的应用于是“该文件夹、子文件夹及文件”,按确定把权限的更改应用于该文件夹;
3、重新启动计算机,让权限设置生效(请注意,这一步很重要);
4、登录后运行asp.net应用,正常取得Oracle数据库的数据。
满意请采纳。
.net关于解决System.Data.OracleClient 需要 Oracle 客户端软件 8.1.7 或更高版本
当你的.net出现错误信息是System.Data.OracleClient 需要 Oracle 客户端软件 8.1.7 或更高版本的时候
网上很多资料都是权限问题,然而不一定都是权限问题
还有一种就是 环境变量没有配置好
本人就因为这个原因,怎么配置权限都不行,最后参考了其他人的环境变量后,发现果然是自己之前配置Java环境的时候,动到了.net的环境
至于怎么配置
就是在系统变量里,增加你的oracle安装目录里的/BIN路径
这个一般在最开始配置环境的时候都会配置好的
如果不会配置环境变量,建议打开baidu直接搜索"oracle环境变量"关键字即可
出现System.Data.OracleClient requires Oracle client software version 8.1.7 or greater.
Service cannot be started. System.Exception: System.Data.OracleClient requires Oracle client software version 8.1.7 or greater
To resolve this issue, you need to provide the authenticated users’ group privilege to the Oracle Home directory.
To fix this, apply these steps:
1- Log on to the MS Windows machine with the Administrator account.
2- Start MS Windows Explorer.
3- Navigate to the directory: ORACLE_HOME folder.
4- Right Click and choose the properties on the ORACLE_HOME folder.
5- Click the Security tab of the Properties window.
6- Click on the Authenticated Users in the Name list.
7- Uncheck the Read and Execute box in the Permissions list under the Allow column.
8- Recheck the Read and Execute box again.
9- Click the Advanced button.
10- In Permission Entries verify that Authenticated Users are listed with permission set to Read & Execute and Apply to set to: This folder ORACLE_HOME, subfolders and files.
11- Click OK to exit the security properties windows.
12- Restart the computer to ensure the changes take effect.

更多文章:
全球新冠肺炎疫情背景下航运发展(盐田港复苏日志:半年历劫从“低谷”到“爆仓” 疫情之后巨轮如何越洋航行)
2026年9月7日 17:10
matlab求解带字母参数方程组(我想matlab求一个关于x,y的方程组 ab c d f e h m n 都是参数)
2026年9月7日 16:30
oracle中的循环语句(下面哪个不是oracle程序设计中的循环语句 a for)
2026年9月7日 15:30
电脑里2个系统怎么删除一个(电脑开机显示有两个系统,如何删除一个)
2026年9月7日 12:20
scrollthrough意思(“scroll”是什么意思)
2026年9月7日 08:00
怎么激活keygen(注册机如何激活cad2008一个简单激活cad2008的方法)
2026年9月7日 06:30



