安装了32位Oracle客户端运行在64位模式 [英] Running in 64 bit mode with the 32 bit Oracle client installed

查看:120
本文介绍了安装了32位Oracle客户端运行在64位模式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经开发了一个Applicatoin ASP.NET中使用C#和我使用Oracle数据库。
我是概率,当我运行从Visual Studio 2012这个应用程序将抛出像误差

I have Developed an Applicatoin in ASP.NET with C# and I have used oracle database. my prob is when I am running this application from visual studio 2012 it will throw error like

尝试加载Oracle客户端库扔BadImageFormatException。在64中运行时会出现此问题
  位模式32位的Oracle客户端组件安装。

但是当我在我的本地IIS主机这个应用程序,使应用程序池启用32位为真,那么它的正常工作。

but when I host this application in my local iis and make application pool enable 32bit is true then it's working fine.

谁能请我的GUID我如何才能从Visual Studio运行此。

can anyone please guid me how can I run this from visual studio.

推荐答案

如果它仅仅是ODP使用管理驱动程序从甲骨文。

If it is just the ODP use the managed driver from Oracle.

http://www.nuget.org/packages/odp.net.managed /

这篇关于安装了32位Oracle客户端运行在64位模式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆