使用ODP.Net 11g和Oracle 10g [英] Using ODP.Net 11g with an Oracle 10g

查看:111
本文介绍了使用ODP.Net 11g和Oracle 10g的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好

i下载ODP.Net 11g

它是否与oracle db的任何先前版本一起使用?

谢谢任何帮助

解决方案

是的,ODP.NET向后兼容以前的Oracle版本(特别是至少9i版本2及更高版本)。



请参阅 ODP.NET常见问题解答中的以下条目 [ ^ ]:



问:ODP.NET可以与Oracle8,Oracle8 i或Oracle9 i Release 1客户端一起使用吗?

答:不需要。您需要使用Oracle9 i Release 2或更高版本的客户端。


我认为这是同一个问题。这是一个问题,服务器有一个旧的odp.net版本比我在我的电脑上。我安装了11.2版本,服务器上的版本更旧了。我在web.config中使用了绑定重定向,因此在我们升级之前将使用旧版本的odp.net。

这是我添加到运行时部分的内容:

 <   dependentAssembly  >  
< assemblyIdentity 名称 = Oracle.DataAccess publicKeyToken = 89B483F429C47342 culture = neutral / >
< bindingRedirect oldVersion = 2.112.3.0-4.112.3.0 newVersion = 10.2.0.100 / >
< / dependentAssembly >





整个运行时部分:

 <   runtime  >  
< assemblyBinding xmlns = urn:schemas-microsoft-com:asm.v1 >
< dependentAssembly >
< assemblyIdentity name = Oracle.DataAccess publicKeyToken = 89B483F429C47342 culture = 中性 / >
< bindingRedirect oldVersion = 2.112.3.0-4.112.3.0 newVersion = 10.2.0.100 / >
< / dependentAssembly >
< / assemblyBinding >
< / runtime >


hi everyone
i download ODP.Net 11g
it''s working with any previous release from oracle db or not?
thanks for any help

解决方案

Yes, ODP.NET is backwards compatible with previous Oracle versions (specifically, at least 9i Release 2 and later).

See the following entry from the ODP.NET FAQ[^]:

Q: Can ODP.NET be used with an Oracle8, Oracle8 i, or Oracle9 i Release 1 client?
A: No. You need to use the Oracle9 i Release 2 or higher client.


I think this is the same issue. It was an issue that the server had an older odp.net version than what I had on my pc. I installed 11.2 version and the version on the server was much older. I used a binding redirect in the web.config so the older version of odp.net would be used until we could upgrade.
This is what I added to the "runtime" section:

<dependentAssembly>
    <assemblyIdentity name="Oracle.DataAccess" publicKeyToken="89B483F429C47342" culture="neutral" />
    <bindingRedirect oldVersion="2.112.3.0-4.112.3.0" newVersion="10.2.0.100"/>
</dependentAssembly>



Entire runtime section:

<runtime>
        <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
            <dependentAssembly>
                <assemblyIdentity name="Oracle.DataAccess" publicKeyToken="89B483F429C47342" culture="neutral" />
                <bindingRedirect oldVersion="2.112.3.0-4.112.3.0" newVersion="10.2.0.100"/>
            </dependentAssembly>
        </assemblyBinding>
    </runtime>


这篇关于使用ODP.Net 11g和Oracle 10g的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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