加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

oracle 64位服务器上报 OraOLEDB.Oracle provider is not regist

发布时间:2020-12-12 14:55:13 所属栏目:百科 来源:网络整理
导读:Failed to test connection. The ‘OraOLEDB.Oracle’ provider is not registered on the local machine. 本机安装的oracle11g的64位客户端,使用.net开发,使用oledb组件连接数据库,报错 The MSDAORA.1 provider is not registered on the local machine

Failed to test connection. The ‘OraOLEDB.Oracle’ provider is not registered on the local machine.


本机安装的oracle11g的64位客户端,使用.net开发,使用oledb组件连接数据库,报错

The MSDAORA.1 provider is not registered on the local machine


后来把连接字符串改成


Provider=OraOLEDB.Oracle;DataSource=MyOracleDB;UserId=myUsername;Password=my... 报错
The ‘OraOLEDB.Oracle’ provider is not registered on the local machine.


解决方法:安装oracle64位客户端,选择oledb相关组件。安装后,改系统环境变量path,home_1为首选

参考:http://blog.csdn.net/guoneng_wei/article/details/39577349

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读