Open Closed

Volo.Abp.AbpInitializationException 7.2.0-rc.1 #4886


User avatar
0
joerguth created
  • ABP Framework version: v7.2.0-rc.1
  • UI type: Blazor
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
    • Exception message and stack trace:
  • 2023-04-14 08:08:43.493 +02:00 [FTL] Host terminated unexpectedly! Volo.Abp.AbpInitializationException: An error occurred during PreConfigureServicesAsync phase of the module Volo.Abp.AspNetCore.Mvc.UI.Widgets.AbpAspNetCoreMvcUiWidgetsModule, Volo.Abp.AspNetCore.Mvc.UI.Widgets, Version=7.1.0.0, Culture=neutral, PublicKeyToken=null. See the inner exception for details.

---> System.MissingMethodException: Method not found: 'Void Microsoft.Extensions.DependencyInjection.ServiceCollectionRegistrationActionExtensions.OnRegistred(Microsoft.Extensions.DependencyInjection.IServiceCollection, System.Action1<Volo.Abp.DependencyInjection.IOnServiceRegistredContext>)'. at Volo.Abp.AspNetCore.Mvc.UI.Widgets.AbpAspNetCoreMvcUiWidgetsModule.AutoAddWidgets(IServiceCollection services) at Volo.Abp.AspNetCore.Mvc.UI.Widgets.AbpAspNetCoreMvcUiWidgetsModule.PreConfigureServices(ServiceConfigurationContext context) at Volo.Abp.Modularity.AbpModule.PreConfigureServicesAsync(ServiceConfigurationContext context) at Volo.Abp.AbpApplicationBase.ConfigureServicesAsync() --- End of inner exception stack trace --- at Volo.Abp.AbpApplicationBase.ConfigureServicesAsync() at Volo.Abp.AbpApplicationFactory.CreateAsync[TStartupModule](IServiceCollection services, Action1 optionsAction) at Microsoft.Extensions.DependencyInjection.ServiceCollectionApplicationExtensions.AddApplicationAsync[TStartupModule](IServiceCollection services, Action1 optionsAction) at Microsoft.Extensions.DependencyInjection.WebApplicationBuilderExtensions.AddApplicationAsync[TStartupModule](WebApplicationBuilder builder, Action1 optionsAction) at xxx.Blazor.Program.Main(String[] args) in Program.cs:line 36

  • Steps to reproduce the issue:" Good morning,

I have created a new Blazor Server tiered project with abp suite version 7.2.0-rc.1.

After running DbMigrator I started the applications Api.Host, AuthServer and Blazor.

The Blazor application throws an exeption.

I think that in the package Volo.Abp.AspNetCore.Mvc.UI.Theme.LeptonX => Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared the reference to Volo.Abp.AspNetCore.Mvc.UI.Widgets (v7.1.0) cause it.


4 Answer(s)
  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    We will release version 2.2.0-rc.1 of the LeptonX theme.

  • User Avatar
    0
    joerguth created

    Thanks i will wait until it is available and check it out

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    ok

  • User Avatar
    0
    joerguth created

    Version="2.2.- works thanks

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