asp.net与oracle 10G不兼容oracle 11G客户端 [英] asp.net with oracle 10G not working with oracle 11G client

查看:59
本文介绍了asp.net与oracle 10G不兼容oracle 11G客户端的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hi,

I have build and published application on my local machine using oracle 10 G and vs2010 (asp.net/C#) everything works fine but I copied same code to web server its not working. web server have oracle 11G and vs2010. 

1 - I got error "File or assembly name Oracle.DataAccess", or one of its dependency was not found' then I added Oracle.DataAcces.dll in bin folder and I did build/publish and copied on web server and now I am getting this error "Unable to load DLL 'OraOps10.dll".

Could you please suggest how can I make application which works on both10G or 11G.

Thanks.

推荐答案

在.Net框架中对Oracle有一些支持,但这被认为是过时。因此,您使用来自Oracle的SDK(我不知道它的确切名称,.Net的Oracle连接器或类似的东西)构建您的应用程序,这是您在计算机上本地安装的。当然,Web服务器上也需要SDK。安装在那里。
There is some support for Oracle in the .Net framework, but that is considered outdated. So you built your apllication with an SDK from Oracle (I do not know its exact name, Oracle connector for .Net or something like this), which you installed locally on your machine. Of course that SDK is required on the web server too. Install it there.


这篇关于asp.net与oracle 10G不兼容oracle 11G客户端的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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