Base solution for your next web application
Ends in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

System.MissingMethodException after updating Abp #1467


User avatar
0
mhdbaz created

I am getting this exception after updating Abp to latest version. This exception I am getting when use

IApplicationLanguageManager

Example

ApplicationLanguageManager.GetLanguagesAsync(null)

I get this exception.

In Abp 0.9.0 there is no exception.

System.MissingMethodException was unhandled by user code HResult=-2146233069 Message=Method not found: 'Void EntityFramework.DynamicFilters.DynamicFilterExtensions.Filter(System.Data.Entity.DbModelBuilder, System.String, System.Linq.Expressions.Expression1<System.Func3<!!0,!!1,Boolean>>, !!1)'. Source=Abp.EntityFramework StackTrace: at Abp.EntityFramework.AbpDbContext.OnModelCreating(DbModelBuilder modelBuilder) at System.Data.Entity.Internal.LazyInternalContext.CreateModelBuilder() at System.Data.Entity.Internal.LazyInternalContext.CreateModel(LazyInternalContext internalContext) at System.Data.Entity.Internal.RetryLazy`2.GetValue(TInput input) at System.Data.Entity.Internal.LazyInternalContext.InitializeContext() at System.Data.Entity.Internal.InternalContext.ForceOSpaceLoadingForKnownEntityTypes() at System.Data.Entity.DbContext.System.Data.Entity.Infrastructure.IObjectContextAdapter.get_ObjectContext() at Abp.EntityFramework.AbpDbContext.RegisterToChanges() in D:\Halil\GitHub\aspnetboilerplate\src\Abp.EntityFramework\EntityFramework\AbpDbContext.cs:line 129 at Abp.EntityFramework.AbpDbContext..ctor(String nameOrConnectionString) in D:\Halil\GitHub\aspnetboilerplate\src\Abp.EntityFramework\EntityFramework\AbpDbContext.cs:line 73 at myproject.FrontEnd.EntityFramework.FrontEndDbContext..ctor(String nameOrConnectionString) in D:\myproject\myprojectFrontEnd\myproject.FrontEnd.EntityFramework\EntityFramework\FrontEndDbContext.cs:line 43 InnerException:


1 Answer(s)
  • User Avatar
    0
    mhdbaz created

    I found the solution its because of EntityFramework.DynamicFilters 2.2.0

    I down grade EntityFramework.DynamicFilters to 1.4.11 and its working.