您的位置:首页 > 数据库 > Oracle

oracle 64位服务器上报 OraOLEDB.Oracle provider is not registered on thelo cal machine

2017-05-16 21:59 701 查看
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;Data Source=MyOracleDB;User Id=myUsername;Password=my...
报错
The ‘OraOLEDB.Oracle’ provider is not registered on the local machine.

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

参考:http://blog.csdn.net/guoneng_wei/article/details/39577349
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐