【发布时间】:2014-11-13 07:01:07
【问题描述】:
我正在使用 Visual Studio 2010 nd Config.XML 具有以下代码:
<connectionstring ModuleId="2" Type="ORA" ConntecionString="Data Source=(DESCRIPTION =(ADDRESS_LIST =(ADDRESS = (PROTOCOL = TCP)(HOST = 10.129.11.232)(PORT = 1521)))(CONNECT_DATA =(SID=ORCL)(SERVER = dedicated)));User ID=utcfms_db26Aug14;Password=utcfms_db26Aug14;"/>
在运行应用程序时遇到以下错误:
System.InvalidOperationException: Attempt to load Oracle client libraries threw BadImageFormatException. This problem will occur when running in 64 bit mode with the 32 bit Oracle client components installed. ---> System.BadImageFormatException: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)
服务器已安装 Oracle 11g,我已在客户端计算机上安装 win64_11gR2_client。
【问题讨论】:
标签: c# asp.net database oracle networking