VS2010连接64位Oracle问题

dongxy14 2012-02-25 09:55:10
我的系统是64位的win7,安装了64位的Oracle 11g R2,在VS2010运行时提示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.该怎么处理啊。。。。
...全文
385 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
dongxy14 2012-02-26
  • 打赏
  • 举报
回复
解决了,安装一个32位的instantclient-basic-nt-11.2.0.2.0就好了
孟子E章 2012-02-25
  • 打赏
  • 举报
回复
VS里面运行需要安装32位的客户端,好像VS里面Webserver是32位的,发布到iis中就没有这样的问题了。
参见
http://stackoverflow.com/questions/5869969/badimageformatexception-while-using-oracle-client-64-bit-and-visual-studio-2010

17,740

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术 .NET Framework
社区管理员
  • .NET Framework社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧