OraOLEDB.Oracle 提供程序未在本地计算机上注册 [英] OraOLEDB.Oracle provider is not registered on the local machine
问题描述
我刚刚从 XP 迁移到 Win 7.我猜这个错误与切换操作系统有关.我编写了一个 .net 应用程序,它基本上处理大量数据,然后连接到数据库并插入/更新表.
I just migrated from XP to Win 7. I am guessing this error has to do with switching operating systems. I wrote a .net application that basically massages a large amount of data and then connects to a database and inserts/updates a table.
当我点击按钮连接到数据库时,我遇到了有关 oracle 提供程序未在我的本地计算机上注册的错误.
When I hit a button to connect to the database I run into the error regarding the oracle provider not being registered on my local machine.
如果我能快速解决此问题的清晰分步大纲将不胜感激.
A clear, step by step outline of how I can fix this quickly would be much appreciated.
确切的错误信息是:
'OraOLEDB.Oracle.1' 提供程序未在本地机器上注册
'OraOLEDB.Oracle.1' provider is not registered on the local machine
推荐答案
在 Windows 7 64 位上安装 64 位 Oracle 客户端后,我遇到了同样的问题.对我有用的解决方案:
I had the same issue after installing the 64 bit Oracle client on Windows 7 64 bit. The solution that worked for me:
- 在管理员模式下打开命令提示符
cd oracleproduct11.2.0client_64BIN
c:Windowssystem32 egsvr32.exe OraOLEDB11.dll
这篇关于OraOLEDB.Oracle 提供程序未在本地计算机上注册的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!