64位WCF应用程序连接32位oracle 10g-项目设置和oracle客户端insatllation [英] 64 bit WCF application to connect with 32bit oracle 10g- project setting and oracle client insatllation

查看:173
本文介绍了64位WCF应用程序连接32位oracle 10g-项目设置和oracle客户端insatllation的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的电脑是64位Windows 7,我需要开发一个.net网络服务,它将连接到32位oracle [10g]服务器...请建议什么项目设置和oracle客户端将需要什么



我尝试过:



i尝试使用oracle 32位客户端安装的任何cpu设置但收到以下错误



尝试加载Oracle客户端库引发BadImageFormatException。在安装了32位Oracle客户端组件的64位模式下运行时会发生此问题

my pc is 64 bit windows 7 and i need to develop a .net web services which will connect to 32 bit oracle[10g] server... please suggest what project setting and what oracle client will be required

What I have tried:

i tried any cpu setting with oracle 32 bit client installation but receiving below error

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

推荐答案

您收到的错误消息是因为本机Oracle客户端是64位或32位有点,不是两个。



在项目设置中,尝试将架构明确设置为 x86
The error message you received happens because native Oracle client is either 64 or 32 bit, not both.

In your project settings, try setting the architecture explicitly to x86,


这篇关于64位WCF应用程序连接32位oracle 10g-项目设置和oracle客户端insatllation的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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