Base solution for your next web application
Open Closed

Getting error while running migrator project #12417


User avatar
0
kansoftware created

Hello Team,

I am using IAbpPerRequestRedisCacheManager in my project. When running the Migrator project, I encounter the following error because UserFriendsCache is utilizing IAbpPerRequestRedisCacheManager.

Additionally, UserFriendsCache is dependent on ChatUserStateWatcher, which in turn is used in the CDPCoreModule class.

Error : Castle.MicroKernel.Handlers.HandlerException: 'Can't create component 'CDP.Friendships.Cache.UserFriendsCache' as it has dependencies to be satisfied.
'CDP.Friendships.Cache.UserFriendsCache' is waiting for the following dependencies:

  • Service 'Abp.Runtime.Caching.Redis.IAbpPerRequestRedisCacheManager' which was not registered.'

Find below the screenshots for reference :

image.png

image.png

Please assist with resolving this issue.


No answer yet!