.net - ORACLE 和 Entity Framework 。错误 :the specified store provider cannot be found in the configuration or is not valid

标签 .net oracle entity-framework-4 odp.net

在我的项目中,我同时使用 oracle 和 Entity Framework 。我的机器我的开发者机器 win7 和我的服务器 win2008r2 我安装了 oracle beta Entity Framework 和 .net 4.0 框架。

但是我的项目在本地机器上工作,在服务器上不起作用,给出错误:

the specified store provider cannot be found in the configuration or is not valid 
SystemArgumentException unable to find the requested .net Framework data provider ...

任何人都可以帮助我吗?

最佳答案

在应用程序池和高级设置中...

查看“启用 32 位应用程序”并查看它是否已启用。它没有在我的 Windows 7 64 位上设置,我遇到了同样的问题。

我猜它也可以通过安装 64 位 ODAC 来修复,但还没有尝试过。

关于.net - ORACLE 和 Entity Framework 。错误 :the specified store provider cannot be found in the configuration or is not valid,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7596850/

相关文章:

.net - 部署到服务器上的 IIS 后,Rotativa pdf 无法工作

.net - NHibernate 2.1.2 与 .NET 4 兼容吗?

c# - TransactionInterop.GetDtcTransaction() 抛出 ArgumentNullException ... 有时

.net - 如何从 .net Web 应用程序调试 oracle 存储过程?

sql - 从Oracle表中选择所有列和常量值

c# - 我可以在第二个查询中使用已编译的查询作为源吗?

c# - 如何刷新 DbContext

asp.net - EntityDataSource 出现分页错误

c# - .NET 图表控件 - 将条形标签放在外侧和左侧吗?

c# - 当 backgroundTask 使用时,httpRequest.GetResponseAsync() 在 Windows 通用应用程序中失败?