I got issues following this tutorial: Using Entity Framework Implementation of ASP.NET Identity 2.0 for MySQL
I am sure that I am fulfilling the requriements:
Code: Select all
VS 2013 Update 5
Code: Select all
PM> install-package entityframework
'EntityFramework 6.1.3' already installed.
AspNet_Identity_Application already has a reference to 'EntityFramework 6.1.3'.
References in project:
Code: Select all
Devart.Data.MySql.Entity
c:\Program Files (x86)\Devart\dotConnect\MySQL\Entity\EF6\Devart.Data.MySql.Entity.dll
8.3.379.6
Code: Select all
EntityFramework
...AspNet_Identity_Application\packages\EntityFramework.6.1.3\lib\net45\EntityFramework.dll
6.0.0.0
When I follow the steps to the end of this tutorial and I start my application i get the following error message:
Code: Select all
The 'Instance' member of the Entity Framework provider type 'Devart.Data.MySql.Entity.MySqlEntityProviderServices, Devart.Data.MySql.Entity, Version=8.3.379.0, Culture=neutral, PublicKeyToken=09af7300eec23701' did not return an object that inherits from 'System.Data.Entity.Core.Common.DbProviderServices'. Entity Framework providers must inherit from this class and the 'Instance' member must return the singleton instance of the provider. This may be because the provider does not support Entity Framework 6 or later; see http://go.microsoft.com/fwlink/?LinkId=260882 for more information.
Code: Select all
Source Error:
Line 22: public class ApplicationDbContext : IdentityDbContext<ApplicationUser>
Line 23: {
Line 24: public ApplicationDbContext() <-- Error!
Line 25: : base("DefaultConnection", throwIfV1Schema: false)
Line 26: {
Thank you for your support.
Best regards,
kap