Base solution for your next web application
Open Closed

Error after update to 5.4.1 when initializing ABP in Startup #5124


User avatar
0
Mitch created

I've tried to update from 5.3 to 5.4.1 of my Core jQuery project. I used the GitHub merge method and then manually merged about 20 files that needed human intervention.

I've eliminated all the errors but when I run the project I'm getting a Method not found error in Startup.cs when the ABP framework is initialized.

The error is

An error occurred while starting the application.
MissingMethodException: Method not found: 'Void Abp.Configuration.SettingDefinition..ctor(System.String, System.String, Abp.Localization.ILocalizableString, Abp.Configuration.SettingDefinitionGroup, Abp.Localization.ILocalizableString, Abp.Configuration.SettingScopes, Boolean, Boolean, System.Object)'.
Abp.Zero.Ldap.Configuration.LdapSettingProvider.GetSettingDefinitions(SettingDefinitionProviderContext context)
MissingMethodException: Method not found: 'Void Abp.Configuration.SettingDefinition..ctor(System.String, System.String, Abp.Localization.ILocalizableString, Abp.Configuration.SettingDefinitionGroup, Abp.Localization.ILocalizableString, Abp.Configuration.SettingScopes, Boolean, Boolean, System.Object)'.
Abp.Zero.Ldap.Configuration.LdapSettingProvider.GetSettingDefinitions(SettingDefinitionProviderContext context)
Abp.Configuration.SettingDefinitionManager.Initialize()
Abp.AbpKernelModule.PostInitialize()
Abp.Modules.AbpModuleManager+<>c.<StartModules>b__15_2(AbpModuleInfo module)
System.Collections.Generic.List.ForEach(Action<T> action)
Abp.Modules.AbpModuleManager.StartModules()
Abp.AbpBootstrapper.Initialize()
Abp.AspNetCore.AbpApplicationBuilderExtensions.InitializeAbp(IApplicationBuilder app)
Abp.AspNetCore.AbpApplicationBuilderExtensions.UseAbp(IApplicationBuilder app, Action<AbpApplicationBuilderOptions> optionsAction)
DpmsCloud.Web.Startup.Startup.Configure(IApplicationBuilder app, IHostingEnvironment env, ILoggerFactory loggerFactory) in Startup.cs
+
            app.UseAbp(options =>
System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
Microsoft.AspNetCore.Hosting.ConventionBasedStartup.Configure(IApplicationBuilder app)
Microsoft.AspNetCore.Server.IISIntegration.IISSetupFilter+<>c__DisplayClass3_0.<Configure>b__0(IApplicationBuilder app)
Microsoft.AspNetCore.Hosting.Internal.AutoRequestServicesStartupFilter+<>c__DisplayClass0_0.<Configure>b__0(IApplicationBuilder builder)
Microsoft.AspNetCore.Hosting.Internal.WebHost.BuildApplication()

I've attached a snapshot to show the exact error location.

Any ideas?


2 Answer(s)
  • User Avatar
    0
    alirizaadiyahsi created

    Hi @Mitch, Could you check if Abp.Zero.Ldap is up to date(3.6.1)?

  • User Avatar
    0
    Mitch created

    That fixed it!

    All of the ABP Nugets were 3.6.1 except for the ones in the .Core project which were 3.5.0. They're now been updated.

    Many thanks!