I'm working with .NET 4 MVC 2 and Entity Framework 4.
When I run my app under VS2010 web server, all works fine. When I try to run in IIS 7, I get this error
How can I fix this? I tried to run application pool with my user account but I got no effect.
Build 2024 was released this days. I'll download it tomorrow and test if it solves my problem.
answered 16 May '10, 14:40
The Entity Framework throws this exception if it can’t find the underlying ADO.NET provider. In the current release, we only ship one ADO.NET provider which can be used with .NET 2.0 / 3.0 / 3.5 / 4.0. SQL Anywhere installer adds this DLL into .NET 2.0 GAC and registers it in .NET 2.0 machine.config file. For .NET 4.0 applications, the Entity Framework should load the DLL from the 4.0 GAC. I would suggest :
In SQL Anywhere 12 and future 11 EBFs, we will ship three versions of SQL Anywhere ADO.NET provider. One for .NET 2.0 / 3.0, one for .NET 3.5, and one for .NET 4.0.
answered 11 May '10, 01:41