Open Closed

After OpenIddict migration: The requested service 'Volo.Abp.IdentityServer.Tokens.TokenCleanupBackgroundWorker' with hangfire #3825


User avatar
0
a3x created
  • ABP Framework version: v6.0.0
  • UI type: MVC
  • DB provider: EF Core /
  • Tiered (MVC) or Identity Server Separated (Angular): no
  • Exception message and stack trace:

Autofac.Core.Registration.ComponentNotRegisteredException The requested service 'Volo.Abp.IdentityServer.Tokens.TokenCleanupBackgroundWorker' has not been registered. To avoid this exception, either register a component to provide the service, check for service registration using IsRegistered(), or use the ResolveOptional() method to resolve an optional dependency.

After upgrading to v6.0.0 and migrating to OpenIddict I receive following error. The cause seems to be clear: Since the service was removed it cannot be executed. However, what needs to be done in order to migrate the hangfire job?


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

    hi

    Did you remove all identity server modules and packages from your project?

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