on 2010 May 07 12:42 PM
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
The underlying provider failed on Open.
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.
Thank you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
11 | |
10 | |
10 | |
10 | |
8 | |
8 | |
7 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.