Open Closed

ICustomTenantRepository has not been registered #3163


User avatar
0
Talal created

I started with MVC-Tiered Solution

Worked then followed: https://blog.antosubash.com/posts/abp-extend-tenant-with-custom-host

I am getting:

The requested service 'TestProj.TenantManagement.ICustomTenantRepository' 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..

I can not find a solution anywhere

Please help.


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

    Hi,

    Can you share a project? shiwei.liang@volosoft.com

  • User Avatar
    0
    Talal created

    i shared the solution with you (GDrive)

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    You are using the wrong module.

    We created a saas module for commercial, It is a premium version of the tenant module.

    1. Remove all Volo.Abp.TenantManagement.* packages.
    2. Replace TenantManagementDbContext with SaasDbContext
    3. Replace ConfigureTenantManagement with ConfigureSaas
    4. Update namespace using.
Made with ❤️ on ABP v9.1.0-preview. Updated on December 05, 2024, 12:19