System.data.oracleclient需要oracle客户端软件版本8.1.7或更高版本' [英] System.data.oracleclient requires oracle client software version 8.1.7 or greater’

查看:108
本文介绍了System.data.oracleclient需要oracle客户端软件版本8.1.7或更高版本'的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正在开发WCF服务,我们使用oracle.clinet来连接数据库,它通过本地主机上的代码发生,当我们发布服务时,我们错误System.Data.OracleClient需要Oracle客户端软件版本8.1.7或更大。我们不知道出了什么问题



我的尝试:



我们已经安装并重新安装了客户端,使用目标CPU作为X86,任何CPU编译并使用应用程序。尝试将框架工作更改为4.5

we are developing WCF service where we use oracle.clinet to cnnect the db and it happens through code on local host where as when we publish the service we the error System.Data.OracleClient requires Oracle client software version 8.1.7 or greater’. we are clue less what has gone wrong

What I have tried:

we have uinstalled and reinstalled te client, complied and bulid the application using target CPU as X86,Any CPU. tried changing the frame work to 4.5

推荐答案

错误消息非常明显。您必须安装Oracle Client 8.1.7或更高版本才能使用System.Data.OracleClient命名空间中的类。



但是,因为这些东西已被弃用,您最好安装和重写代码以使用 ODP.NET库 [ ^ ],其中本身需要安装Oracle客户端。
The error message is pretty obvious. You have to have Oracle Client 8.1.7 or greater installed in order to use the classes in the System.Data.OracleClient namespace.

But, since that stuff is deprecated, you would be better off installing and rewriting the code to use one of the ODP.NET library[^], which itself will require an installation of the Oracle Client.


这篇关于System.data.oracleclient需要oracle客户端软件版本8.1.7或更高版本'的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆