Oracle.ManagedDataAccess系统无法找到指定的文件 [英] Oracle.ManagedDataAccess The system cannot find the file specified

查看:3102
本文介绍了Oracle.ManagedDataAccess系统无法找到指定的文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在建立在.NET 3.5我的网站项目,当我添加参照 Oracle.ManagedDataAccess.dll 在web.config中添加此

 <添加组件=Oracle.ManagedDataAccess,版本= 4.121.1.0,文化=中性公钥= 89B483F429C47342/>

它给这个错误

 配置错误
  说明:该请求提供服务所需的配置文件的处理过程中发生错误。请检查下面的特定错误详细信息并适当地修改配置文件。 分析器错误信息:未能加载文件或程序集Oracle.ManagedDataAccess,版本= 4.121.1.0,文化=中性公钥= 89b483f429c47342'或它的一个依赖。该系统找不到指定的文件。


解决方案

此错误出现在.NET 3.5版
解决的办法是升级.NET版本到.NET 4.0或以上。

In my website project built on .net 3.5, when I add reference to the Oracle.ManagedDataAccess.dll by adding this in the web.config

<add assembly="Oracle.ManagedDataAccess, Version=4.121.1.0, Culture=neutral, PublicKeyToken=89B483F429C47342"/>

it give this error

Configuration Error 
  Description: An error occurred during the processing of a configuration file required to     service this request. Please review the specific error details below and modify your configuration file appropriately. 

 Parser Error Message: Could not load file or assembly 'Oracle.ManagedDataAccess, Version=4.121.1.0, Culture=neutral, PublicKeyToken=89b483f429c47342' or one of its dependencies. The system cannot find the file specified.

解决方案

This error comes at .net version 3.5 The solution is to upgrade the .net version to .net 4.0 or above

这篇关于Oracle.ManagedDataAccess系统无法找到指定的文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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