ABP Framework version: v8.1.1
UI Type: MVC /
Database System: EF Core (SQL Server) /
Tiered (for MVC) or Auth Server Separated (for Angular): no
Host terminated unexpectedly! Volo.Abp.AbpInitializationException: An error occurred during the initialize Volo.Abp.Modularity.OnApplicationInitializationModuleLifecycleContributor phase of the module ManarahTech.NeuErp.Web.NeuErpWebModule, ManarahTech.NeuErp.Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null: The hub type HR.Web.SignalR.UiNotificationHub is already registered with route pattern /signalr-hubs/ui-notification. See the inner exception for details. ---> Volo.Abp.AbpException: The hub type HR.Web.SignalR.UiNotificationHub is already registered with route pattern /signalr-hubs/ui-notification at Volo.Abp.AspNetCore.SignalR.AbpAspNetCoreSignalRModule.<>c__DisplayClass2_0.<ConfigureServices>b__4(EndpointRouteBuilderContext endpointContext) at Microsoft.AspNetCore.Builder.AbpAspNetCoreApplicationBuilderExtensions.<>c__DisplayClass0_0.<UseConfiguredEndpoints>b__0(IEndpointRouteBuilder endpoints) at Microsoft.AspNetCore.Builder.EndpointRoutingApplicationBuilderExtensions.UseEndpoints(IApplicationBuilder builder, Action
1 configure) at Microsoft.AspNetCore.Builder.AbpAspNetCoreApplicationBuilderExtensions.UseConfiguredEndpoints(IApplicationBuilder app, Action
1 additionalConfigurationAction) at ManarahTech.NeuErp.Web.NeuErpWebModule.OnApplicationInitialization(ApplicationInitializationContext context) in C:\Mywork\NeuErp\src\ManarahTech.NeuErp.Web\NeuErpWebModule.cs:line 602 at Volo.Abp.Modularity.AbpModule.OnApplicationInitializationAsync(ApplicationInitializationContext context) at Volo.Abp.Modularity.OnApplicationInitializationModuleLifecycleContributor.InitializeAsync(ApplicationInitializationContext context, IAbpModule module) at Volo.Abp.Modularity.ModuleManager.InitializeModulesAsync(ApplicationInitializationContext context) --- End of inner exception stack trace --- at Volo.Abp.Modularity.ModuleManager.InitializeModulesAsync(ApplicationInitializationContext context) at Volo.Abp.AbpApplicationBase.InitializeModulesAsync() at Volo.Abp.AbpApplicationWithExternalServiceProvider.InitializeAsync(IServiceProvider serviceProvider) at Microsoft.AspNetCore.Builder.AbpApplicationBuilderExtensions.InitializeApplicationAsync(IApplicationBuilder app) at ManarahTech.NeuErp.Web.Program.Main(String[] args) in C:\Mywork\NeuErp\src\ManarahTech.NeuErp.Web\Program.cs:line 38:
Hello Support,
I have upgraded to version 8.1.1 and run migration, then run application gave me this error,
previos verion is 8.0.4 and the application is running
app.UseEndpoints(endpoints =>
{
endpoints.MapHub<UiNotificationHub>("/notification-hub");
});
app.UseConfiguredEndpoints();
Can you give me some solution Plz
5 Answer(s)
-
0
hi
The hub type HR.Web.SignalR.UiNotificationHub is already registered with route pattern /signalr-hubs/ui-notification
Can you share the code of
HR.Web.SignalR.UiNotificationHub
and its other related codes?Thanks.
-
0
-
1
hi
Please try to remove the
ITransientDependency
. -
0
hi
Please try to remove the
ITransientDependency
.Solved, Thanx a lot bro
-
0
You're welcome : )