0

我有 Asp.net mvc 4 应用程序这是一个连接字符串

<add name="OracleConnectionString" connectionString="Data Source=localhost;User Id=RABS;Password=*******;Unicode=True" providerName="System.Data.OracleClient"/>

还安装在我的机器上 oracle 11g R2 Express 和 Oracle 数据提供程序 for .net { ODAC 11.2 Release 5 和 Oracle Developer Tools for Visual Studio (11.2.0.3.20)} 从这里

当我创建模型类并生成控制器时,我遇到了这个错误消息,找不到请求的 .net 框架数据提供程序

4

1 回答 1

0

You will keep getting errors because the solution is not as simple as changing the connection string. Look at the answers to this similar question: Use an Oracle database with forms authentication in an MVC3 application

One of the answers suggests taking a look at this tutorial: http://quysnhat.wordpress.com/2011/09/13/using-membership-with-oracle-database-in-asp-net-mvc-3/

于 2014-03-19T12:37:35.543 回答