Little and Mickle

All things are difficult before they are easy.

导航

Oracle FAQ: 未在本地计算机上注册"OraOLEDB.Oracle"提供程序 (The 'OraOLEDB.Oracle' provider is not registered on the local machine) solution

使用OLEDB方式连接Oracle数据库,使用Provider=MSDAORA.1;可正常使用,改成Provider=OraOLEDB.Oracle;报错,显示说:未在本地计算机上注册"OraOLEDB.Oracle"提供程序(The 'OraOLEDB.Oracle' provider is not registered on the local machine.).

查了一下,发现是装Oracle 9i client的时候,默认没有安装Oracle 的OLEDB驱动,到www.oracle.com上搜索oracle provider for oledb download, 查到http://www.oracle.com/technology/software/tech/windows/ole_db/htdocs/utilsoft.htm ,我用的oracle是9.2的版本,下载这个版本的驱动,安装之后,OraOLEDB.Oracle驱动就可以用了。(同时要保证aspnet用户对oracle home目录有完全控制权限)

posted on 2005-09-16 11:48  davidullua  阅读(7790)  评论(3编辑  收藏  举报