无法加载文件或程序集“Oracle.DataAccessVersion = 9.2.0.700,区域性=中性公钥= 89b483f429c47342” [英] Could not load file or assembly 'Oracle.DataAccessVersion=9.2.0.700, Culture=neutral, PublicKeyToken=89b483f429c47342'

查看:631
本文介绍了无法加载文件或程序集“Oracle.DataAccessVersion = 9.2.0.700,区域性=中性公钥= 89b483f429c47342”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


无法加载文件或程序集Oracle.DataAccess,版本= 9.2.0.700,区域性=中性公钥= 89b483f429c47342'或它的一个依赖。找到的程序集清单定义不匹配程序集引用。 (异常来自HRESULT:0x80131040)

我已经开发利用ODAC 32位版本11.2.0.3.0应用程序。在那里工作的绝对fine.But部署到哪里,我安装IIS 7.5与32位客户端版为11.2.0.3.0我总是收到上述错误另一台PC。

i have developed the application using odac 32 bit version 11.2.0.3.0. where it is working absolutely fine.But deploying into another pc where i installed IIS 7.5 with 32 bit client ersion 11.2.0.3.0 i am always getting the above error.

我不知道它在哪儿得到oracle.DataAccess,版本= 9.2.0.700。我想整天来解决问题。但仍没有运气。请大家帮我出我在哪里真的感觉可悲的情况。

i have no idea where it is getting oracle.DataAccess, Version=9.2.0.700. I tried whole day to solve the issue. But still no luck. Please help me out of the situation where i am really feeling pathetic.

推荐答案

我终于得到了解决。我只需要组装重定向到当前在web.config文件,如下:

i finally got the solution. I just need to redirect the assembly to the current one in the web.config file as below :

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

感谢大家的一种合作,并了解感受大救援。

Thank you all for your kind co-operation and know what feeling big relief.

这篇关于无法加载文件或程序集“Oracle.DataAccessVersion = 9.2.0.700,区域性=中性公钥= 89b483f429c47342”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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