Home  >  Article  >  Database  >  c#编程连接oracle数据库 无法加载DLL(oci.dll)

c#编程连接oracle数据库 无法加载DLL(oci.dll)

WBOY
WBOYOriginal
2016-06-07 15:51:133055browse

C# .net项目与oracle相连接时,总是出现无法加载DLL( oci.dll ) 对于这个问题,首先要确认自己的客户端是否安装了Oracle客户端软件,如果没有安装oracle客户端,在调用oracle数据库时会提示这个oci.dll错误。 如果你已经安装了oracle客户端,且进行了正确的配

C#.net项目与oracle相连接时,总是出现无法加载DLL(oci.dll)

对于这个问题,首先要确认自己的客户端是否安装了Oracle客户端软件,如果没有安装oracle客户端,在调用oracle数据库时会提示这个oci.dll错误。

如果你已经安装了oracle客户端,且进行了正确的配置:

找到在安装oracle客户端的目录,(如我的oracle9i为ora92)上点属性->安全,可以添加一个Everyone用户就行。

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn