Oracle.ManagedDataAccess系统找不到指定的文件

时间:2014-02-23 09:36:44

标签: asp.net visual-studio-2012 web-config assembly-references odp.net-managed

在我的.net 3.5上构建的网站项目中,当我在web.config中添加对 Oracle.ManagedDataAccess.dll 的引用时添加

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

它给出了这个错误

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.

1 个答案:

答案 0 :(得分:0)

此错误来自.net 3.5版 解决方案是将.net版本升级到.net 4.0或更高版本