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>(); }
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, Action
1 optionsAction)
at Volo.Abp.AbpApplicationFactory.Create(Type startupModuleType, IServiceCollection services, Action1 optionsAction) at Volo.Abp.AbpApplicationFactory.Create[TStartupModule](IServiceCollection services, Action
1 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, Action
1 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
Please delete
Generating a new entity with suite 4.02 works OK. However the entry added to the menu in EducatePlusMenuContributor.cs fails to show on the menu itself. I have worked at rearranging the entries, changing the order numbers, Clean and rebuild the project, but fail to get a new menu to show.
I suspect if (await context.IsGrantedAsync(EducatePlusPermissions.TestForMenus.Default)) if not returning true, what can I add to the else statement to get an error message. All entities are the same multitenanted.
Example menu items
if (await authorizationService.IsGrantedAsync(EducatePlusPermissions.Dashboard.Tenant))
{
//TenantDashboard
context.Menu.AddItem(
new ApplicationMenuItem(
EducatePlusMenus.TenantDashboard,
l["Menu:Dashboard"],
"/Dashboard",
icon: "fa fa-line-chart",
order: 4
)
);
}
if (await context.IsGrantedAsync(EducatePlusPermissions.Ethnicities.Default))
{
context.Menu.AddItem(
new ApplicationMenuItem(
"EducatePlus.Ethnicities",
l["Menu:Ethnicities"],
url: "/Ethnicities",
icon: "fa fa-file-alt",
order: 12)
);
}
this one won't show,
if (await context.IsGrantedAsync(EducatePlusPermissions.TestForMenus.Default))
{
context.Menu.AddItem(
new ApplicationMenuItem(
"EducatePlus.TestForMenus",
l["Menu:TestForMenus"],
url: "/TestForMenus",
icon: "fa fa-file-alt",
order: 13)
);
}
Actual output
Hi Alper :-) Sorry for the delay been on holiday :-)
Just updated to 4.1, getting the following error, but regardless it still shows the same issues using MVC
[12:34:33 INF] ABP CLI (https://abp.io) [12:34:34 INF] Version 4.1.0 (Stable) Starting Suite v4.1.0 ... [12:34:44 ERR] ABP-LIC-0016 - You are not granted permission to use the module 'Volo.Abp.Suite-v4.1.0.0'.
Success!! Thanks for that, I don't know what caused the errors but they have finally resolved themselves. I have my dropdowns working.
Solved it!! It was different version numbers between suite and Dependancies. All set to 4.1.1 and it works.