Open utterances-bot opened 1 year ago
Hi, when i try to query in the saas module multitenancy by-id or by-name, the following error gets thrown. I couldn't figure out, why it happens. Can you maybe help me there?
[17:26:24 ERR] An exception was thrown while activating Pages.Abp.MultiTenancy.AbpTenantController.
Autofac.Core.DependencyResolutionException: An exception was thrown while activating Pages.Abp.MultiTenancy.AbpTenantController.
---> Autofac.Core.DependencyResolutionException: None of the constructors found with 'Autofac.Core.Activators.Reflection.DefaultConstructorFinder' on type 'Pages.Abp.MultiTenancy.AbpTenantController' can be invoked with the available services and parameters:
Cannot resolve parameter 'Volo.Abp.AspNetCore.Mvc.MultiTenancy.IAbpTenantAppService abpTenantAppService' of constructor 'Void .ctor(Volo.Abp.AspNetCore.Mvc.MultiTenancy.IAbpTenantAppService)'.
at Autofac.Core.Activators.Reflection.ReflectionActivator.GetAllBindings(ConstructorBinder[] availableConstructors, IComponentContext context, IEnumerable1 parameters) at Autofac.Core.Activators.Reflection.ReflectionActivator.ActivateInstance(IComponentContext context, IEnumerable
1 parameters)
at Autofac.Core.Activators.Reflection.ReflectionActivator.1 next) at Autofac.Core.Resolving.Middleware.DisposalTrackingMiddleware.Execute(ResolveRequestContext context, Action
1 next) at Autofac.Core.Resolving.Middleware.ActivatorErrorHandlingMiddleware.Execute(ResolveRequestContext context, Action`1 next)
--- End of inner exception stack trace ---
........
@JulianForster01 make sure you have Volo.Abp.AspNetCore.Mvc.MultiTenancy
package installed as a dependency.
Hi, thanks for the quick response. Its working now. But you have to add the following route to the reverse proxy config in order to work:
"saas2": {
"ClusterId": "saas",
"Match": {
"Path": "/api/abp/multi-tenancy/{*any}"
}
I am having the same issue and I have an mvc web app not angular. I added Volo.Abp.AspNetCore.Mvc.MultiTenancy package but does not work I also added Volo.Abp.MultiTenancy package but still the same. Any help will be appreciated
Hello, Great Video ! I cant get the permissions from the Saas service to show in when using the Swagger get application-configuration. The Migrations works and it starts but the tenantmanagement permissions doesnt show.
How is this mechanism working ?
hey @MikaelStr were you able to solve your issue, I have the same, but can't figure out how to fix it
SaaS Services - .NET Microservice with ABP - Part 5
In this post we will see how to do the create SaaS Service for our microservice application
https://blog.antosubash.com/posts/netcore-microservice-with-abp-saas-services-part-5