Open Closed

TypeLoadException: 'Volo.Abp.LanguageManagement.Domain, Version=2.9.0.0' does not have an implementation. #638


User avatar
0
Gary created

Need help on this error. I suspect a module is the wrong version but not sure.

TypeLoadException: Method 'get_ExtraProperties' in type 'Volo.Abp.LanguageManagement.Language' from assembly 'Volo.Abp.LanguageManagement.Domain, Version=2.9.0.0' does not have an implementation.

The program stops at services.AddApplication<EducatePlusWebModule>();

public class Startup { public void ConfigureServices(IServiceCollection services) { services.AddApplication<EducatePlusWebModule>(); }

  • ABP Framework version: vX.X.X
  • UI type: MVC
  • **Tiered (MVC) Tiered
  • Exception message and stack trace:
  • Steps to reproduce the issue:

Volo.Abp.AbpInitializationException HResult=0x80131500 Message=An error occurred during PreConfigureServices phase of the module Volo.Abp.LanguageManagement.LanguageManagementDomainModule, Volo.Abp.LanguageManagement.Domain, Version=2.9.0.0, Culture=neutral, PublicKeyToken=null. See the inner exception for details. Source=Volo.Abp.Core StackTrace: at Volo.Abp.AbpApplicationBase.ConfigureServices() at Volo.Abp.AbpApplicationBase..ctor(Type startupModuleType, IServiceCollection services, Action1 optionsAction) at Volo.Abp.AbpApplicationWithExternalServiceProvider..ctor(Type startupModuleType, IServiceCollection services, Action1 optionsAction) at Volo.Abp.AbpApplicationFactory.Create(Type startupModuleType, IServiceCollection services, Action1 optionsAction) at Volo.Abp.AbpApplicationFactory.Create[TStartupModule](IServiceCollection services, Action1 optionsAction) at Microsoft.Extensions.DependencyInjection.ServiceCollectionApplicationExtensions.AddApplication[TStartupModule](IServiceCollection services, Action`1 optionsAction) at Enform.EducatePlus.Web.Startup.ConfigureServices(IServiceCollection services) in C:\Dropbox\Enform\EnformNew2\src\Enform.EducatePlus.Web\Startup.cs:line 11 at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor, Boolean wrapExceptions) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at Microsoft.AspNetCore.Hosting.ConfigureServicesBuilder.InvokeCore(Object instance, IServiceCollection services) at Microsoft.AspNetCore.Hosting.ConfigureServicesBuilder.<>c__DisplayClass9_0.

Inner Exception 1: TypeLoadException: Method 'get_ExtraProperties' in type 'Volo.Abp.LanguageManagement.Language' from assembly 'Volo.Abp.LanguageManagement.Domain, Version=2.9.0.0, Culture=neutral, PublicKeyToken=null' does not have an implementation.

Stack Trace Volo.Abp.AbpInitializationException HResult=0x80131500 Message=An error occurred during PreConfigureServices phase of the module Volo.Abp.LanguageManagement.LanguageManagementDomainModule, Volo.Abp.LanguageManagement.Domain, Version=2.9.0.0, Culture=neutral, PublicKeyToken=null. See the inner exception for details. Source=Volo.Abp.Core StackTrace: at Volo.Abp.AbpApplicationBase.ConfigureServices() at Volo.Abp.AbpApplicationBase..ctor(Type startupModuleType, IServiceCollection services, Action1 optionsAction) at Volo.Abp.AbpApplicationWithExternalServiceProvider..ctor(Type startupModuleType, IServiceCollection services, Action1 optionsAction) at Volo.Abp.AbpApplicationFactory.Create(Type startupModuleType, IServiceCollection services, Action`1 optionsAction) at Volo.Abp.AbpApplicationFa

Here are all my packages....

PM> dotnet list package Project 'Enform.EducatePlus.Domain' has the following package references [netcoreapp3.1]: Top-level Package Requested Resolved

Volo.Abp.AuditLogging.Domain 3.3.2 3.3.2
Volo.Abp.BackgroundJobs.Domain 3.3.2 3.3.2
Volo.Abp.FeatureManagement.Domain 3.3.2 3.3.2
Volo.Abp.Identity.Domain 3.3.2 3.3.2
Volo.Abp.IdentityServer.Domain 3.3.2 3.3.2
Volo.Abp.LanguageManagement.Domain 2.9.0 2.9.0
Volo.Abp.LeptonTheme.Management.Domain 2.9.0 2.9.0
Volo.Abp.PermissionManagement.Domain.Identity 3.3.2 3.3.2
Volo.Abp.PermissionManagement.Domain.IdentityServer 3.3.2 3.3.2
Volo.Abp.SettingManagement.Domain 3.3.2 3.3.2
Volo.Abp.TextTemplateManagement.Domain 2.9.0 2.9.0
Volo.Saas.Domain 2.9.0 2.9.0

Project 'Enform.EducatePlus.Application' has the following package references [netcoreapp3.1]: Top-level Package Requested Resolved

Volo.Abp.Account.Pro.Admin.Application 2.9.0 2.9.0
Volo.Abp.Account.Pro.Public.Application 2.9.0 2.9.0
Volo.Abp.AuditLogging.Application 2.9.0 2.9.0
Volo.Abp.FeatureManagement.Application 3.3.2 3.3.2
Volo.Abp.Identity.Pro.Application 2.9.0 2.9.0
Volo.Abp.IdentityServer.Application 2.9.0 2.9.0
Volo.Abp.LanguageManagement.Application 2.9.0 2.9.0
Volo.Abp.LeptonTheme.Management.Application 2.9.0 2.9.0
Volo.Abp.PermissionManagement.Application 3.3.2 3.3.2
Volo.Abp.TextTemplateManagement.Application 2.9.0 2.9.0
Volo.Saas.Host.Application 2.9.0 2.9.0

Project 'Enform.EducatePlus.EntityFrameworkCore' has the following package references [netcoreapp3.1]: Top-level Package Requested Resolved

Volo.Abp.AuditLogging.EntityFrameworkCore 3.3.2 3.3.2
Volo.Abp.BackgroundJobs.EntityFrameworkCore 3.3.2 3.3.2
Volo.Abp.EntityFrameworkCore.SqlServer 3.3.2 3.3.2
Volo.Abp.FeatureManagement.EntityFrameworkCore 3.3.2 3.3.2
Volo.Abp.Identity.EntityFrameworkCore 3.3.2 3.3.2
Volo.Abp.IdentityServer.EntityFrameworkCore 3.3.2 3.3.2
Volo.Abp.LanguageManagement.EntityFrameworkCore 2.9.0 2.9.0
Volo.Abp.PermissionManagement.EntityFrameworkCore 3.3.2 3.3.2
Volo.Abp.SettingManagement.EntityFrameworkCore 3.3.2 3.3.2
Volo.Abp.TextTemplateManagement.EntityFrameworkCore 2.9.0 2.9.0
Volo.Saas.EntityFrameworkCore 2.9.0 2.9.0

Project 'Enform.EducatePlus.Web' has the following package references [netcoreapp3.1]: Top-level Package Requested Resolved

BeetleX.Redis 1.0.1 1.0.1
IdentityServer4.AccessTokenValidation 3.0.1 3.0.1
Serilog.Extensions.Hosting 3.1.0 3.1.0
Serilog.Sinks.File 4.1.0 4.1.0
Swashbuckle.AspNetCore 5.6.3 5.6.3
Volo.Abp.Account.Pro.Admin.Web 2.9.0 2.9.0
Volo.Abp.Account.Pro.Public.Web.IdentityServer 2.9.0 2.9.0
Volo.Abp.AspNetCore.Authentication.JwtBearer 3.3.2 3.3.2
Volo.Abp.AspNetCore.Mvc.UI.Theme.Lepton 2.9.0 2.9.0
Volo.Abp.AuditLogging.Web 2.9.0 2.9.0
Volo.Abp.Autofac 3.3.2 3.3.2
Volo.Abp.Caching 4.0.0 4.0.0
Volo.Abp.FeatureManagement.Web 3.3.2 3.3.2
Volo.Abp.Identity.Pro.Web 2.9.0 2.9.0
Volo.Abp.IdentityServer.Web 2.9.0 2.9.0
Volo.Abp.LanguageManagement.Web 2.9.0 2.9.0
Volo.Abp.LeptonTheme.Management.Web 2.9.0 2.9.0
Volo.Abp.TextTemplateManagement.Web 2.9.0 2.9.0
Volo.Saas.Host.Web 2.9.0 2.9.0

Project 'Enform.EducatePlus.Domain.Shared' has the following package references [netstandard2.0]: Top-level Package Requested Resolved

NETStandard.Library (A) [2.0.3, ) 2.0.3
Volo.Abp.AuditLogging.Domain.Shared 3.3.2 3.3.2
Volo.Abp.BackgroundJobs.Domain.Shared 3.3.2 3.3.2
Volo.Abp.Commercial.SuiteTemplates 2.9.0 2.9.0
Volo.Abp.FeatureManagement.Domain.Shared 3.3.2 3.3.2
Volo.Abp.Identity.Domain.Shared 3.3.2 3.3.2
Volo.Abp.IdentityServer.Domain.Shared 3.3.2 3.3.2
Volo.Abp.LanguageManagement.Domain.Shared 2.9.0 2.9.0
Volo.Abp.LeptonTheme.Management.Domain.Shared 2.9.0 2.9.0
Volo.Abp.PermissionManagement.Domain.Shared 3.3.2 3.3.2
Volo.Abp.SettingManagement.Domain.Shared 3.3.2 3.3.2
Volo.Abp.TextTemplateManagement.Domain.Shared 2.9.0 2.9.0
Volo.Saas.Domain.Shared 2.9.0 2.9.0

Project 'Enform.EducatePlus.Application.Contracts' has the following package references [netstandard2.0]: Top-level Package Requested Resolved

NETStandard.Library (A) [2.0.3, ) 2.0.3
Volo.Abp.Account.Pro.Admin.Application.Contracts 2.9.0 2.9.0
Volo.Abp.Account.Pro.Public.Application.Contracts 2.9.0 2.9.0
Volo.Abp.AuditLogging.Application.Contracts 2.9.0 2.9.0
Volo.Abp.FeatureManagement.Application.Contracts 3.3.2 3.3.2
Volo.Abp.Identity.Pro.Application.Contracts 2.9.0 2.9.0
Volo.Abp.IdentityServer.Application.Contracts 2.9.0 2.9.0
Volo.Abp.LanguageManagement.Application.Contracts 2.9.0 2.9.0
Volo.Abp.LeptonTheme.Management.Application.Contracts 2.9.0 2.9.0
Volo.Abp.ObjectExtending 3.3.2 3.3.2
Volo.Abp.PermissionManagement.Application.Contracts 3.3.2 3.3.2
Volo.Abp.TextTemplateManagement.Application.Contracts 2.9.0 2.9.0
Volo.Saas.Host.Application.Contracts 2.9.0 2.9.0

Project 'Enform.EducatePlus.HttpApi' has the following package references [netcoreapp3.1]: Top-level Package Requested Resolved

Volo.Abp.Account.Pro.Admin.HttpApi 2.9.0 2.9.0
Volo.Abp.Account.Pro.Public.HttpApi 2.9.0 2.9.0
Volo.Abp.AuditLogging.HttpApi 2.9.0 2.9.0
Volo.Abp.FeatureManagement.HttpApi 3.3.2 3.3.2
Volo.Abp.Identity.Pro.HttpApi 2.9.0 2.9.0
Volo.Abp.IdentityServer.HttpApi 2.9.0 2.9.0
Volo.Abp.LanguageManagement.HttpApi 2.9.0 2.9.0
Volo.Abp.LeptonTheme.Management.HttpApi 2.9.0 2.9.0
Volo.Abp.PermissionManagement.HttpApi 3.3.2 3.3.2
Volo.Abp.TextTemplateManagement.HttpApi 2.9.0 2.9.0
Volo.Saas.Host.HttpApi 2.9.0 2.9.0

Project 'Enform.EducatePlus.HttpApi.Client' has the following package references [netstandard2.0]: Top-level Package Requested Resolved

NETStandard.Library (A) [2.0.3, ) 2.0.3
Volo.Abp.Account.Pro.Admin.HttpApi.Client 2.9.0 2.9.0
Volo.Abp.AuditLogging.HttpApi.Client 2.9.0 2.9.0
Volo.Abp.FeatureManagement.HttpApi.Client 3.3.2 3.3.2
Volo.Abp.Identity.Pro.HttpApi.Client 2.9.0 2.9.0
Volo.Abp.IdentityServer.HttpApi.Client 2.9.0 2.9.0
Volo.Abp.LanguageManagement.HttpApi.Client 2.9.0 2.9.0
Volo.Abp.LeptonTheme.Management.HttpApi.Client 2.9.0 2.9.0
Volo.Abp.PermissionManagement.HttpApi.Client 3.3.2 3.3.2
Volo.Abp.TextTemplateManagement.HttpApi.Client 2.9.0 2.9.0
Volo.Saas.Host.HttpApi.Client 2.9.0 2.9.0


1 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    The versions of all Abp/Volo packages should be the same.

Made with ❤️ on ABP v9.1.0-preview. Updated on December 26, 2024, 06:07